Bug#1089513: workaround

Ole Marggraf marggraf at gmx.net
Mon Jan 13 00:52:13 GMT 2025


On Sun, 12 Jan 2025 12:32:53 +0000 junk mail
<junk.mail.54 at protonmail.com> wrote:
> I am on the testing release, and use KDE. linux: 6.12.6-1; nvidia-driver 535.216.03. The problem I was experiencing is that I couldn't change the display resolution nor refresh rate. These issues occurred after updating the Linux kernel, everything still works fine on 6.11, so I assume this is related to this bug.
>
> I looked a bit more into it, missing config files seem to be causing issues. Initializing config files using the deprecated nvidia-xconfig, which can be removed afterwards, resolved it:
> ```
> sudo apt install nvidia-xconfig
> sudo apt nvidia-xconfig
> sudo apt purge nvidia-xconfig
> sudo reboot
> ```
>
> The warning in dmesg appears to remain unchanged though:
> WARNING: CPU: 4 PID: 1076 at drivers/gpu/drm/drm_file.c:312 drm_open_helper+0x132/0x150 [drm]
Indeed, this did the job for me (running sid,
linux-image-6.12.9-amd64=6.12.9-1, nvidia-driver=535.216.03-1). Thank
you for the hint.

In my case, the nvidia kernel drivers were compiled and present all the
time but not being used in the xorg session (which only ran in slow mesa
mode, since about 4 weeks ago).

nvidia-xconfig was also still installed in my system, but no xorg.conf
present any more. So, simply recreating that one by running "sudo
nvidia-xconfig" (mind to remove the "apt" call in your 2nd line of
commands) and rebooting brought nvidia xorg mode back for me.

Might be that there's some problem with automatic (i.e., without
xorg.conf) nvidia drivers' integration with the xorg xserver configuration.



More information about the pkg-nvidia-devel mailing list