Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.14-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i9-8950HK CPU @ 2.90GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: Dell Inc.
Product Name: Precision 5530
I’ve followed the process of manually installing the NVIDIA drivers and although they install, and I can see the NVIDIA X-Server application installed, the system keeps on saying Mesa Intel UHD Graphics.
I then removed it again and followed the akmod-nvidia route which too installs the driver, but I’m unable to switch to it. I used to be able to run sudo prime-select nvidia to switch to the NVIDIA driver.
Try lsmod | grep -e 'nvidia|nouveau' to see which drivers are loaded and active.
Use dnf list installed '*nvidia*' to see exactly what packages are installed.
Please post the output of both.
This shows how to make the nvidia GPU p[rimary on laptops. Note that it only works this way when using xorg as your DE.
I have 2 packages installed that you seem to be missing. nvidia-persistenced (not sure what required it or if I installed it separately) and xorg-x11-drv-nvidia-cuda (which provides the cuda software for many uses and makes the nvidia-smi program available.)
Otherwise it seems things are complete and functional and you would only need to set the nvidia gpu as primary per that doc linked above. Then reboot.
One other factor may be the structure of the options in the kernel command line for booting.
Please post cat /proc/cmdline
Your command line is missing this nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init and the missing modeset option certainly may be part of the issue.
Please post the output of the following. inxi -Gax dnf list installed '*nvidia*' cat /etc/kernel/cmdline cat /etc/default/grub cat /etc/X11/xorg.conf.d/nvidia.conf
You are logged in with wayland. As such the instructions given will not work.
If you log out then log back in using xorg it should work properly. Use the gear icon at the lower right corner of the screen where you enter the password for selecting the DE to use.
If unable to use xorg then I don’t have instructions to set nvidia as the main GPU. I recall that notes are somewhere on this forum for using nvidia as primary with wayland, but don’t know exactly where.
You also might want to install the cuda package noted earlier.
logging in with X11 just hangs at a black screen forever.
I’ve tried X11 recently on Kubuntu too and was having scaling issues since my monitor is HD and laptop has a 4k screen and then the trackpad gestures doesn’t work under X11 and then there’s the random lockups that I don’t get under Wayland. But under Wayland, I can’t get the NVidia card working since the new 6+ kernel, under the 5 kernel it was working perfectly
I thought this might help, i’m using a nvidia quadro card with fedora for a while now. To make it work, the only way was to follow the RPMFusion packages Howto/NVIDIA - RPM Fusion and since fedora 37, secure boot is automatically configured too Howto/Secure Boot - RPM Fusion
I also had to disable intel GPU drivers on my BIOS and only allow NVIDIA discreet graphics. After doing all this, i followed this post to get the CUDA Packages installed : https://rpmfusion.org/Howto/CUDA#CUDA_Toolkit
I hope this helps. X11 and Wayland both work with my setup.