Well, it’s fixed. My mistake: I overlooked the need to put the two options on the line starting with linux, as you instructed. Sorry about that! Adding nvidia-drm.modeset=1
resolves the issue. To make this option permanent, I understand that I should add it to /etc/default/grub
and then run sudo grub2-mkconfig -o /boot/grub2/grub.cfg
.
In case you’re interested, I checked the system logs as well.
dmesg
I ran dmesg twice: first without changes made to grub, and then with the option added. Looking at about the last 100 lines, from where “nvidia” is first mentioned to the end, the only difference (aside from some lines in a different order) is the very last character in the following line:
No changes:
[ 10.311628] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:08:00.0 on minor 1
With nvidia-drm.modeset=1:
[ 10.426212] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:08:00.0 on minor 0
Searching around, I found people reporting other nvidia-related problems and sharing “minor 1” and “minor 0” on this line. So it’s not clear to me that this is a pertinent difference.
journalctl -b
I went line-by-line through the two journalctl -b outputs, and found some differences. After the line inidializing nvidia-drm on minor0/1, I found the following, which I’ll first summarize. Without setting modeset, two GPU devices are mentioned: /dev/dri/card0
and /dev/dri/card1
, whereas after setting the drm modeset=1, no such card1
is ever mentioned.
No changes:
Jun 10 12:11:23 fedora gnome-shell[2212]: Added device '/dev/dri/card1' (nvidia-drm) using atomic mode setting. Jun 10 12:11:23 fedora gnome-shell[2212]: MESA-LOADER: failed to open simpledrm: /usr/lib64/dri/simpledrm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) Jun 10 12:11:23 fedora gnome-shell[2212]: kmsro: driver missing Jun 10 12:11:23 fedora gnome-shell[2212]: Added device '/dev/dri/card0' (simpledrm) using atomic mode setting. Jun 10 12:11:23 fedora gnome-shell[2212]: Created gbm renderer for '/dev/dri/card1' Jun 10 12:11:23 fedora gnome-shell[2212]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated Jun 10 12:11:23 fedora gnome-shell[2212]: Created gbm renderer for '/dev/dri/card0' Jun 10 12:11:23 fedora gnome-shell[2212]: Boot VGA GPU /dev/dri/card1 selected as primary
With modeset=1:
Jun 10 12:35:45 fedora gnome-shell[2187]: Added device '/dev/dri/card0' (nvidia-drm) using atomic mode setting. Jun 10 12:35:45 fedora gnome-shell[2187]: Created gbm renderer for '/dev/dri/card0' Jun 10 12:35:45 fedora gnome-shell[2187]: Boot VGA GPU /dev/dri/card0 selected as primary
gnome displays settings reset
A change I noticed upon setting the boot option: my displays in Gnome settings had changed. I noticed that the refresh rate was lower that before, so I checked it. I have one monitor hooked up. Before, “displays” registered two screens: my monitor as well as an “Unknown” 13.3" display. Now it registers only my monitor. Changing the refresh rate back to 144hz worked fine.
plymouth
My plymouth packages are identical to yours.
Thank you very much, @computersavvy : )