Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37

Thread: Ubuntu fails to boot (Nvidia hybrid)

  1. #1
    Join Date
    May 2021
    Beans
    19

    Ubuntu fails to boot (Nvidia hybrid)

    Hi,

    I have a machine with Geforce 960M + Intel 6700 HQ. But I haven't been able to boot Linux on this machine for the last 3 months.

    So far I've tried Ubuntu 24.10, 24.04, 22.04, Fedora 40 and Manjaro 24.0.5. All to no avail.

    I have already filed a bug report on launchpad: https://bugs.launchpad.net/ubuntu/+bug/2071680

    And several other posts on multiple forums:
    Ask Ubuntu
    : https://askubuntu.com/questions/1518...ybrid-graphics
    Nvidia developer forums
    : https://forums.developer.nvidia.com/...ce-960m/307298
    Manjaro Linux forum: https://forum.manjaro.org/t/manjaro-...-hybrid/166320


    Unfortunately the failed boots aren't captured by journalctl, that's why I haven't been able to trace the issue so far.

    Journalctl issue: https://askubuntu.com/questions/1520...via-journalctl

    So all-in-all, any help or suggestion leading to at least tracing the issue would be a sign of hope, and I very much would appreciate it.


    More system info
    : https://0x0.st/XV0M.txt
    Last edited by xashyar; September 24th, 2024 at 07:35 AM.

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,327
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar - Hello

    When you boot up - Ubuntu - can you boot to Grub's boot menu ?

    If so - get to a recovery console as a platform from which to work/explore.
    At grub's boot menu > advanced > recovery kernel > root shell.

    Then we can carry on.

    else we have to do something different
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Yess, sure I can. I can also boot into Ubuntu, but only via recovery mode.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,327
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar

    Then my next thought is to know what Nvida driver(s) is installed.
    Code:
    dpkg -l | grep -i nvidia
    where we are looking for the 550 version - only - driver; installed from our software repository.

    gots to be a reason
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    I'm currently running nouveau (note that it doesn't work/boot either), but I have previously tried 560, 550, 535 and 470:

    HTML Code:
    rc  libnvidia-compute-470:amd64                             470.256.02-0ubuntu0.24.04.1              amd64        NVIDIA libcompute package
    rc  libnvidia-compute-470-server:amd64                      470.256.02-0ubuntu0.24.04.1              amd64        NVIDIA libcompute package
    rc  libnvidia-compute-535:amd64                             535.183.01-0ubuntu0.24.04.1              amd64        NVIDIA libcompute package
    rc  libnvidia-compute-550:amd64                             550.107.02-0ubuntu1                      amd64        NVIDIA libcompute package
    rc  libnvidia-compute-560:amd64                             560.35.03-0ubuntu3                       amd64        NVIDIA libcompute package
    rc  libnvidia-gl-470:amd64                                  470.256.02-0ubuntu0.24.04.1              amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    rc  linux-modules-nvidia-470-6.8.0-38-generic               6.8.0-38.38+1                            amd64        Linux kernel nvidia modules for version 6.8.0-38
    rc  linux-modules-nvidia-470-6.8.0-40-generic               6.8.0-40.40                              amd64        Linux kernel nvidia modules for version 6.8.0-40
    rc  linux-modules-nvidia-470-6.8.0-41-generic               6.8.0-41.41                              amd64        Linux kernel nvidia modules for version 6.8.0-41
    rc  linux-modules-nvidia-470-server-6.8.0-44-generic        6.8.0-44.44+1                            amd64        Linux kernel nvidia modules for version 6.8.0-44
    rc  linux-modules-nvidia-470-server-6.8.0-45-generic        6.8.0-45.45+1                            amd64        Linux kernel nvidia modules for version 6.8.0-45
    rc  linux-modules-nvidia-535-6.8.0-36-generic               6.8.0-36.36+1                            amd64        Linux kernel nvidia modules for version 6.8.0-36
    rc  linux-modules-nvidia-535-6.8.0-38-generic               6.8.0-38.38+1                            amd64        Linux kernel nvidia modules for version 6.8.0-38
    rc  linux-modules-nvidia-535-6.8.0-39-generic               6.8.0-39.39                              amd64        Linux kernel nvidia modules for version 6.8.0-39
    rc  linux-modules-nvidia-535-6.8.0-40-generic               6.8.0-40.40                              amd64        Linux kernel nvidia modules for version 6.8.0-40
    rc  linux-modules-nvidia-535-6.8.0-41-generic               6.8.0-41.41+1                            amd64        Linux kernel nvidia modules for version 6.8.0-41
    rc  linux-modules-nvidia-535-6.8.0-44-generic               6.8.0-44.44+1                            amd64        Linux kernel nvidia modules for version 6.8.0-44
    rc  linux-modules-nvidia-550-6.11.0-7-generic               6.11.0-7.7+1                             amd64        Linux kernel nvidia modules for version 6.11.0-7
    rc  linux-modules-nvidia-550-6.8.0-45-generic               6.8.0-45.45+1                            amd64        Linux kernel nvidia modules for version 6.8.0-45
    rc  linux-objects-nvidia-470-6.8.0-38-generic               6.8.0-38.38+1                            amd64        Linux kernel nvidia modules for version 6.8.0-38 (objects)
    rc  linux-objects-nvidia-470-6.8.0-40-generic               6.8.0-40.40                              amd64        Linux kernel nvidia modules for version 6.8.0-40 (objects)
    rc  linux-objects-nvidia-470-6.8.0-41-generic               6.8.0-41.41+1                            amd64        Linux kernel nvidia modules for version 6.8.0-41 (objects)
    rc  linux-objects-nvidia-470-server-6.8.0-44-generic        6.8.0-44.44+1                            amd64        Linux kernel nvidia modules for version 6.8.0-44 (objects)
    rc  linux-objects-nvidia-470-server-6.8.0-45-generic        6.8.0-45.45+1                            amd64        Linux kernel nvidia modules for version 6.8.0-45 (objects)
    rc  linux-objects-nvidia-535-6.8.0-36-generic               6.8.0-36.36+1                            amd64        Linux kernel nvidia modules for version 6.8.0-36 (objects)
    rc  linux-objects-nvidia-535-6.8.0-38-generic               6.8.0-38.38+1                            amd64        Linux kernel nvidia modules for version 6.8.0-38 (objects)
    rc  linux-objects-nvidia-535-6.8.0-39-generic               6.8.0-39.39                              amd64        Linux kernel nvidia modules for version 6.8.0-39 (objects)
    rc  linux-objects-nvidia-535-6.8.0-40-generic               6.8.0-40.40                              amd64        Linux kernel nvidia modules for version 6.8.0-40 (objects)
    rc  linux-objects-nvidia-535-6.8.0-41-generic               6.8.0-41.41+1                            amd64        Linux kernel nvidia modules for version 6.8.0-41 (objects)
    rc  linux-objects-nvidia-535-6.8.0-44-generic               6.8.0-44.44+1                            amd64        Linux kernel nvidia modules for version 6.8.0-44 (objects)
    ii  linux-objects-nvidia-550-6.11.0-7-generic               6.11.0-7.7+1                             amd64        Linux kernel nvidia modules for version 6.11.0-7 (objects)
    rc  linux-objects-nvidia-550-6.8.0-45-generic               6.8.0-45.45+1                            amd64        Linux kernel nvidia modules for version 6.8.0-45 (objects)
    ii  linux-signatures-nvidia-6.11.0-7-generic                6.11.0-7.7+1                             amd64        Linux kernel signatures for nvidia modules for version 6.11.0-7-generic
    rc  nvidia-compute-utils-470                                470.256.02-0ubuntu0.24.04.1              amd64        NVIDIA compute utilities
    rc  nvidia-compute-utils-470-server                         470.256.02-0ubuntu0.24.04.1              amd64        NVIDIA compute utilities
    rc  nvidia-compute-utils-535                                535.183.01-0ubuntu0.24.04.1              amd64        NVIDIA compute utilities
    rc  nvidia-compute-utils-550                                550.107.02-0ubuntu1                      amd64        NVIDIA compute utilities
    rc  nvidia-compute-utils-560                                560.35.03-0ubuntu3                       amd64        NVIDIA compute utilities
    rc  nvidia-dkms-560                                         560.35.03-0ubuntu3                       amd64        NVIDIA DKMS package
    rc  nvidia-kernel-common-470                                470.256.02-0ubuntu0.24.04.1              amd64        Shared files used with the kernel module
    rc  nvidia-kernel-common-470-server                         470.256.02-0ubuntu0.24.04.1              amd64        Shared files used with the kernel module
    rc  nvidia-kernel-common-535                                535.183.01-0ubuntu0.24.04.1              amd64        Shared files used with the kernel module
    rc  nvidia-kernel-common-550                                550.107.02-0ubuntu1                      amd64        Shared files used with the kernel module
    rc  nvidia-kernel-common-560                                560.35.03-0ubuntu3                       amd64        Shared files used with the kernel module
    rc  nvidia-prime                                            0.8.17.2                                 all          Tools to enable NVIDIA's Prime
    rc  nvidia-settings                                         510.47.03-0ubuntu4                       amd64        Tool for configuring the NVIDIA graphics driver

    There was only 1 time, where 470 worked, but it stopped working after upgrading from 470.239.06-0ubuntu2 to 470.256.02-0ubuntu0.24.04.1.

    Is there any way to switch back to 470.239.06-0ubuntu2 ?
    Last edited by xashyar; September 25th, 2024 at 06:57 AM.

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,327
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar - Well --

    Lots of attempts

    Let's try this-a-way
    Secure boot disabled in Bios - as the driver is 3rd party.
    Run in terminal:
    Code:
    dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg -P
    sudo apt update
    sudo apt upgrade
    sudo ubuntu-drivers autoinstall
    removes the cruft:
    The state is rc, -the package is removed, but the config files are not removed-
    While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package. To purge all removed but not yet purged packages.
    and:
    autoinstall to allow the kernel to install the Nvidia version driver it deems fit (I expect the 550 version).

    Reboot to see the effect.

    is this a Yes !
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #7
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Bashing-om - unfortunately nothing changed.

    'autoinstall' installs the 560 version (as I'm running 24.10). But I get the same results (I have tried many clean-installs before as well, but they don't help either, it's the same even on Fedora, or Manjaro).

    This is the screen I get when the booting freezes/fails:



  8. #8
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Bashing-om - unfortunately nothing changed.

    'autoinstall' installs the 560 version (as I'm running 24.10). But I get the same results (I have tried many clean-installs before and it's the same even on Fedora, or Manjaro).

    This is the screen I get when the booting freezes/fails:




    https://ibb.co/hHW9SMN
    Last edited by xashyar; September 26th, 2024 at 10:27 PM.

  9. #9
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,327
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar; Yuk -

    I am really floundering here too - as I have no idea what "EFI stub" is telling us.

    However -- might give us a hint of what the kernel thinks:
    Code:
    less /var/log/gpu-manager.log
    a know-it-all --- I am not
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  10. #10
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Bashing-om; Thank you for your patience!

    I have prime-select currently set to on-demand, and it's worth noting that if I switch it into nvidia, I get a black-screen even if I boot via recovery mode from the grub menu.

    Here's the log output, and nvidia is shown to be blacklisted:

    HTML Code:
    log_file: /var/log/gpu-manager.log
    last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
    new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
    can't access /run/u-d-c-nvidia-was-loaded file
    can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
    Looking for nvidia modules in /lib/modules/6.11.0-8-generic/kernel
    Looking for nvidia modules in /lib/modules/6.11.0-8-generic/kernel/nvidia-560
    Found nvidia.ko module in /lib/modules/6.11.0-8-generic/kernel/nvidia-560/nvidia.ko
    Looking for amdgpu modules in /lib/modules/6.11.0-8-generic/kernel
    Looking for amdgpu modules in /lib/modules/6.11.0-8-generic/updates/dkms
    Is nvidia loaded? no
    Was nvidia unloaded? no
    Is nvidia blacklisted? yes
    Is intel loaded? yes
    Is radeon loaded? no
    Is radeon blacklisted? no
    Is amdgpu loaded? no
    Is amdgpu blacklisted? no
    Is amdgpu versioned? no
    Is amdgpu pro stack? no
    Is nouveau loaded? no
    Is nouveau blacklisted? yes
    Is nvidia kernel module available? yes
    Is amdgpu kernel module available? no
    Vendor/Device Id: 8086:191b
    BusID "PCI:0@0:2:0"
    Is boot vga? yes
    Error: can't access /sys/bus/pci/devices/0000:00:02.0/driver
    The device is not bound to any driver.
    Vendor/Device Id: 10de:139b
    BusID "PCI:1@0:0:0"
    can't open /sys/bus/pci/devices/0000:01:00.0/boot_vga
    Is boot vga? no
    Error: can't access /sys/bus/pci/devices/0000:01:00.0/driver
    The device is not bound to any driver.
    can't open /sys/bus/pci/devices/0000:01:00.0/boot_vga
    Chassis type: "10"
    Laptop detected
    can't access /etc/u-d-c-nvidia-runtimepm-override file
    can't open /sys/module/nvidia/version
    Warning: cannot check the NVIDIA driver major version
    Support for runtimepm not detected.
    You can override this check at your own risk by creating the /etc/u-d-c-nvidia-runtimepm-override file.
    Is nvidia runtime pm supported for "0x139b"? no
    Checking power status in /proc/driver/nvidia/gpus/0000:01:00.0/power
    Error while opening /proc/driver/nvidia/gpus/0000:01:00.0/power
    Is nvidia runtime pm enabled for "0x139b"? no
    Skipping "/dev/dri/card0", driven by "simpledrm"
    Skipping "/dev/dri/card0", driven by "simpledrm"
    Skipping "/dev/dri/card0", driven by "simpledrm"
    Skipping "/dev/dri/card0", driven by "simpledrm"
    Does it require offloading? no
    last cards number = 2
    Has amd? no
    Has intel? yes
    Has nvidia? yes
    How many cards? 2
    Has the system changed? No
    Intel IGP detected
    NVIDIA hybrid system
    can't open /sys/module/nvidia/version
    Creating /usr/share/X11/xorg.conf.d/11-nvidia-offload.conf
    Setting power control to "auto" in /sys/bus/pci/devices/0000:01:00.0/power/control
    Loading nvidia with "no" parameters
    Last edited by xashyar; September 27th, 2024 at 04:11 PM. Reason: brevity

Page 1 of 4 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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