Firstly, I apologise for my topic title being generic and uninformative but I am rather inexperienced with debugging these kind of issues and really just need somebody to point me in the right direction.
I have recently bought a Metabox laptop (Clevo NH58RH) with a GeForce GTX 1050 3GB Max-Q card pre-installed.
I installed Fedora 30 (KDE spin). The OS installed fine and generally operates well using the default drivers with the exception being that I can’t seem to use suspend/hibernate (Both fail to resume with slightly different results). In the hope of fixing this issue, I’d like to try the nvidia drivers. Maybe this is a false hope?
Following an online guide, I ran the following commands to install the drivers:
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf install xorg-x11-drv-nvidia akmod-nvidia
After rebooting into the kernel the driver fails to load. There are some errors in the boot log but as it is a new system, I’m unsure whether the errors are a result of a driver issue, a BIOS setting or potentially a hardware issue?
Here is the output using the nvidia-bug-report utility:
https://paste.fedoraproject.org/paste/Zpgas0R9UmHjzpXtS1v2Kg
Any help pointing me in the right direction would be greatly appreciated and let me know if I can provide any further info to help debug the issue.
Thanks
EDIT:
Turns out the driver was loading correctly.
The issue was actually that my system has Intel optimus technology (I wan’t aware).
If you’re unsure, you can determine if you have optimus by running:
lspci -vnn | grep '
If this returns two video cards in the output with one being an Intel Integrated Graphics Controller and the other being an NVIDIA Corporation chip, then you probably have an optimus notebook.
<b>SOLUTION:</b>
With an optimus laptop, there a are a couple of xrandr commands that need to be run on startup. Currently these are only provided in the standard GDM/Gnome environment.
For KDE, using the SDDM display manager, these commands need to be added to <i><b>/etc/sddm/Xsetup</b></i> (This has to be done as root)
<b>Not</b> <i>/usr/share/sddm/scripts/Xsetup</i> as the wiki states.
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
For other display managers see this link
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Thanks to <b>generix</b> for all their help solving this one.'[030[02]\]'
If this returns two video cards in the output with one being an Intel Integrated Graphics Controller and the other being an NVIDIA Corporation chip, then you probably have an optimus notebook.
SOLUTION:
With an optimus laptop, there a are a couple of xrandr commands that need to be run on startup. Currently these are only provided in the standard GDM/Gnome environment.
For KDE, using the SDDM display manager, these commands need to be added to /etc/sddm/Xsetup (This has to be done as root)
Not /usr/share/sddm/scripts/Xsetup as the wiki states.
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
For other display managers see this link
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Thanks to generix for all their help solving this one.