User Tools

Site Tools


distros:fedora_workstation_gnome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
distros:fedora_workstation_gnome [2019/10/29 06:43] – [System] Sean Rhonedistros:fedora_workstation_gnome [2020/04/28 04:59] Sean Rhone
Line 2: Line 2:
  
   * Fedora Workstation ((https://getfedora.org/en/workstation))   * Fedora Workstation ((https://getfedora.org/en/workstation))
-  * 31+  * 32
  
 ====== Issues ====== ====== Issues ======
  
-  * KeePassXC loads databases slower specifically on Fedora vs other distros +  * KeePassXC loads databases slower specifically on Fedora vs other distros ((https://bugzilla.redhat.com/show_bug.cgi?id=1653435))
-  * ''dnf autoremove'' has been broken for weeks on fresh Fedora 30 and 31 installs+
  
 ====== TODO ====== ====== TODO ======
  
-  * https://blog.tingping.se/2018/12/01/amdgpu-fullrgb.html+  * https://github.com/intel/gvt-linux/issues/107
  
 ====== Download ====== ====== Download ======
Line 33: Line 32:
   * Using ''Unified hosts + fakenews + gambling''   * Using ''Unified hosts + fakenews + gambling''
  
-  sudo wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sync+  wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sudo cp '/etc/hosts' '/etc/hosts-bak' && sudo mv '/tmp/hosts-tmp' '/etc/hosts' && sync
  
   cat '/etc/hosts' | grep 'Date:'   cat '/etc/hosts' | grep 'Date:'
Line 42: Line 41:
  
   * This adds RoE sites to HOSTS file and allows resources to be grabbed over LAN   * This adds RoE sites to HOSTS file and allows resources to be grabbed over LAN
-  * Useful for doing large configurations with sites on local LAN+  * Useful for doing significant configurations with sites on LAN
  
   echo -e '\n# RoE LAN\n192.168.1.153 realmofespionage.xyz\n192.168.1.153 social.realmofespionage.xyz\n192.168.1.153 blog.realmofespionage.xyz\n192.168.1.153 media.realmofespionage.xyz\n192.168.1.153 wiki.realmofespionage.xyz' | sudo tee --append '/etc/hosts' > '/dev/null' && cat '/etc/hosts' | grep 'realmofespionage.xyz'   echo -e '\n# RoE LAN\n192.168.1.153 realmofespionage.xyz\n192.168.1.153 social.realmofespionage.xyz\n192.168.1.153 blog.realmofespionage.xyz\n192.168.1.153 media.realmofespionage.xyz\n192.168.1.153 wiki.realmofespionage.xyz' | sudo tee --append '/etc/hosts' > '/dev/null' && cat '/etc/hosts' | grep 'realmofespionage.xyz'
Line 82: Line 81:
  
   sudo dnf config-manager --add-repo='http://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedora-rawhide-kernel-nodebug.repo'   sudo dnf config-manager --add-repo='http://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedora-rawhide-kernel-nodebug.repo'
 +
 +===== gloriouseggroll/kernel Copr =====
 +
 +  * https://copr.fedorainfracloud.org/coprs/gloriouseggroll/kernel
 +
 +  sudo -e '/etc/yum.repos.d/ge-fsync-kernel.repo'
 +
 +<code>
 +[kernel-fsync]
 +name=Copr repo for kernel owned by gloriouseggroll
 +baseurl=https://copr-be.cloud.fedoraproject.org/results/gloriouseggroll/kernel/fedora-$releasever-$basearch/
 +type=rpm-md
 +skip_if_unavailable=True
 +gpgcheck=1
 +gpgkey=https://copr-be.cloud.fedoraproject.org/results/gloriouseggroll/kernel/pubkey.gpg
 +repo_gpgcheck=0
 +enabled=1
 +enabled_metadata=1
 +priority=1</code>
  
 ====== Software ====== ====== Software ======
Line 100: Line 118:
   * :!: This will vary depending on the Fedora image version used   * :!: This will vary depending on the Fedora image version used
  
-  sudo dnf remove *5.0.9*+  sudo dnf list --installed 'kernel'*
  
-=== Various === +  sudo dnf remove *5.3.7* && sync
- +
-  * Collection of various update and maintenance commands +
- +
-  sudo dnf clean 'all' +
- +
-  sudo dnf distro-sync +
- +
-  sudo dnf update +
- +
-  sudo fwupdmgr refresh && fwupdmgr update --verbose +
- +
-  sudo flatpak update +
- +
-  sudo rm -Rfv '/usr/lib64/firefox/browser/features' '/home/'*'/.mozilla/firefox/'*'/features' +
- +
-  sudo wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' +
- +
-  sudo fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''"+
  
 ==== Firmware ==== ==== Firmware ====
Line 126: Line 126:
 **** ****
  
-  sudo fwupdmgr refresh && sudo fwupdmgr update --verbose+  sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose
  
 ==== Flatpaks ==== ==== Flatpaks ====
Line 153: Line 153:
   * ''p7zip-plugins'' provides ''7z'' which can be used for extracting ISOs and other formats   * ''p7zip-plugins'' provides ''7z'' which can be used for extracting ISOs and other formats
  
-  sudo dnf install filezilla keepassxc p7zip p7zip-plugins unar aria2 gimp transmission-gtk hdparm nano htop wget irqbalance evolution flashrom+  sudo dnf install filezilla keepassxc p7zip p7zip-plugins unar aria2 gimp transmission-gtk hdparm nano htop wget irqbalance evolution flashrom lm_sensors 
  
 ===== RPM Fusion ===== ===== RPM Fusion =====
Line 164: Line 164:
  
 ==== nonfree ==== ==== nonfree ====
- 
-  * :!: Spinesnap needs ''broadcom-wl'', and for ''akmods --force'' to be ran after installation 
  
   steam   steam
  
-  broadcom-wl+  akmod-nvidia
  
 ===== Game Controllers ===== ===== Game Controllers =====
  
-  * Necessary for Xbox 360 controllers, and maybe others+  * Necessary for Xbox 360 controllers 
 +  * Not necessary for a Steam Controller
  
   kernel-modules-extra   kernel-modules-extra
Line 180: Line 179:
  
   * ''libva-intel-driver'' requires the [[#free1|RPM Fusion free repo]]   * ''libva-intel-driver'' requires the [[#free1|RPM Fusion free repo]]
- +  * :!: ''intel-media-driver'' requires the [[#nonfree|RPM Fusion nonfree repo]] 
-  gstreamer1-vaapi+  * ''intel-media-driver'' is the newer VA-API solution for Intel HD graphics 
 +  * ''libva-utils'' provides ''vainfo''
  
   libva-intel-driver   libva-intel-driver
 +
 +  intel-media-driver
 +
 +  libva-utils
 +
 +===== VDPAU =====
 +
 +  libva-vdpau-driver 
 +
 +  vdpauinfo
 +
 +  vdpauinfo | grep 'Information'
  
 ===== ckb-next ===== ===== ckb-next =====
Line 223: Line 235:
   bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"   bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"
  
-  gnome-terminal --command "sudo sh -c 'dnf clean 'all' && dnf distro-sync -y && sync && fwupdmgr refresh && fwupdmgr update --verbose && flatpak update && rm -Rfv '/usr/lib64/firefox/browser/features' '/home/'*'/.mozilla/firefox/'*'/features' && wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''"+  gnome-terminal --command "sudo sh -c 'dnf clean 'all' && dnf distro-sync -y && sync && flatpak update && rm -Rfv '/usr/lib64/firefox/browser/features' '/home/'*'/.mozilla/firefox/'*'/features' && wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''"
  
 ==== Keys ==== ==== Keys ====
Line 253: Line 265:
 ==== DNS ==== ==== DNS ====
  
-=== Pi-hole ===+=== Cloudflare ===
  
-  * See [[http://192.168.1.155/admin/settings.php|System Settings]] page on LAN+  * https://1.1.1.1/dns/ 
 + 
 +  1.1.1.1,1.0.0.1 
 + 
 +  2606:4700:4700::1111,2606:4700:4700::1001
  
 === UncensoredDNS === === UncensoredDNS ===
Line 291: Line 307:
   * 10-notch Transparency   * 10-notch Transparency
  
-===== Transmission =====+===== Environment Variables =====
  
-  * Blocklist+==== iHD VA-API ====
  
-  http://john.bitsurge.net/public/biglist.p2p.gz+  * [[https://github.com/intel/media-driver|GitHub]] 
 +  * Requires ''intel-media-driver'' 
 +  * :!: Requires HuC firmware loaded for "AVC/HEVC/VP9 low power encoding bitrate control, including CBR, VBR, etc", which requires ''i915.enable_guc=2'' and PAVP enabled in firmware settings
  
-===== GRUB =====+  echo 'export LIBVA_DRIVER_NAME=iHD' | sudo tee '/etc/profile.d/iHD-vappi.sh' > '/dev/null' && cat '/etc/profile.d/iHD-vappi.sh'
  
-==== grubby ====+  sudo -e '/etc/profile.d/iHD-vappi.sh'
  
-  * Add commands within ''args'' +=== Verify ===
-  * :!: As of 2019/09/23, ''grubby'' doesn't exist on Fedora 31 beta by-default+
  
-  sudo grubby --update-kernel='ALL' --args=''+  * Default: ''Intel i965 driver for Intel(R) Coffee Lake 2.4.0'' 
 +  * iHD: ''Intel iHD driver 1.0.0''
  
-=== Error Fix ===+  vainfo | grep 'Driver'
  
-  * https://bugzilla.redhat.com/show_bug.cgi?id=1688643#c16 +  LIBVA_DRIVER_NAME='iHD' vainfo | grep 'Driver'
-  * :!: This only applies to Legacy/MBR installs+
  
-  sudo grub2-install '/dev/sda'+===== Kernel Options =====
  
-==== GRUB ====+==== Magic SysRq key ====
  
-****+  https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
  
-  sudo -'/etc/default/grub'+  echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' > '/dev/null' && cat '/etc/sysctl.d/99-sysrq.conf'
  
-=== UEFI ===+==== Swap ====
  
-****+  https://www.kernel.org/doc/html/latest/admin-guide/sysctl/vm.htm
  
-  sudo grub2-mkconfig -o '/boot/efi/EFI/fedora/grub.cfg'+  echo -e 'vm.swappiness = 1\nvm.vfs_cache_pressure = 50' | sudo tee '/etc/sysctl.d/99-swap.conf''/dev/null' && cat '/etc/sysctl.d/99-swap.conf'
  
-=== Legacy ===+=== Verify ===
  
-****+  ''swappiness'' should be ''1'' 
 +  ''vfs_cache_pressure'' should be ''50''
  
-  sudo grub2-mkconfig -o '/boot/grub2/grub.cfg'+  sysctl 'vm.swappiness' 'vm.vfs_cache_pressure'
  
-==== Other Parameters ====+===== GRUB =====
  
-  * See [[notes:kernel_parameters|Kernel Parameters]] for other options+==== Config ====
  
-==== AIO ====+=== UEFI ===
  
-=== Spinesnap ===+****
  
-  * Last updated: 2019/10/22+  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/efi/EFI/fedora/grub.cfg'
  
-  i915.enable_fbc=1 i915.fastboot=1 pci=nocrs,pcie_bus_perf+=== Legacy ===
  
-==== i915 ====+****
  
-  i915.enable_fbc=1 i915.fastboot=1+  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg'
  
-  i915.enable_psr=1+=== grubby ===
  
-==== amdgpu ====+  * Add commands within ''args'' 
 +  * :!: For whatever reason, ''grubby'' sometimes exists on F31, where other times it doesn't
  
-  * Allows use of Overdrive options for overclocking+  sudo grubby --update-kernel='ALL' --args=''
  
-  amdgpu.ppfeaturemask=0xffffffff+==== Kernel Parameters ====
  
-=== Test ===+=== Other Parameters ===
  
-****+  See [[notes:kernel_parameters|Kernel Parameters]] for other options
  
-  amdgpu.mes=1 amdgpu.mcbp=1+=== Spinesnap ===
  
-=== Verify ===+  * Last updated: 2020/04/15
  
-****+  i915.enable_fbc=1 i915.fastboot=1 usbcore.quirks=1b1c:1b3c:gn
  
-  cat '/sys/module/amdgpu/parameters/ppfeaturemask' | grep '4294967295'+===== GNOME =====
  
-==== PCI ====+==== Extensions ====
  
-****+=== Top Panel Workspace Scroll ===
  
-  pci=nocrs,pcie_bus_perf+  * https://github.com/timbertson/gnome-shell-scroll-workspaces
  
-==== IOMMU ====+  rm -Rf ~/'.local/share/gnome-shell/extensions/scroll-workspaces@gfxmonk.net' '/tmp/gnome-shell-scroll-workspaces-master.zip' '/tmp/gnome-shell-scroll-workspaces-master' && wget -O '/tmp/gnome-shell-scroll-workspaces-master.zip' 'https://github.com/timbertson/gnome-shell-scroll-workspaces/archive/master.zip' && unzip '/tmp/gnome-shell-scroll-workspaces-master.zip'  -d '/tmp' && mkdir -p ~/'.local/share/gnome-shell/extensions' && mv '/tmp/gnome-shell-scroll-workspaces-master/scroll-workspaces' ~/'.local/share/gnome-shell/extensions/scroll-workspaces@gfxmonk.net' && gnome-extensions enable 'scroll-workspaces@gfxmonk.net' && sync
  
-  * On F31 beta, this had some DMAR issues+== Uninstall ==
  
-  intel_iommu=on+****
  
-===== GNOME =====+  gnome-extensions disable 'scroll-workspaces@gfxmonk.net' && rm -Rf ~/'.local/share/gnome-shell/extensions/scroll-workspaces@gfxmonk.net' && sync
  
 ==== Disable Wayland ==== ==== Disable Wayland ====
Line 399: Line 418:
 === All-in-one === === All-in-one ===
  
-  * Last updated: 2019/10/24+  * Last updated: 2019/12/23
  
   gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'natural-scroll' 'false' && gsettings set 'org.gnome.desktop.peripherals.mouse' 'accel-profile' 'flat' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-to-click' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-and-drag' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'disable-while-typing' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'click-method' 'areas' && gsettings set 'org.gnome.desktop.interface' 'clock-show-date' 'true' && gsettings set 'org.gnome.software' 'download-updates' 'false' && gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true'   gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'natural-scroll' 'false' && gsettings set 'org.gnome.desktop.peripherals.mouse' 'accel-profile' 'flat' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-to-click' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-and-drag' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'disable-while-typing' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'click-method' 'areas' && gsettings set 'org.gnome.desktop.interface' 'clock-show-date' 'true' && gsettings set 'org.gnome.software' 'download-updates' 'false' && gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true'
Line 405: Line 424:
 === Individual === === Individual ===
  
-  * Last updated: 2019/10/24+  * Last updated: 2019/12/23
  
   gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false'   gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false'
Line 440: Line 459:
  
   * General -> [ ] Load previous databases on startup   * General -> [ ] Load previous databases on startup
 +  * Security -> [x] Use DuckDuckGo service to download website icons
  
 ==== Add Database Password to GNOME Keyring ==== ==== Add Database Password to GNOME Keyring ====
Line 446: Line 466:
  
   secret-tool store --label='KeePass' 'keepass' 'default'   secret-tool store --label='KeePass' 'keepass' 'default'
 +
 +===== lm_sensors =====
 +
 +****
 +
 +  sudo sensors-detect --auto
  
 ===== mpv ===== ===== mpv =====
  
-  * https://wiki.archlinux.org/index.php/mpv#High_quality_configurations+  * Change ''hwdec'' to ''nvdec'' if using NVIDIA GPU primarily 
 +  * :!: TODO: Why is ''vaapi-copy'' being used here?
  
-  mkdir -p ~/'.config/mpv' && echo -e "profile=gpu-hq\nscale=ewa_lanczossharp\ncscale=ewa_lanczossharp\nvideo-sync=display-resample\ninterpolation\ntscale=oversample" | tee ~/'.config/mpv/mpv.conf' > '/dev/null' && cat ~/'.config/mpv/mpv.conf'+  mkdir -p ~/'.config/mpv' && echo -e "vo=gpu\nprofile=gpu-hq\nhwdec=vaapi-copy" | tee ~/'.config/mpv/mpv.conf' > '/dev/null' && cat ~/'.config/mpv/mpv.conf'
  
 ===== NetworkManager ===== ===== NetworkManager =====
Line 465: Line 492:
  
 [connection-mac-randomization] [connection-mac-randomization]
-ethernet.cloned-mac-address=random 
 wifi.cloned-mac-address=random wifi.cloned-mac-address=random
  
 [connection] [connection]
 wifi.powersave=2</code> wifi.powersave=2</code>
- 
-==== Spinesnap ==== 
- 
-  * https://fedoraproject.org/wiki/Common_F30_bugs#broadcom-wl-mesh 
-  * https://bugzilla.redhat.com/show_bug.cgi?id=1703745#c56 
-  * Requires ''broadcom-wl'' to be installed 
- 
-  sudo -e '/etc/NetworkManager/conf.d/99-custom.conf' 
  
 <code> <code>
-[device+[connection-mac-randomization
-match-device=driver:wl +ethernet.cloned-mac-address=random</code>
-wifi.scan-rand-mac-address=no +
- +
-[connection] +
-wifi.powersave=2</code>+
  
 ===== Laptop Power Management ===== ===== Laptop Power Management =====
Line 494: Line 508:
  
   * See [[Clients:Secure Shell|Secure Shell]]   * See [[Clients:Secure Shell|Secure Shell]]
- 
-===== Solo Key ===== 
- 
-==== Information ==== 
- 
-  * https://solokeys.com/ 
-  * Usable as authentication for GDM and ''sudo'' 
- 
-==== PAM ==== 
- 
-=== Dependencies === 
- 
-**** 
- 
-  sudo dnf install pamu2fcfg pam-u2f 
- 
-=== Centralized Key === 
- 
-**** 
- 
-  pamu2fcfg > ~/'u2f_keys' && sudo mv ~/'u2f_keys' '/etc/u2f_mappings' 
- 
-=== GDM === 
- 
-  * Add to line 2, under the ''pam_selinux_permit.so'' entry 
- 
-  sudo -e '/etc/pam.d/gdm-password' 
- 
-  auth sufficient pam_u2f.so authfile=/etc/u2f_mappings cue 
- 
-=== sudo === 
- 
-  * Add to line 2, under the ''#%PAM-1.0'' line 
- 
-  sudo -e '/etc/pam.d/sudo' 
- 
-  auth sufficient pam_u2f.so authfile=/etc/u2f_mappings cue 
  
 ===== TRIM ===== ===== TRIM =====
Line 553: Line 530:
   * See [[notes:wine|Wine]]   * See [[notes:wine|Wine]]
  
-====== Computer-specific ======+====== Xorg ======
  
-===== Nightwane =====+  * See [[notes:xorg.conf_snippets|xorg.conf Snippets]] for more configurations
  
-==== Volume ====+===== Spinesnap =====
  
-  * TODO: Change where this is; no longer have this computer+==== NVIDIA ====
  
-  alsamixer+=== Environment Variables ===
  
-==== Fan Control ====+  * Sets pre-rendered frames from the default to 1 
 +  * Apparently reduces CPU usage for desktop environments rendered with the NVIDIA GPU
  
-  * TODO: Change where this is; it's not specific to this computer nor fan control+  echo 'export __GL_MaxFramesAllowed=1' | sudo tee '/etc/profile.d/nvidia-custom.sh' > '/dev/null' && cat '/etc/profile.d/nvidia-custom.sh'
  
-  sudo dnf install 'lm_sensors-y && sudo sensors-detect --auto+  sudo -e '/etc/profile.d/nvidia-custom.sh'
  
-==== Custom Resolution ====+=== Disable PRIME Render Offload ===
  
-=== Generate Modeline ===+  * [[http://download.nvidia.com/XFree86/Linux-x86_64/440.64/README/randr14.html|Offloading Graphics Display with RandR 1.4]] 
 +  * :!: Required if planning to use external displays 
 +  * :!: ''Coolbits'' is not required here, but may be useful
  
-  * 4k@60Hz CVT-RB +  sudo cp -'/usr/share/X11/xorg.conf.d/nvidia.conf' '/etc/X11/xorg.conf.d/nvidia.conf&& sudo -e '/etc/X11/xorg.conf.d/nvidia.conf'
-  * Fixes unstable HDMI at 4K@60Hz, and overly-bright colors on DisplayPort +
-  * :!: The ''grep'' here confirms the expected Modeline ((if grep reports nothing, use whatever is reported instead)) +
-  * :!: This cannot be used on Wayland currently +
-  * :!: This expects ''amdgpu'' DDX driver to be used ((''modesetting'' has a 4K RB resolution without any settings on Xorg)) +
- +
-  cvt --verbose --reduced '3840' '2160' '60' | grep 'Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync' +
- +
-=== xorg.conf Snippet === +
- +
-  * :!: ''HDMI-A-0'' is used for the ''Identifier'' with the HDMI port on ''amdgpu'' +
- +
-  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+
  
 <code> <code>
-Section "Monitor" +        Option "PrimaryGPU" "yes
-    Identifier      "HDMI-A-0+        Option "Coolbits" "28"</code>
-    Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync +
-    Option          "PreferredMode" "3840x2160R" +
-EndSection</code>+
  
-===== Spinesnap =====+===== Nightwane =====
  
-  * :!: Using an AMD eGPU with a display attached doesn't seem to work reliably if the ''intel'' driver is being used ((for a very specific scenario, the Intel iGPU has to be active, manually set to use the ''intel'' Xorg DDX driver, an AMD GPU plugged into a Thunderbolt eGPU using the ''amdgpu'' Xorg DDX driver, with a 4K display plugged into it via HDMI)) +  * :!: The ''Modeline'' expects an Acer S271HL monitor to be used over DVI
-  * TODO: If ''intel'' offers no obvious benefit, remove the ''OutputClass'' section for it and let it default to ''modesetting''+
  
-  sudo dnf install xorg-x11-drv-intel xorg-x11-drv-amdgpu -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  sudo dnf install 'xorg-x11-drv-ati' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
 Section "Monitor" Section "Monitor"
-    Identifier      "HDMI-A-0+    Identifier  "DVI-1
-    Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync +    Modeline "1920x1080_75"  164.61  1920 1944 1976 2008  1080 1083 1088 1093 +hsync +vsync 
-    Option          "PreferredMode" "3840x2160R"+    Option      "PreferredMode" "1920x1080_75"
 EndSection EndSection
  
-Section "OutputClass" 
-    Identifier  "Intel Graphics" 
-    MatchDriver "i915" 
-    Driver      "intel" 
-    Option      "DRI"       "3" 
-    Option      "TearFree"  "0" 
-EndSection 
- 
-Section "OutputClass" 
-    Identifier  "AMD Graphics" 
-    MatchDriver "amdgpu" 
-    Driver      "amdgpu" 
-    Option      "DRI"       "3" 
-    Option      "TearFree"  "0" 
-EndSection</code> 
- 
-===== Deep Color ===== 
- 
-  * The lack-of quotes around ''30'' is intentional and required syntax 
-  * :!: This may cause minor issues with programs not expecting 30-bit color ((GpuTest's fur ring doesn't render right, RS's NXT client's splash screen is gray)) 
-  * :!: This can cause games in Wine to not start under some circumstances ((FFXIV crashes on start-up due to a DirectX error)) 
-  * There is no known benefit to enabling this as of 2019/10/22 
- 
-  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
-Section "Screen" 
-    Identifier      "Deep Color Screen" 
-    DefaultDepth    30 
-EndSection</code> 
- 
-===== Graphics xorg.conf ===== 
- 
-==== intel ==== 
- 
-  sudo dnf install 'xorg-x11-drv-intel' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
-Section "OutputClass" 
-    Identifier  "Intel Graphics" 
-    MatchDriver "i915" 
-    Driver      "intel" 
-    Option      "DRI"       "3" 
-    Option      "TearFree"  "0" 
-EndSection</code> 
- 
-==== amdgpu ==== 
- 
-  * :!: ''ShadowPrimary'' set to ''on'' caused GNOME not to log-in 
- 
-  sudo dnf install 'xorg-x11-drv-amdgpu' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
-Section "OutputClass" 
-    Identifier  "AMD Graphics" 
-    MatchDriver "amdgpu" 
-    Driver      "amdgpu" 
-    Option      "DRI"       "3" 
-    Option      "TearFree"  "0" 
-EndSection</code> 
- 
-==== radeon ==== 
- 
-  * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series)) 
-  * For SI, CIK, and newer GPUs, use ''amdgpu'', along with enabling ''si_support'' and ''cik_support'' respectively for the ''amdgpu'' kernel module ((see ''modinfo -p amdgpu'')) 
-  * :!: This was changed to a new syntax and untested as of 2019/08/23 
- 
-  sudo dnf install 'xorg-x11-drv-ati' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
 Section "OutputClass" Section "OutputClass"
     Identifier  "AMD Graphics"     Identifier  "AMD Graphics"
Line 717: Line 611:
 ==== user.js ==== ==== user.js ====
  
-  * Last updated: 2019/10/22+  * Last updated: 2020/04/15
  
   rm -fv '/tmp/user.js' && nano '/tmp/user.js'   rm -fv '/tmp/user.js' && nano '/tmp/user.js'
  
 <code> <code>
 +/*********************
 + * Hardware-specific *
 + *********************/
 +
 +user_pref("layout.frame_rate", 144);
 +
 /*********** /***********
  * General *  * General *
Line 732: Line 632:
 user_pref("media.mediasource.ignore_codecs", true); user_pref("media.mediasource.ignore_codecs", true);
 user_pref("media.autoplay.enabled", false); user_pref("media.autoplay.enabled", false);
 +user_pref("media.av1.enabled", false);
 +user_pref("media.hardware-video-decoding.force-enabled", true);
 +user_pref("widget.wayland-dmabuf-vaapi.enabled", true);
  
 user_pref("webgl.disabled", true); user_pref("webgl.disabled", true);
Line 751: Line 654:
 user_pref("security.ssl3.rsa_des_ede3_sha", false); user_pref("security.ssl3.rsa_des_ede3_sha", false);
 user_pref("security.ssl.enable_false_start", false); user_pref("security.ssl.enable_false_start", false);
 +
 +user_pref("geo.enabled", false);
 +user_pref("network.http.sendRefererHeader", false);
 +user_pref("privacy.donottrackheader.enabled", true);
 +
 +user_pref("browser.safebrowsing.malware.enabled", false);
 +user_pref("browser.safebrowsing.phishing.enabled", false);
 +user_pref("browser.safebrowsing.downloads.enabled", false);
 +
 +user_pref("network.security.esni.enabled", true);
 +
 +user_pref("privacy.resistFingerprinting", true);
 +user_pref("privacy.trackingprotection.enabled", true);
 +user_pref("toolkit.telemetry.enabled", false);
  
 /******* /*******
Line 757: Line 674:
  
 user_pref("security.webauth.u2f", true); user_pref("security.webauth.u2f", true);
 +
 +/**********
 + * Tweaks *
 + **********/
 +
 +user_pref("browser.cache.disk.enable", false);
 +user_pref("browser.cache.memory.enable", true);
 +user_pref("browser.cache.memory.enable", true);
  
 /******* /*******
Line 803: Line 728:
   * [x] Clean Cookies from Open Tabs on Startup   * [x] Clean Cookies from Open Tabs on Startup
   * [x] Localstorage Cleanup (Firefox 58+)   * [x] Localstorage Cleanup (Firefox 58+)
 +
 +==== HTTPS Everywhere ====
 +
 +  * Encrypt All Sites Eligible -> On
  
 ==== uBlock Origin ==== ==== uBlock Origin ====
Line 816: Line 745:
  
   * Multipurpose -> [x] Dan Pollock's hosts file   * Multipurpose -> [x] Dan Pollock's hosts file
-  * Multipurpose -> [x] hpHost's Ad and tracking servers 
   * Multipurpose -> [x] MVPS HOSTS   * Multipurpose -> [x] MVPS HOSTS
  
Line 842: Line 770:
   * https://browserleaks.com/   * https://browserleaks.com/
   * https://speedof.me/   * https://speedof.me/
 +  * https://www.cloudflare.com/ssl/encrypted-sni/
 +  * https://1.1.1.1/help
  
 ====== Notable Folders and Commands ====== ====== Notable Folders and Commands ======
Line 1012: Line 942:
  
   /fullscreen /benchmark /benchmark_duration_ms='15000'   /fullscreen /benchmark /benchmark_duration_ms='15000'
 +
 +== NVIDIA Optimus ==
 +
 +****
 +
 +  wget -O '/tmp/GpuTest_Linux_x64.zip' 'http://www.ozone3d.net/gputest/dl/GpuTest_Linux_x64_0.7.0.zip' && unzip '/tmp/GpuTest_Linux_x64.zip' -d '/tmp' && cd '/tmp/GpuTest_Linux_x64_'* && __NV_PRIME_RENDER_OFFLOAD='1' __GLX_VENDOR_LIBRARY_NAME='nvidia' ./GpuTest /test='fur' /width='1280' /height='720'
  
 === FHD === === FHD ===
Line 1112: Line 1048:
 ==== Controller Details ==== ==== Controller Details ====
  
-****+  This can be used to get the Oprom version for Intel RST
  
   sudo mdadm --detail-platform   sudo mdadm --detail-platform
/var/www/wiki/data/pages/distros/fedora_workstation_gnome.txt · Last modified: 2024/05/02 03:13 by Sean Rhone