Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: AMD 7900XT - driver or card issues?

  1. #1
    Join Date
    Aug 2023
    Beans
    7

    Question AMD 7900XT - driver or card issues?

    Hello, I'm a rather new user of Linux on the desktop / for gaming, and I am lost as to what has happened or how to fix it.

    I have a new PC with an AMD R9 7900X3D, an AMD RX 7900XT, and I am running Ubuntu 23.04. `apt` is fully updated, and I don't recall installing anything recently. I played a game last night for hours without any issue. I shut down my PC and went to bed. This afternoon, I got back and found that it hadn't truly shut off, which happens occasionally. I held power to shut it off, and then restarted it as usual. From here, I've been unable to get back to a fully working system with my GPU enabled.

    First, I wasn't able to boot at all. It would stop in a boot sequence with the usual output about some ACPI issues, and then the `fsck` output from my sole SSD. Nothing would happen. I booted into a live USB (safe mode) and ran `boot-repair`, which let me get to a GRUB screen and boot into recovery mode. I also ran `fsck` on my disk and it found no errors. In recovery mode, I attempted the following, followed by reboots into "normal" mode, all with no luck getting back GPU acceleration:

    - Installed latest stable MESA
    - Installed latest unstable MESA
    - Installed 6.2.0-24-generic kernel

    I'm back to the standard 6.2.0-26 now, and I don't know what else to do. I am able to boot into my system with this kernel, but my video is software accelerated. I am happy to provide any further information or logs, but I don't really know where to start - my experience with Linux is using it to run servers, not games. I'd very much appreciate any help with this. Is my card dead? is it my installation? How can I find out more information?

  2. #2
    Join Date
    Aug 2023
    Beans
    7

    Re: AMD 7900XT - driver or card issues?

    I found some more information. At some point in my flailing, I tried to install the proprietary AMD drivers and these blacklisted the `amdgpu` module. That is what allows me to boot, though obviously that is also why I do not have my GPU enabled. Removing the blacklist for amdgpu causes my boot process to hang right after displaying the fsck output from my SSD. It then gives me a blinking underline cursor that I cannot type at and I am unable to get past.

  3. #3
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: AMD 7900XT - driver or card issues?

    Why did you try to install the AMD driver? amdgpu is the driver needed, that is the AMD driver, and the module is used when the OS is installed if the card is supported.

    Do you mean you tried to install the AMDGPU-PRO overlay?
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  4. #4
    Join Date
    Aug 2023
    Beans
    7

    Re: AMD 7900XT - driver or card issues?

    I installed the deb from AMD's site here, after only being able to boot into recovery mode without any graphics module activated - I thought it might help. It didn't! I've since uninstalled it and unblacklisted the amdgpu module but that brings me back to being unable to get past boot. Only with the amdgpu module blacklisted can I get to a working machine. I am able to boot into a 23.04 live USB with full graphics though, so I think the problem lies somewhere in my filesystem, I just don't know where or how to find out where.

    Do you know of a way I can gather information on why a boot might hang in the very initial stages, right after the `fsck` output as in this image? I apologize for not being able to post the actual text and only a photo of my screen, since I don't know where to find this output.


  5. #5
    Join Date
    Aug 2023
    Beans
    7

    Re: AMD 7900XT - driver or card issues?

    reading `journalctl` helped me find what I think is the actual error, though searching key text from it hasn't yielded much help other than a couple other people having the same issue, some of whom say it is fixed with much older kernel versions than what I am using.

    Code:
    Aug 02 17:12:01 monolith kernel: amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with your previous command: SMN_C2PMSG_66:0x00000006 SMN_C2PMSG_82:0x00000000
    Aug 02 17:12:01 monolith kernel: amdgpu 0000:03:00.0: amdgpu: Failed to enable requested dpm features!
    Aug 02 17:12:01 monolith kernel: amdgpu 0000:03:00.0: amdgpu: Failed to setup smc hw!
    Aug 02 17:12:01 monolith kernel: [drm:amdgpu_device_ip_init [amdgpu]] *ERROR* hw_init of IP block <smu> failed -62
    Aug 02 17:12:01 monolith kernel: amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_init failed
    Aug 02 17:12:01 monolith kernel: amdgpu 0000:03:00.0: amdgpu: Fatal error during GPU init

  6. #6
    Join Date
    Aug 2023
    Beans
    4

    Re: AMD 7900XT - driver or card issues?

    hi, sorry about my english

    I recently found my similairly spec'ed PC to not be able to display drive password prompt after grub menu.
    Reconnecting my monitor to iGPU allowed me to enter the drive password but (X11) login manager did not show up.
    Rebooting with monitor connected to iGPU allowed me to log in and investigate.

    Code:
    Kubuntu 23.04 (updated)
    6.2.0-26-generic
    Code:
    $ lspci -v | grep -EA15 "03:00.0 VGA compatible controller"
    The following line was missing (in the section of 03:00.0):
    'Kernel driver in use: amdgpu'

    [skipping detailed info]

    After some time I narrowed my problem to:

    Code:
    $ apt show linux-firmware
    Package: linux-firmware
    Version: 20230323.gitbcdcfbcf-0ubuntu1.4
    because after downgrading it with the use of
    Code:
    $ sudo synaptic
    Code:
    $ apt policy linux-firmware
    linux-firmware:
      Installed: 20230323.gitbcdcfbcf-0ubuntu1.2
      Candidate: 20230323.gitbcdcfbcf-0ubuntu1.4
    I was able to boot and resume normal operation (need to digg what exacly I lost in terms of firmware security updates)
    I'm preparing more detailed baby's first report and I'll post it here and wherever advanced magicians point me to when it's ready.

    It does not seem to me that this important 'linux-firmware' package is in phased updates but idk.



    https://packages.ubuntu.com/search?k...linux-firmware
    lists
    Code:
    mantic (misc): Firmware for Linux kernel drivers
    20230731.git07f05b0c-0ubuntu1
    which looks newer that any of those:
    Code:
    20230323.gitbcdcfbcf-0ubuntu1.2
    20230323.gitbcdcfbcf-0ubuntu1.4
    so maybe they know there is a problem and fix is waiting for validation.

  7. #7
    Join Date
    Aug 2023
    Beans
    4

    Re: AMD 7900XT - driver or card issues?


  8. #8
    Join Date
    Aug 2023
    Beans
    7

    Re: AMD 7900XT - driver or card issues?

    Thanks for the reply selective-panic. The linked errors do look similar, and when I get home I will try to roll back the offending package to see if that solves my problem.

  9. #9
    Join Date
    Aug 2023
    Beans
    7

    Thumbs up Re: AMD 7900XT - driver or card issues?

    Thanks again selective-panic, this was the cause of my issue. Running the following fixed it (for now) and should mark the package as pinned until the bugs are resolved.

    Code:
    sudo apt update
    sudo apt upgrade
    sudo apt install linux-firmware=20230323.gitbcdcfbcf-0ubuntu1.2
    sudo apt-mark hold linux-firmware

  10. #10
    Join Date
    Aug 2023
    Beans
    4

    Re: AMD 7900XT - driver or card issues?

    I just deleted -proposed from my system, reverted to 1.2, updated to 1.5 from -updates and rebooted.

    Looks like it may be safe to unhold the package and update.

    perf looks normal:
    Code:
    $ DRI_PRIME=0 vblank_mode=0 glxgears
    Code:
    $ apt policy linux-firmware
    linux-firmware:
      Installed: 20230323.gitbcdcfbcf-0ubuntu1.5
      Candidate: 20230323.gitbcdcfbcf-0ubuntu1.5
      Version table:
     *** 20230323.gitbcdcfbcf-0ubuntu1.5 500
            500 http://gb.archive.ubuntu.com/ubuntu lunar-updates/main amd64 Packages
    edit (because new post got folded to a new page I copied it here to minimise the chance You miss it and encounter problems):

    Now if I think about it, if You use AMD drivers from their website,
    they may expect the newer firmware that was in 1.4 but got reverted in 1.5.

    New kernel releases this week as mentioned here:
    https://bugs.launchpad.net/ubuntu/+s...96/comments/33
    and the new firmware needs new kernel.

    So, maybe wait, there may be no point in testing AMD drivers with software setup that is going to go away in few days.
    Last edited by selective-panic; August 5th, 2023 at 01:09 PM.

Page 1 of 2 12 LastLast

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
  •