Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

  1. #1

    Default openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    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
    Code:
    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

    Code:
    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

    Code:
    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.
    Code:
    [     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...

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,076

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    You have dual GPUs and an odd hardware setup. Most cases it its Intel+NVIDIA called Optimus. In this case it is AMD plus NVIDIA. Just maybe you need to try suse-prime which is used in the Intel-NVIDIA case to control which GPU is in control. The problem is the NVIDIA driver uses special X stack programs which are incompatible with other brand GPU. Can you turn off the AMD GPU from the BIOS??

  3. #3

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    Thanks for your reply...
    Not familiar with prime, so I looked it up. It says I can't have Wayland or an xorg.conf (etc).
    I don't have an xorg.conf and a quick check suggests xorg.conf.d files do not have any offending assignments.
    However, checking in yast2 there are a lot of Wayland references. Is that going to be a problem?
    Also, I could not find any ref for turning off the AMD gpu in bios.

  4. #4

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    I also just checked the nvidia-installer.log, which I should have mentioned...
    It says that it is unable to load the 'nvidia-drm' kernel module
    Sorry, that's probably relevant

  5. #5

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    Does anyone have any plausible solutions that will help me get the nvidia drivers installed on this system?
    gogalthorp suggested it may be a conflict with the amd gpu drivers, but I have no clue how to circumvent this and suse-prime did not help.

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,076

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    To Wayland. normally it may depend om which desktop. at this time Wayland on KDE + NVIDIA may not work completely well Gnome does better.

    Did you try to disable the AMD GPU???

    Also I guess you are installing the hardway try installing from the NVIDIA repo.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,182
    Blog Entries
    15

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    Hi
    @bcain, install from the nvidia run file (the hard way), see https://en.opensuse.org/SDB:NVIDIA_the_hard_way

    Depending on desktop choice, and for sure use Xorg not Wayland. To use the dGPU (The AMD) one on the GNOME DE install switcheroo-control (adds an option to use dGPU on right-click of a desktop/menu icon) or DRI_PRIME=1 <some app> from the command line should kick it into life.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    thanks gogalthorp and Malcolm,
    I could not find a way to disable the AMD gpu in bios and I am indeed trying to install nvidia the hard way, but now I've run afoul of the secure boot requirements.
    I've seen some recommendations about turning secure boot off in bios and disabling it in the boot loader, but then others issue dire warnings about doing that.
    Do I have to create some kind of a special GPG key pair to move foreward? I've not had any noteworthy experience with this level of security of signing/authenticating files.
    This is definitely not a task for a novice who is faint of heart! I need a better cookbook than https://en.opensuse.org/SDB:NVIDIA_the_hard_way

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,182
    Blog Entries
    15

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    Quote Originally Posted by bcain View Post
    thanks gogalthorp and Malcolm,
    I could not find a way to disable the AMD gpu in bios and I am indeed trying to install nvidia the hard way, but now I've run afoul of the secure boot requirements.
    I've seen some recommendations about turning secure boot off in bios and disabling it in the boot loader, but then others issue dire warnings about doing that.
    Do I have to create some kind of a special GPG key pair to move foreward? I've not had any noteworthy experience with this level of security of signing/authenticating files.
    This is definitely not a task for a novice who is faint of heart! I need a better cookbook than https://en.opensuse.org/SDB:NVIDIA_the_hard_way
    Hi
    Just disable secure boot via YaST and BIOS and move on to install the nvidia driver You can also go into the BIOS and select the efi entry for non-secure boot....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus

    Thanks Malcolm,
    After disabling Secure Boot in bios and yast2, I ran the nvidia installation script successfully. I opted to allow it to rewrite the xorg.conf file and on reboot, all I got was a bsod.
    I thought that this might be due to the xorg.conf file so I renamed it, which allowed getting to a console login.
    I then checked the boot kernel params and there was a "nomodeset", which I removed and rebooted without any effect (still getting to a init 3 login).
    Any suggestions?
    Cheers.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •