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/11/17 14:50] Sean Rhonedistros:fedora_workstation_gnome [2020/06/02 05:16] Sean Rhone
Line 2: Line 2:
  
   * Fedora Workstation ((https://getfedora.org/en/workstation))   * Fedora Workstation ((https://getfedora.org/en/workstation))
-  * 31+  * 32
  
 ====== Issues ====== ====== Issues ======
Line 10: Line 10:
 ====== TODO ====== ====== TODO ======
  
-  * https://blog.tingping.se/2018/12/01/amdgpu-fullrgb.html+  * https://github.com/intel/gvt-linux/issues/107
  
 ====== Download ====== ====== Download ======
Line 32: 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 41: 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 99: Line 99:
   * :!: This will vary depending on the Fedora image version used   * :!: This will vary depending on the Fedora image version used
  
-  sudo dnf remove *5.3.7*+  sudo dnf list --installed 'kernel'
 + 
 +  sudo dnf remove *5.3.7* && sync
  
 ==== Firmware ==== ==== Firmware ====
Line 105: Line 107:
 **** ****
  
-  sudo fwupdmgr refresh && sudo fwupdmgr update --verbose+  sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose
  
 ==== Flatpaks ==== ==== Flatpaks ====
Line 132: Line 134:
   * ''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 exfat-utils fuse-exfat+  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 147: Line 149:
  
   akmod-nvidia   akmod-nvidia
 +
 +===== Keybase =====
 +
 +  * https://keybase.io
 +
 +  'https://prerelease.keybase.io/keybase_amd64.rpm'
  
 ===== 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 157: Line 166:
  
   * ''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
  
-===== ckb-next =====+  intel-media-driver
  
-  * https://github.com/ckb-next/ckb-next+  libva-utils
  
-  ckb-next+===== VDPAU =====
  
-===== Keybase =====+  libva-vdpau-driver 
  
-  * https://keybase.io+  vdpauinfo
  
-  'https://prerelease.keybase.io/keybase_amd64.rpm'+  vdpauinfo | grep 'Information' 
 + 
 +===== ckb-next ===== 
 + 
 +  * https://github.com/ckb-next/ckb-next 
 + 
 +  ckb-next
  
 ===== Wine ===== ===== Wine =====
Line 200: Line 216:
   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 230: Line 246:
 ==== 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 268: Line 288:
   * 10-notch Transparency   * 10-notch Transparency
  
-===== Transmission =====+===== Kernel Options =====
  
-  * Blocklist+==== Magic SysRq key ====
  
-  http://john.bitsurge.net/public/biglist.p2p.gz+  * https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
  
-===== GRUB =====+  echo 'kernel.sysrq 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' > '/dev/null' && cat '/etc/sysctl.d/99-sysrq.conf'
  
-==== grubby ====+==== Swap ====
  
-  * Add commands within ''args''+  * https://www.kernel.org/doc/html/latest/admin-guide/sysctl/vm.htm
  
-  sudo grubby --update-kernel='ALL' --args=''+  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'
  
-==== Other Parameters ====+=== Verify ===
  
-  * See [[notes:kernel_parameters|Kernel Parameters]] for other options and non-grubby configuration+  * ''swappiness'' should be ''1'' 
 +  * ''vfs_cache_pressure'' should be ''50''
  
-==== AIO ====+  sysctl 'vm.swappiness' 'vm.vfs_cache_pressure'
  
-=== Spinesnap ===+===== GRUB =====
  
-  * Last updated: 2019/11/17+==== Config ====
  
-  i915.enable_fbc=1 i915.fastboot=1+=== UEFI ===
  
-==== i915 ====+****
  
-  i915.enable_fbc=1 i915.fastboot=1+  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/efi/EFI/fedora/grub.cfg'
  
-  i915.enable_psr=1+=== Legacy ===
  
-==== amdgpu ====+****
  
-  * Allows use of Overdrive options for overclocking+  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg'
  
-  amdgpu.ppfeaturemask=0xffffffff+=== grubby ===
  
-=== Test ===+  * Add commands within ''args'' 
 +  * :!: For whatever reason, ''grubby'' sometimes exists on F31, where other times it doesn't
  
-****+  sudo grubby --update-kernel='ALL' --args=''
  
-  amdgpu.mes=1 amdgpu.mcbp=1+==== Kernel Parameters ====
  
-=== Verify ===+=== Other Parameters ===
  
-****+  See [[notes:kernel_parameters|Kernel Parameters]] for other options
  
-  cat '/sys/module/amdgpu/parameters/ppfeaturemask' | grep '4294967295'+=== Spinesnap ===
  
-==== PCI ====+  * Last updated: 2020/06/02
  
-****+  i915.enable_fbc=1 i915.fastboot=1 i915.enable_guc=3 intel_iommu=on
  
-  pci=nocrs,pcie_bus_perf+===== GNOME =====
  
-==== IOMMU ====+==== Extensions ====
  
-  * On F31 beta, this had some DMAR issues+=== Top Panel Workspace Scroll ===
  
-  intel_iommu=on+  * https://github.com/timbertson/gnome-shell-scroll-workspaces
  
-===== GNOME =====+  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 
 + 
 +== Uninstall == 
 + 
 +**** 
 + 
 +  gnome-extensions disable 'scroll-workspaces@gfxmonk.net' && rm -Rf ~/'.local/share/gnome-shell/extensions/scroll-workspaces@gfxmonk.net' && sync
  
 ==== Disable Wayland ==== ==== Disable Wayland ====
Line 350: Line 378:
 === 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 356: Line 384:
 === 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 391: Line 419:
  
   * 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 397: Line 426:
  
   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 416: Line 452:
  
 [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>
- 
-==== Broadcom ==== 
- 
-  * 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> +
- +
-=== Driver Reload === +
- +
-  * :!: ''wl'' is particularly picky on Fedora and usually when connecting to new APs, the driver needs outright reloaded +
- +
-  sudo modprobe -r 'wl' && sudo modprobe -i 'wl' && sync+
  
 ===== Laptop Power Management ===== ===== Laptop Power Management =====
Line 451: Line 468:
  
   * 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 506: Line 486:
   sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l   sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l
  
-===== Wine =====+===== UTC =====
  
-  * See [[notes:wine|Wine]]+  * [[https://wiki.archlinux.org/index.php/System_time#Time_standard|ArchWiki]] 
 +  * Set RTC to UTC 
 +  * :!: Needed if Windows is installed first 
 +  * :!: Windows should also be set to UTC
  
-====== Computer-specific ======+  sudo timedatectl set-local-rtc '0'
  
-===== Nightwane =====+==== Verify ====
  
-==== Volume ====+****
  
-  * TODO: Change where this is; no longer have this computer+  timedatectl | grep local
  
-  alsamixer+===== Wine =====
  
-==== Fan Control ====+  * See [[notes:wine|Wine]]
  
-  * TODO: Change where this is; it's not specific to this computer nor fan control+====== Xorg ======
  
-  sudo dnf install 'lm_sensors' -y && sudo sensors-detect --auto +  * See [[notes:xorg.conf_snippets|xorg.conf Snippets]] for more configurations
- +
-==== Custom Resolution ==== +
- +
-=== Generate Modeline === +
- +
-  * 4k@60Hz CVT-RB +
-  * 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> +
-Section "Monitor" +
-    Identifier      "HDMI-A-0" +
-    Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync +
-    Option          "PreferredMode" "3840x2160R" +
-EndSection</code>+
  
 ===== Spinesnap ===== ===== Spinesnap =====
  
-  * :!: 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)) +==== intel + nouveau ====
-  * 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-intel xorg-x11-drv-nouveau -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
-Section "Monitor" 
-    Identifier      "HDMI-A-0" 
-    Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync 
-    Option          "PreferredMode" "3840x2160R" 
-EndSection 
- 
 Section "OutputClass" Section "OutputClass"
     Identifier  "Intel Graphics"     Identifier  "Intel Graphics"
     MatchDriver "i915"     MatchDriver "i915"
-    Driver      "intel" +    Driver "intel" 
-    Option      "DRI"       "3" +    Option "DRI"       "3" 
-    Option      "TearFree"  "0"+    Option "TearFree"  "0"
 EndSection EndSection
  
 Section "OutputClass" Section "OutputClass"
-    Identifier  "AMD Graphics" +    Identifier  "NVIDIA Graphics" 
-    MatchDriver "amdgpu+    MatchDriver "nouveau
-    Driver      "amdgpu+    Driver "nouveau
-    Option      "DRI"       "3+    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" +
-    Identifier  "AMD Graphics" +
-    MatchDriver "radeon" +
-    Driver      "radeon" +
-    Option      "DRI"               "3" +
-    Option      "SwapbuffersWait"   "0" +
-    Option      "TearFree"          "0" +
-    Option      "AccelMethod"       "EXA"+
 EndSection</code> EndSection</code>
  
Line 674: Line 560:
 ==== user.js ==== ==== user.js ====
  
-  * Last updated: 2019/10/22+  * Last updated: 2020/04/15 
 + 
 +  * :!: IPv6 is disabled in order to prevent WebRTC from grabbing an IPv6 address even though NetworkManager has it disabled... 
 +  * :!: ''media.peerconnection.enabled'' disables WebRTC
  
   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 689: Line 584:
 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 708: Line 606:
 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 715: Line 627:
 user_pref("security.webauth.u2f", true); user_pref("security.webauth.u2f", true);
  
-/******* +/********** 
- END + Tweaks 
- *******/</code>+ **********/
  
-=== VPN ===+user_pref("browser.cache.disk.enable", false); 
 +user_pref("browser.cache.memory.enable", true); 
 +user_pref("browser.cache.memory.enable", true);
  
-  * :!: Add if using a VPN in order to prevent local IP address leaking +/******* 
-  * :!: IPv6 is disabled in order to prevent WebRTC from grabbing an IPv6 address even though NetworkManager has it disabled... + VPN 
-  * :!: ''media.peerconnection.enabled'' disables WebRTC + *******/
- +
-<code> +
-/*********** +
- Privacy +
- ***********/+
  
 user_pref("network.dns.disableIPv6", true); user_pref("network.dns.disableIPv6", true);
-user_pref("media.peerconnection.enabled", false);</code>+user_pref("media.peerconnection.enabled", false); 
 + 
 +/******* 
 + * END * 
 + *******/</code>
  
 ==== Apply Settings ==== ==== Apply Settings ====
Line 760: Line 673:
   * [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 773: Line 690:
  
   * 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 799: Line 715:
   * 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 969: Line 887:
  
   /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 1069: Line 993:
 ==== 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