You are not logged in.
After upgrading nvidia-390xx-utils and nvidia-390xx-dkms from 12 ==> 13 (and executing mkinitcpio -P), xorg fails to start (via startx).
65:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 315] (rev a1)
Subsystem: NVIDIA Corporation Device 102f
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
I tried adding nvidia_drm.fbdev=0 to the kernel parameters, but this leads to
kernel: nvidia_drm: unknown parameter 'fbdev' ignored
Cheers,
Last edited by dakota (2024-12-02 19:27:25)
"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb
Offline
From your bootlogs, it looks like the kernel is using simpledrm which is not supported with the NVIDIA drivers when the nvidia_drm.fbdev parameter is set to 0. Does enabling this parameter allow the X server to start?
Online
From your bootlogs, it looks like the kernel is using simpledrm...
That's odd. Shouldn't setting...
nvidia_drm.modeset=1
... as a kernel parameter enable DRM kernel mode setting? Or is that something different?
Note that later in the journal, it appears that drm is initialized
Dec 02 10:45:52 maria kernel: [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
...
Dec 02 10:45:52 maria kernel: nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 241
Dec 02 10:45:52 maria kernel: [drm] [nvidia-drm] [GPU ID 0x00006500] Loading driver
Dec 02 10:45:52 maria kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:65:00.0 on minor 1
Dec 02 10:45:52 maria kernel: Registered the nv-hotplug-helper DRM client.
# cat /sys/module/nvidia_drm/parameters/modeset
Y
Does enabling this (the nvidia_drm.fbdev parameter) allow the X server to start?
No.
It makes no difference if I omit the parameter, explicitly enable it, or explicitly disable it. In all cases, the journal reports
kernel: nvidia_drm: unknown parameter 'fbdev' ignored
Cheers,
Last edited by dakota (2024-12-02 21:05:05)
"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb
Offline
The nvidia_drm.modeset=1 hack wa removed from the 6.12 kernels for "reasons", I guess.
Use the LTS kernel - for the 6.12 kernel you can try to add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel_parameters
The nvidia_drm.fbdev is only supported since some 5xx.xx version (525 or 535 or so)
Online
The nvidia_drm.modeset=1 hack wa removed from the 6.12 kernels for "reasons", I guess.
Humph.
Use the LTS kernel.
The LTS kernel works fine, and I'm happy to use that as a short-term solution.
...for the 6.12 kernel you can try to add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel_parameters.
Using this results in a black screen, but with the following entry in the journal
kernel: initcall simpledrm_platform_driver_init blacklisted
Cheers,
EDIT - Thanks for your feedback, Seth!
Last edited by dakota (2024-12-02 23:24:39)
"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb
Offline
Using this results in a black screen, but with the following entry in the journal
By this time an expectable pattern
Stay tuned for developments on the gitlab bug. I hope.
Online
The nvidia_drm.modeset=1 hack wa removed from the 6.12 kernels for "reasons", I guess.
This is good to know, thanks. Can you clarify what "removed" means? And what would be the rationale for disabling this?
Online
Mod note: moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Can you clarify what "removed" means? And what would be the rationale for disabling this?
It was a downstream patch that no longer gets applied.
No reason has been published.
The question is open on the gitlab bug - it could just be "let's see whether we still need this", but nvidia_drm.fbdev doesn't reliably work and blocking the simlpydumb initcall seems too late and older nvidia drivers cannot handle this at all. Unless there's a technical reason (patch no longer compiles etc.) I see no upside in removing it.
Online
Unless there's a technical reason (patch no longer compiles etc.)
The patch (as of 6.11.9 build) requires no rebase and applies cleanly to kernel 6.12.1.
Applying patch disable-simple-drm.patch...
patching file drivers/firmware/sysfb.c
Most recent commit to sysfb.c was on 2024-09-26.
Patched kernel 6.12.1 compiles without issue.
Offline