You are not logged in.
I guess it's back to 21.1.18 for me.
1)
dGPU in BIOS, i915 blacklisted in modprobe.d
Result:
everything works
?
@rilian-la-te for recap: seems neither GlxVendorLibrary nor __GLX_VENDOR_LIBRARY_NAME can be used
The latter is ignored and the former inevitably affects the modesetting driver well - w/ the fatal consequences of dragging the nvidia GL library in.
Online
?
I still want to be able to use iGPU, unless I can somehow conditionally blacklist i915 based on which GPU is set in BIOS. I can check if dGPU is active by running:
nvidia-smi --query-gpu=gpu_name --format=csv,noheaderbefore I start Xorg.
Last edited by karabaja4 (2025-11-06 20:47:53)
Offline
The idea would be to have two bootloader entries but you could also try to unload i915 during the boot (checking for the nvidia GPU being on the PCI bus)
Worst case, check the bus in the initramfs and only have the i915 module on disk so you can still inject a blacklist, but that's getting pretty tedious and cannot really be the general resolution of the problem.
Online
Yeah that's a good idea with two bootloader entries, I'll use that. Here's my setup with UKIs if anyone wants to do something similar.
/etc/mkinitcpio.d/linux.preset
ALL_kver="/boot/vmlinuz-linux"
PRESETS=('nvidia' 'intel')
nvidia_uki="/boot/EFI/Linux/10-arch-linux-nvidia.efi"
nvidia_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp --cmdline /etc/kernel/nvidia"
intel_uki="/boot/EFI/Linux/20-arch-linux-intel.efi"
intel_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp --cmdline /etc/kernel/intel"/etc/kernel/nvidia
root=PARTUUID=<your_uuid_goes_here> zswap.enabled=0 rw rootfstype=ext4 modprobe.blacklist=i915/etc/kernel/intel
root=PARTUUID=<your_uuid_goes_here> zswap.enabled=0 rw rootfstype=ext4 i915.enable_psr=0and finally
mkinitcpio -POffline