AMD Ryzen 7 + Geforce GTX 1660 Ti laptop ---> cannot get Nvidia to be used as primary graphics

Hey I’m attaching a nvidia bug report.
I’m running Linux Mint 19.1 with installed Kernel 5.1.15x .
I installed latest Kernel cause my display was only at 800x600 in software mode and update fix at least that problem.
nvidia-bug-report.log.gz (1.1 MB)

Please remove /etc/X11/xorg.conf and the ‘nogpumanager’ kernel parameter. Are the acpi_osi settings there for a reason? Otherwise, please also remove them. That won’t make it work currently, though.

The problem is that the nvidia-drm kernel module can’t be loaded, so it doesn’t work.
Please run
sudo modprobe nvidia-drm
and post any error that is displayed. If no error is displayed, post the output of
lsmod |grep nvidia

Thanks Generix !

Currently removed /etc/X11/xorg.conf and the ‘nogpumanager’ kernel and acpi parameters.

djczaps@djczapslapTUF:~$ sudo modprobe nvidia-drm

modprobe: ERROR: …/libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name=‘off’
modprobe: ERROR: could not insert ‘off’: Unknown symbol in module, or unknown parameter (see dmesg)

In case You need here is
output from:

lsmod | grep nvidia :

lsmod |grep nvidia
nvidia_uvm 819200 0
nvidia 18792448 11 nvidia_uvm
ipmi_msghandler 106496 2 ipmi_devintf,nvidia
i2c_nvidia_gpu 16384 0

Ok, that clarifies it, there’s some blacklist file blocking it.
Please post the output of
grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*

/etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
/etc/modprobe.d/blacklist-nvidia.conf:blacklist nvidia
/etc/modprobe.d/blacklist-nvidia.conf:# blacklist nvidia-drm
/etc/modprobe.d/blacklist-nvidia.conf:# blacklist nvidia-modeset
/etc/modprobe.d/blacklist-nvidia.conf:# alias nvidia-drm off
/etc/modprobe.d/blacklist-nvidia.conf:# alias nvidia-modeset off
/etc/modprobe.d/blacklist-nvidia_working.conf:blacklist nvidia
/etc/modprobe.d/blacklist-nvidia_working.conf:blacklist nvidia-drm
/etc/modprobe.d/blacklist-nvidia_working.conf:blacklist nvidia-modeset
/etc/modprobe.d/blacklist-nvidia_working.conf:alias nvidia-drm off
/etc/modprobe.d/blacklist-nvidia_working.conf:alias nvidia-modeset off

p.s blacklist-nvidia_working.conf is my backup of working file : “blacklist-nvidia.conf” and was able to boot into to the system at least. I used it before with that old grub settings aspci etc…

Please make sure nvidia-prime is installed

sudo apt install nvidia-prime

and switch to nvidia profile

sudo prime-select nvidia

delete the files (and only those)

/etc/modprobe.d/blacklist-nvidia.conf
/etc/modprobe.d/blacklist-nvidia_working.conf

and run

sudo update-initramfs -u

then modify /usr/share/X11/xorg.conf.d/10-amdgpu.conf
replacing only

Driver "amdgpu"

with

Driver "modesetting"

and reboot.
Afterwards, please create a new nvidia-bug-report.log.

After those changes I’m not able to log to GUI again after typing password and login.
Will try to generate nvidia bug from terminal. However not sure how I can post it without GUI login :(

Hmm not even have a chance to get to the terminal now :((

Live usb now I suppose :((

On boot, hold down shift to get to the grub menu and choose recovery mode.

Unfortunately that shortcut not working in my case. Can only get to bios but with escape button.

Maybe you can switch to terminal if you just wait for 2 minutes after boot so systemd gives up starting the desktop.

Ok hopefully was able to get into grub :))
My bios was set to fast mode boot and blocked shift key. Waiting for recovery to see if I will be able to do more.

Yep in terminal now in recovery mode…
Any ideas what I should try to change now?

New nvidia bug generated from terminal now

back on the map to GUI again ;)

needed to copy blacklist-nvidia.conf file to be eble to boot to GUI ;( sad but a recovery solution either…

new nvidia-bug-report.log in the attachment

nvidia-bug-report.log.gz (1.08 MB)

If you have internet connection, you can use pastebinit to upload it from console.

  • install pastebinit (sudo apt install pastebinit)
  • unzip logfile (gunzip nvidia-bug-report.log.gz)
  • upload logfile (pastebinit -i nvidia-bug-report.log)
  • note down and post the url you’re given

it’s sad You can here Nvidia at boot but cannot use it yet in 3D apps ;(

keep on going anyway and not going to install windows just to play games !

Unfortunately the report only contained logs from the recovery mode boot. Please create a new one in the current state.