Nvidia | optimus-manager problem after update

i give up, pls help me

[iwedmak@iwedmak-n02 ~]$ inxi -Ga
Graphics:  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Hewlett-Packard driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:9bc4 class-ID: 0300 
           Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Hewlett-Packard driver: nouveau v: kernel 
           alternate: nvidia_drm,nvidia bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300 
           Device-3: Quanta HP TrueVision HD Camera type: USB driver: uvcvideo bus-ID: 1-6:3 chip-ID: 0408:5365 class-ID: 0e02 
           Display: x11 server: X.org 1.20.13 compositor: kwin_x11 driver: loaded: intel,modesetting,nouveau 
           unloaded: fbdev,vesa alternate: nv resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.2.1 direct render: Yes 
[iwedmak@iwedmak-n02 ~]$ nvidia-installer-check
Your graphics card (id: 2191) is supported by the nvidia-dkms driver.
To install a driver for this card, you can use nvidia-installer-dkms.

[iwedmak@iwedmak-n02 ~]$ nvidia-installer-dkms -t
2021-09-06 21:09:23 [INFO]: EndeavourOS Nvidia Installer v3.3.9
2021-09-06 21:09:23 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
2021-09-06 21:09:23 [INFO]: Running the installer in testing mode...
2021-09-06 21:09:23 [INFO]: Updating Nvidia graphics cards database...
2021-09-06 21:09:23 [INFO]: nvidia-installer-update-db --tmpdb
2021-09-06 21:09:26 [INFO]: Installing nvidia-dkms driver...
2021-09-06 21:09:26 [INFO]: Removing conflicting packages...
2021-09-06 21:09:26 [INFO]: pacman -Rs --noconfirm --noprogressbar --nodeps xf86-video-nouveau
2021-09-06 21:09:26 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
2021-09-06 21:09:26 [INFO]: pacman -Sqy --noconfirm --noprogressbar nvidia-dkms libvdpau nvidia-settings lib32-nvidia-utils lib32-libvdpau
2021-09-06 21:09:26 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2021-09-06 21:09:26 [INFO]: Installation finished. Nothing has been modified as testing mode was ON.

i cant lod in nvidia drivers, i got tty only

сен 06 21:03:40 iwedmak-n02 kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS10._PLD], AE_ALREADY_EXISTS (20200925/dswload2-326)
сен 06 21:03:40 iwedmak-n02 kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200925/psobject-220)
сен 06 21:03:40 iwedmak-n02 systemd-udevd[307]: vboxdrv: /usr/lib/udev/rules.d/60-vboxdrv.rules:1 Only network interfaces can be renamed, ignoring NAME="vboxdrv".
сен 06 21:03:40 iwedmak-n02 systemd-udevd[290]: vboxdrvu: /usr/lib/udev/rules.d/60-vboxdrv.rules:2 Only network interfaces can be renamed, ignoring NAME="vboxdrvu".
сен 06 21:03:41 iwedmak-n02 systemd-udevd[312]: vboxnetctl: /usr/lib/udev/rules.d/60-vboxdrv.rules:3 Only network interfaces can be renamed, ignoring NAME="vboxnetctl".
сен 06 21:03:41 iwedmak-n02 systemd-udevd[328]: vboxdrv: /usr/lib/udev/rules.d/60-vboxdrv.rules:1 Only network interfaces can be renamed, ignoring NAME="vboxdrv".
сен 06 21:03:41 iwedmak-n02 systemd-udevd[309]: vboxdrvu: /usr/lib/udev/rules.d/60-vboxdrv.rules:2 Only network interfaces can be renamed, ignoring NAME="vboxdrvu".
сен 06 21:03:41 iwedmak-n02 kernel: ACPI BIOS Error (bug): Could not resolve symbol [^^PCI0.RP09.PEGP.GPFG], AE_NOT_FOUND (20200925/psargs-330)
сен 06 21:03:41 iwedmak-n02 kernel: ACPI Error: Aborting method \_SB.WMID.STPS due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
сен 06 21:03:41 iwedmak-n02 kernel: ACPI Error: Aborting method \HWMC due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
сен 06 21:03:41 iwedmak-n02 kernel: ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
сен 06 21:03:42 iwedmak-n02 kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
сен 06 21:03:45 iwedmak-n02 kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
сен 06 21:04:43 iwedmak-n02 kernel: ucsi_acpi USBC000:00: PPM init failed (-110)

Do you have the option enhancements set up for the nvidia?

Edit:
Try setting this up from the TTY. Do all of the enhancements on this page and then reboot into the system see what happens.

2 Likes

I just noticed in your post? You ran

nvidia-installer-dkms -t

This is in test mode. In order to install nvidia you have to run

sudo nvidia-installer-dkms

Edit: Did you actually install them or just ran the test mode?

1 Like

does: dri_prime=1 glxinfo | inxi -G

something?

if so try to rebuild optimus-manager ?

I had the same issue. Idk if this will help but give it a try :slight_smile:

if you are stuck in tty, press alt f2, type your username and password, then sudo nvidia-installer-dkms -n. Your system will boot normally. After that, install the proprietary drivers back. When you are done, follow the guide above BEFORE rebooting

i did intall nvidia, not only test, just thought it was somewhat useful )

didnt work ( if i install proprietary driver and reboot my desktop doesnt load ( only tty, and if after that i install optimus (rebuilding it ofcorse) i lose tty also, and have to load with usb dist

sooo i tied some things:

sudo nvidia-installer-dkms -f
sudo mkinitcpio -P // MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"
sudo grub-mkconfig -o /boot/grub/grub.cfg //nvidia-drm.modeset=1

after that i was able to load to desktop with nvidia prop, but only on external monitor (hdmi), laptop monitor remains black and undetected by system, which wierd by it self
after that i tried installing optimus manager, and reboot, i get only integrated

just now i was able to load in nvidia mode, with dual monitors, which is good, but hybrid mode doesnt realy work (did before)
soo i think something wrong with intel integrated video, any recommendations ?

сен 07 12:24:19 iwedmak-n02 kernel: 
сен 07 12:24:20 iwedmak-n02 sddm[710]: Failed to read display number from pipe
сен 07 12:24:22 iwedmak-n02 sddm[710]: Failed to read display number from pipe
сен 07 12:24:24 iwedmak-n02 sddm[710]: Failed to read display number from pipe
сен 07 12:24:24 iwedmak-n02 sddm[710]: Could not start Display server on vt 1

when trying to load in hybrid mode

how can i reinstall intel drivers correctly?

Your original post shows the intel driver installed i915
It is the xf86-video-intel package

pacman -Qi xf86-video-intel

If you want to revert to the open source nouveau driver

sudo nvidia-installer -n

This should put you back where you started with Intel and Noveau open source driver installed

If you want to then reinstall nvidia-dkms

sudo nvidia-installer-dkms
1 Like