Fedora 36, nvidia 510.68.02, GTX 1050 Ti, but no work

I do all step accroding to " How to Set Nvidia as Primary GPU on Optimus-based Laptops" (sorry, new user only can put one link limit - locate at doc#fedoraproject#org offical url ), but last command show like this.

⭕ glxinfo | egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)

no nvidia here.

other info here

⭕ lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
⭕ modinfo -F version nvidia
510.68.02
⭕ env|grep x11
XDG_SESSION_TYPE=x11
⭕ pfi *nvidia*
Installed Packages
akmod-nvidia.x86_64                        3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-5.17.11-300.fc36.x86_64.x86_64 3:510.68.02-1.fc36  @@commandline                   
nvidia-settings.x86_64                     3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                 3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64       3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64         3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686              3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64            3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64           3:510.68.02-1.fc36  @rpmfusion-nonfree-nvidia-driver

I do not know why upload nvidia-bug-report.log.gz always fail. so I put here.

According to the logs, nouveau is still loading. Please blacklist it.

Please don’t do any additional blacklist for nouveau when using the nvidia driver from rpmfusion as this will need more harm than good. If it’s still loaded, then there is a reason, (including fallback to nouveau if anything goes wrong).

You need first to verify that the nvidia module is built for your kernel (using modinfo nvidia) and that nothing prevent loading it (like secure boot).

IN your case, the package blacklist failed for some reason, please do:

dnf reinstall xorg-x11-drv-nvidia

and verify that your /etc/default/grub have something like this: GRUB_CMDLINE_LINUX=“rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1”

It seems the driver is for current kernel.

⭕ uname -a
Linux eexpss-f36 5.17.11-300.fc36.x86_64 #1 SMP PREEMPT Wed May 25 15:04:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
⭕ modinfo nvidia
filename:       /lib/modules/5.17.11-300.fc36.x86_64/extra/nvidia/nvidia.ko.xz
firmware:       nvidia/510.68.02/gsp.bin
alias:          char-major-195-*
version:        510.68.02
supported:      external
license:        NVIDIA
rhelversion:    9.99
....
.....
⭕ grep GRUB_CMDLINE_LINUX /etc/default/grub
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"

And grub like this.

5.17.12 and reinstall xorg-x11-drv-nvidia, it works. thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.