Hi Folks,
I have been failing for a couple of weeks to install nvidia drivers on a new laptop (ASUS ROG Zephyrus 15.6, AMD Ryzen 7 4800HS, GTX 1660Ti).
I have it set up as a dual-boot and I have installed openSUSE 15.2 on it a number of different ways (bios secure boot enabled/disabled, grub secure boot enabled/disabled). Unfortunately I haven’t been keeping fastidious records to make sure I’ve tried all of the combinations.
Just a basic installing of 15.2 works fine, but the trouble starts when I try to install the nvidia drivers. I’ve tried installing the drivers (with nouveau and nv blacklisted/not installed), using each of the nvidia repo; the easy way; the hard way; with varying degrees of failure. It irks me that I can’t get past resorting to nouveau when all of the nvidia resources seem to be available!
I suspect my lack of expertise is the culprit here as I’m not a sysadmin/programmer. Nor am I clear on all of the implications of the newer security features. I’ve read through the SDB:NVIDIA installation notes several times and tried to follow the instructions verbatim; I’ve also read through the Nvidia README installation doc, although my eyes glazed over at several points… Is there anyone that can provide some additional guidance on where I’m going wrong?
Here are some additional details:
hwinfo --gfxcard
18: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: VCu0.ntnBJi4lw56
Parent ID: mnDB.hF1hOH7Fi01
SysFS ID: /devices/pci0000:00/0000:00:01.1/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia TU116M [GeForce GTX 1660 Ti Mobile]"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x2191 "TU116M [GeForce GTX 1660 Ti Mobile]"
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x171f
Revision: 0xa1
Memory Range: 0xfb000000-0xfbffffff (rw,non-prefetchable,disabled)
Memory Range: 0xb0000000-0xbfffffff (ro,non-prefetchable,disabled)
Memory Range: 0xc0000000-0xc1ffffff (ro,non-prefetchable,disabled)
I/O Ports: 0xf000-0xffff (rw,disabled)
Memory Range: 0xfc000000-0xfc07ffff (ro,non-prefetchable,disabled)
IRQ: 255 (no events)
Module Alias: "pci:v000010DEd00002191sv00001043sd0000171Fbc03sc00i00"
Driver Info #0:
Driver Status: nouveau is not active
Driver Activation Cmd: "modprobe nouveau"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #30 (PCI bridge)
32: PCI 500.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: Ddhb.SJNlrH_Yvq6
Parent ID: JZZT.e+TNXSUNut3
SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:05:00.0
SysFS BusID: 0000:05:00.0
Hardware Class: graphics card
Model: "ATI Renoir"
Vendor: pci 0x1002 "ATI Technologies Inc"
Device: pci 0x1636 "Renoir"
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x171f
Revision: 0xc6
Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
Memory Range: 0xe0000000-0xe01fffff (ro,non-prefetchable)
I/O Ports: 0xd000-0xdfff (rw,disabled)
Memory Range: 0xfc500000-0xfc57ffff (rw,non-prefetchable)
IRQ: 255 (no events)
Module Alias: "pci:v00001002d00001636sv00001043sd0000171Fbc03sc00i00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #24 (PCI bridge)
Primary display adapter: #18
hwinfo --arch
Arch: x86_64/grub
inxi -Gxx
Graphics: Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: ASUSTeK driver: N/A bus ID: 01:00.0 chip ID: 10de:2191
Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: N/A bus ID: 05:00.0 chip ID: 1002:1636
Display: server: X.Org 1.20.3 compositor: kwin_x11 driver: ati unloaded: fbdev,modesetting,radeon,vesa
resolution: 1920x1080~77Hz s-dpi: 96
OpenGL: renderer: llvmpipe (LLVM 9.0.1 128 bits) v: 3.3 Mesa 19.3.4 compat-v: 3.1 direct render: Yes
lspci -nnk
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] [10de:2191] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:171f]
Kernel modules: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation TU116 High Definition Audio Controller [10de:1aeb] (rev a1)
--
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev c6)
Subsystem: ASUSTeK Computer Inc. Device [1043:171f]
05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1637]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1637]
In the latest attemp to install the nvidia drivers, I removed xf86-video-nouveau and xf86-video-nv but I booted with nomodeset into init 3, with Secure boot enabled both in bios and grub2. (libdrm_nouveau2 was installed)
I tried installing the hard way using each of NVIDIA-Linux-x86_64-435.21.run and NVIDIA-Linux-x86_64-430.09.run (uninstalling and rebooting between each attempt) In this case i accepted most of the defaults except as follows:
register kernel module with DKMS: yes
but then the installation generated an error: “Unable to load the ‘nvidia-drm’ kernal module”
and examining the Xorg.0.log file after reboot seems to indicate the nvidia driver isn’t finding screens/devices.
6.442] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
6.442] (II) FBDEV: driver for framebuffer: fbdev
6.442] (II) VESA: driver for VESA chipsets: vesa
6.444] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
6.445] (EE) open /dev/dri/card0: No such file or directory
6.445] (WW) Falling back to old probe method for modesetting
6.445] (EE) open /dev/dri/card0: No such file or directory
6.445] (II) Loading sub module "fbdevhw"
6.445] (II) LoadModule: "fbdevhw"
6.446] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
6.446] (II) Module fbdevhw: vendor="X.Org Foundation"
6.446] compiled for 1.20.3, module version = 0.0.2
6.446] ABI class: X.Org Video Driver, version 24.0
6.446] (EE) Unable to find a valid framebuffer device
6.446] (WW) Falling back to old probe method for fbdev
6.446] (II) Loading sub module "fbdevhw"
6.446] (II) LoadModule: "fbdevhw"
6.446] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
6.446] (II) Module fbdevhw: vendor="X.Org Foundation"
6.446] compiled for 1.20.3, module version = 0.0.2
6.446] ABI class: X.Org Video Driver, version 24.0
6.446] (II) FBDEV(2): using default device
6.446] (EE) Screen 0 deleted because of no matching config section.
6.446] (II) UnloadModule: "modesetting"
6.446] (EE) Screen 0 deleted because of no matching config section.
6.446] (II) UnloadModule: "fbdev"
6.446] (II) UnloadSubModule: "fbdevhw"
6.446] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
Any recommendations?
Sorry for the long post and hopefully I figured out the code tags utility…