> 3. Does creating the swapfile on a journaled filesystem (e.g. ext3 or
> reiser) incur a significant performance hit?
None at all. The kernel generates a map of swap offset -> disk blocks at
swapon time and from then on uses that map to perform swap I/O directly
against the underlying disk queue, bypassing all caching, metadata and
filesystem code.
Try making the swap subvolume a subdirectory of the root subvolume. Then remove the swap subvolume mount (not the swapfile mount) from fstab since child subvolumes are automatically mounted.
E.g if @ is the root subvolume create the subvolume @/swap/ and continue as before from there.
I use bubblewrap and apparrmor for running wine. Making a tight Apparmor profile for wine took a lot of time so I would only do it if you don't mind lots of trial and error. Using bubblewrap directly also has a lot of hidden pitfalls, bubblejail is probably much easier.
Some repos I used as starting points for Apparmor:
It's much more work to use bubblewap directly. I needed to do quite a bit of troubleshooting to get fully working launch scripts for Steam and Wine. I also use a custom Apparmor profile for wine which took long to setup as well.
And another question related to graphics. On the wiki (Intel grahpics), it's advised not to use xf86-video-intel, and some of the reasons are old posts which mention that said driver is old, buggy and not maintained. Last update on that package was about 1 month ago, is this still true or am i missing something?
Yes you shouldn't use xf86-video-intel, the Nvidia driver expects (and maybe only works properly with) xf86-video-modesetting, which is part of Xorg. So just uninstall it.
It means there is a new refind package that replaces refind-efi (which hadn't been updated for ages) and pacman is asking if you want to update to that.
I had to use
pacman -Syuddto skip all dependency checks.My workaround was to add a tmpfiles.d file to modify the access mode of
/dev/uinputon startup.To force Xorg to start as root create the file
/etc/X11/Xwrapper.configwith the following content:Also
to make Xorg executable setuid (so it can be run as root by anyone).
The funny thing is I eventually found a fix last year:
https://github.com/NVIDIA/nvidia-settings/issues/42#issuecomment-572242483
Now with the latest driver version they've 'fixed' this loophole (460.80 and 465.24):
https://github.com/NVIDIA/nvidia-settings/issues/65
https://github.com/NVIDIA/nvidia-settings/issues/63
But now they're looking to open it back up:
https://github.com/NVIDIA/nvidia-settings/issues/65#issuecomment-840205288
Swapfiles don't go through the filesystem layer.
https://lkml.org/lkml/2005/7/7/326
Also you can use swapfiles on btrfs natively since Linux 5.0 (and you can hibernate to them).
https://wiki.archlinux.org/index.php/Btrfs#Swap_file
Try making the swap subvolume a subdirectory of the root subvolume. Then remove the swap subvolume mount (not the swapfile mount) from fstab since child subvolumes are automatically mounted.
E.g if @ is the root subvolume create the subvolume
@/swap/and continue as before from there.It should be fine as long as you don't hibernate while in one distro then boot into another.
Not possible with Wayland or X11. Maybe Arcan will one day be able to.
https://arcan-fe.com/2017/12/24/crash-resilient-wayland-compositing/
I use bubblewrap and apparrmor for running wine. Making a tight Apparmor profile for wine took a lot of time so I would only do it if you don't mind lots of trial and error. Using bubblewrap directly also has a lot of hidden pitfalls, bubblejail is probably much easier.
Some repos I used as starting points for Apparmor:
https://github.com/mk-fg/apparmor-profiles
https://git.sr.ht/~krathalan/apparmor-profiles
That default behaviour was changed (see #554), reenable it with
--combinedupgrade --save.Adding
for_window [class="copyq"] floating enableto your i3 config should fix that.It's much more work to use bubblewap directly. I needed to do quite a bit of troubleshooting to get fully working launch scripts for Steam and Wine. I also use a custom Apparmor profile for wine which took long to setup as well.
You could instead try bubblejail.
Sorry I'm out of ideas now :(
Try creating the udev file like it says near the bottom of the dynamicpowermanagement link
OK, the GPU is definitely still active, try creating the file
/etc/modprobe.d/nvidia.confwith the content:and then reboot and test again
What does
sudo powertopshow? In the device tab is the GPU at 100% or 0%?What is the full ouput?
What is the output of
nvidia-smiwhen idle? You have a Turing GPU and Comet Lake CPU so it should turn off. Maybe the runtime power management is not enabled, see https://download.nvidia.com/XFree86/Linux-x86_64/440.82/README/dynamicpowermanagement.htmlYes you shouldn't use
xf86-video-intel, the Nvidia driver expects (and maybe only works properly with)xf86-video-modesetting, which is part of Xorg. So just uninstall it.See https://download.nvidia.com/XFree86/Linux-x86_64/440.82/README/primerenderoffload.html
Yeah there's a difference between the actual kernel parameters and runtime configuration via /proc/sys, they're not interchangeable.
Have you tried mangohud as an alternative overlay?
Try kernel-modules-hook
Try earlyoom.
It means there is a new refind package that replaces refind-efi (which hadn't been updated for ages) and pacman is asking if you want to update to that.
It's fine to say yes to it.
You'll need to change the boot order to make Linux the first boot option again. You can probably do that from the bios, otherwise use a Linux USB.
First make a backup. Always prepare for the worst case.
Then yes just point Windows at the free space.