Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 37

Thread: Ubuntu fails to boot (Nvidia hybrid)

  1. #11
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,348
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar - at least we have some Hints

    can't access /run/u-d-c-nvidia-was-loaded file

    Is nvidia loaded? no

    Is nvidia blacklisted? yes

    Error: can't access /sys/bus/pci/devices/0000:00:02.0/driver
    The device is not bound to any driver.

    can't open /sys/module/nvidia/version
    Hummm ...
    It's possible that when you last switched from Intel to nvidia that the process wasn't completed. So you have nvidia loaded & blacklisted. You could try either - or both:
    switch to intel, reboot, switch to nvidia, reboot, i.e
    Code:
    sudo prime-select intel
    reboot
    sudo prime-select nvidia
    reboot
    Now is Nvidia still blacklisted ?
    Code:
    ls /etc/modprobe.d/
    ls /lib/modprobe.d
    If still blacklisted:
    Code:
    sudo rm /lib/modprobe.d/blacklist-nvidia.conf
    may be worth a shot.

    be nice if it were this simple --- hope !
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  2. #12
    Join Date
    Oct 2010
    Beans
    86

    Re: Ubuntu fails to boot (Nvidia hybrid)

    question, i'm a new guy so don't expect much. are you running multiple drives or are you partitioning if you are running multiple o.s.'s? the reason i ask is this, when i first started trying to install multiple o.s.'s my ubuntu o.s. was continually being installed on the second drive when i was leaving more than half the primary drive for it to install in, before i put all my windows programs in the trash. i solved that by unplugging second ssd when installing second o.s.

    the next reason i ask that question is, i just found out why i wasn't able to get my o.s. to boot period. my problem started and i got the grub screen too, but i wasn't able to get to it right away so i turned of computer with switch. when i got enough time to work on it again, it didnt go back to the grub screen it would freeze on /dev/nvme0n1p2: (blah blah blah) screen. my problem was i overlooked the simplest thing, i forgot to check whether my primary drive was dead or not.

    have you tried something simple to help you troubleshoot like full installing ubuntu on a larger flash drive flash drive (like 256gb) and seeing if it will boot from there? it could help with your troubleshooting.

  3. #13
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Hi Bashing-om,

    When I switch to nvidia, something strange happens:

    Ubuntu boots (only via 'recovery mode' of course), but it doesn't reach the login screen (I get a blank screen instead of the login screen).

    However, that doesn't generate a blacklist-nvidia.conf by itself. Let me recount the steps:


    Code:
    1. sudo prime-select intel
    2. reboot
    3. sudo prime-select nvidia
    4. reboot
    // ubuntu fails to reach the 'login-screen', therefore switching back to intel (no 'blacklist-nvidia.conf' generated yet)
    5. sudo prime-select intel
    // ubuntu once again fails to reach the 'login-screen'
    6. reboot
    // ubuntu reaches the 'login-screen' and now 'blacklist-nvidia.conf' is generated.
    I guess removing /lib/modprobe.d/blacklist-nvidia.conf, prevents you from reaching the login screen, even when you have switched prime-select to intel.

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

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar - Hummm ...

    Well at lest we have another data point --

    As we have the error:
    Error: can't access /sys/bus/pci/devices/0000:01:00.0/driver
    The device is not bound to any driver.
    does the symbolic link exist ?
    show:
    Code:
    ls -al /sys/bus/pci/devices/0000:01:00.0/driver
    well past my end_of_session time here -- will check back in tomorrow by that time I will have a fresher mind and not as liable to silly mistakes.

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

    Happy ubuntu'n !

  5. #15
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Hi, looks like it doesn't exist:
    HTML Code:
     ls: cannot access '/sys/bus/pci/devices/0000:01:00.0/driver': No such file or directory

    The '/sys/bus/pci/devices/0000:01:00.0/' directory exists, but there's no 'driver' inside.
    Last edited by xashyar; October 3rd, 2024 at 09:06 PM.

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

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar; Ouch !

    I am now aware that there exist "issues" with the 550/560 drivers in 24.10:
    https://ubuntu-archive-team.ubuntu.c...ismatches.html
    As to weather this affects you - I do not have the knowledge to say.

    How about trying an older version driver ?
    what shows:
    Code:
    sudo ubuntu-drivers list
    it's broke, Sam
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #17
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Bashing-om; Yup...

    Should I try one of the older ones and see if, 'ls -al /sys/bus/pci/devices/0000:01:00.0/driver' returns anything?
    nvidia-driver-550, (kernel modules provided by nvidia-dkms-550)
    nvidia-driver-535, (kernel modules provided by nvidia-dkms-535)
    nvidia-driver-560, (kernel modules provided by linux-modules-nvidia-560-generic-hwe-24.04)
    nvidia-driver-535-server, (kernel modules provided by linux-modules-nvidia-535-server-generic-hwe-24.04)
    The pity of it is, that I was on 24.04 before upgrading to 24.10, so I've tried 535 and 470 as well, both to no avail, and as I mentioned before the only version that I remember working was 470.239.06-0ubuntu2 and it stopped working as well, after upgrading to 470.256.02-0ubuntu0.24.04.1.
    Besto!
    Last edited by xashyar; October 4th, 2024 at 11:56 AM.

  8. #18
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,348
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar; Yukkie poo - on me too.

    I have seen this:
    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:
    before, and have not been able to find the fault I was hopeful in your case that here was put a dropped sym link - not !)

    I am at a dead end and do not have the skills to push forward. If no other offers assistance - might be best at ^that time to bite the bullet and do a fresh clean install and see then what results.

    drop back 5 yards, and punt
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  9. #19
    Join Date
    May 2021
    Beans
    19

    Re: Ubuntu fails to boot (Nvidia hybrid)

    Okey thanks.

    But just to conclude so far, are we clear that this is definitely an Nvidia issue? (In that case I wonder why Nouveau never works)

    When I run Ubuntu live from a thumb drive, the Nouveau driver works fine, it's after installing that things go wrong.

    Therefore could this be related to UEFI firmware, Linux Kernel or anything else?

    Also did the ubuntu-drivers list result return anything useful?

    As for fresh install I've bit the bullet so many times, not sure if anything's different this time.

    Best,

  10. #20
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,348
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Ubuntu fails to boot (Nvidia hybrid)

    xashyar -- Welp -
    So long as you are willing to continue to struggle with this to find a solution - I too am willing to hold your hand

    As to exclusively an Nvidia issue - I am not prepared to make that claim. You have tried different distros and all the available Nvida drivers - seems to me this is a more a OEM implementation of their hardware interface - but yet I do not know.
    What we can do to gain another data points
    1) See what results booting up with the "nomodeset" boot parameter
    (from here - with the prior prudent planning - might have better results to install an Nvidia driver)
    2) Reproducible with either/both X11/Wayland environments ?
    see here what we are working from:
    Code:
    systemctl status display-manager
    echo $DESKTOP_SESSION " " $XDG_CURRENT_DESKTOP
    echo $XDG_SESSION_TYPE
    I am all in for fighting, as I too step up on the learning curve
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 2 of 4 FirstFirst 1234 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
  •