I’ve recently made updates of my software and updated kernel to 5.10 and I got a black screen after reboot.
So I thought the problem was in the kernel/drivers incompatibility so decided to switch back to oldest kernel.
Now I have 5.10.52-1, 5.4-134-1, 4.14.240-1 and 4.9.276-1 versions, but neither of them work.
I already used
sudo pacman-mirrors -f3
sudo pacman -Syyu
and all the soft for kernels mentioned including nvidia utilities was updated, but the problem is still here.
[ 3.196] Current Operating System: Linux denis-zephyrus-g14 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
Linux59 is EOL and the nvidia driver for this kernel has been removed from the repo. I guess you miss the time to change it. Stable ones goes EOL after 3 Months.
Remove kernel:
mhwd-kernel -r linux59
or
pamac remove linux59
Reinstall the driver:
mhwd -l
mhwd -li
sudo mhwd -r pci <driver>
sudo mhwd -i pci <driver>
replace <driver> with config of mhwd -l like video-nvidia.
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (II) Loading sub module "glxserver_nvidia"
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (II) LoadModule: "glxserver_nvidia"
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (WW) Warning, couldn't open module glxserver_nvidia
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (EE) NVIDIA(0): you continue to encounter problems, Please try
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (EE) NVIDIA(0): reinstalling the NVIDIA driver.
Jul 25 01:45:13 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (II) NVIDIA: The X server does not support PRIME Render Offload.
Jul 25 01:45:14 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (WW) NVIDIA: No DRM device: Direct render devices found but none could be
Jul 25 01:45:14 denis-zephyrus-g14 /usr/lib/gdm-x-session[1276]: (WW) NVIDIA: used.
So I am sure the reason is in configuration of Xorg.
Could you please help me to write a correct configuration? I see too many config files in /etc/X11 directory as well as in /etc/X11/mhwd.d & /etc/X11/xorg.conf & /etc/X11/xorg.conf.nvidia-xconfig-original
I am not sure which one is used when system is booting and what exactly should be defined in config file (I gues I need a correct “Device” section?)
BTW, mhwd --listinstalled
shows that my PCI config are:
So /etc/X11/xorg.conf has only nvidia configs (so that it disables amd). Please remove it, so that the configs at /etc/X11/xorg.conf.d/ can take place.
With video-hybrid-amd-nvidia-prime it should use amd for display and nvidia for offload.