You are not logged in.

#51 2025-11-06 20:34:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,985

Re: xorg-server 21.1.20 needs to be reverted - trouble loading nvidia_drm

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

#52 2025-11-06 20:47:35

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,031
Website

Re: xorg-server 21.1.20 needs to be reverted - trouble loading nvidia_drm

seth wrote:

?

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,noheader

before I start Xorg.

Last edited by karabaja4 (2025-11-06 20:47:53)

Offline

#53 2025-11-06 20:53:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,985

Re: xorg-server 21.1.20 needs to be reverted - trouble loading nvidia_drm

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

#54 2025-11-06 21:46:31

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,031
Website

Re: xorg-server 21.1.20 needs to be reverted - trouble loading nvidia_drm

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=0

and finally

mkinitcpio -P

Offline

Board footer

Powered by FluxBB