Ryzen 7000 amdgpu boot hang
aigarius.com
aigarius.com
https://www.amd.com/en/products/cpu/amd-ryzen-7-7700x
Cursory internet search brings up a Linux review page, where on the first page, it's explicitly stated that to run the cpu, the user is "needing Linux 5.18 + Mesa 22 / linux-firmware.git as of this month to make use of the Radeon iGPU under Linux", and later that "AMD Zen 4 processors [..] are working out-of-the-box on modern Linux distributions like Ubuntu 22.04 and newer."
https://www.phoronix.com/review/amd-ryzen7-7700x
This is a non-issue.
Been reported before as well: https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=firmware-a...
No idea why this made it to the frontpage though.
Aka the meme about Debian's packages being stale is on-point in this case?
Surprised to see that if true, esp. since Ubuntu has it working.
Though the slow rate of change is part of its value prop.
In the context of Debian, "stable" means that the software that makes up a given distribution does not change, even as the world — hardware, services, expectations — changes around it.
If you take "stable" to mean "I can use the OS to do my job, even as my hardware, the services I connect to over networks, and my expectations evolve over time", then in my experience a rolling release like Arch Linux works much better.
I've got an Arch Linux server for my email, git, etc that I've done virtually nothing other than package updates to for ~20 years (with two full hardware replacements "out from under the disks" in that time) and it still works as perfectly as it ever did, meanwhile equivalent Debian servers would have needed multiple brittle "upgrade the whole world" updates over the same time period and yet still would have been running ancient outdated software for the majority of that time.
The old definition of stable, where software might be missing needed security patches or hw related updates might need a rethink
Even with Jammy/Mint I'm having to use mainline installer to get support for a 2022 laptop that would otherwise suffer insufferable keyboard input lag and issues.. Something the Mint community tries to scare people away from.
Edit: anyone remembers having to prepare a sata driver floppy for windows 2000 (or was it 7?) when sata was new?
I also have a vague recollection of needing to install windows 98 from a floppy disk boot, then upgrading to windows XP as an upgrade, just because the bios didn’t support a cd-rom boot option. Fun times.
- I'm using an old dedicated graphics card (a RX480) instead of the integrated graphics on the CPU.
- The system hard crashes when I suspend then resume.
- Wow is it slow to POST. It takes about 20 seconds from when I power it on before grub shows up. Hopefully this gets fixed in a future BIOS version. (MSI hasn't updated the BIOS since release.)
- I also get a few warnings in dmesg about ACPI objects being already defined.
Other than that, everything feels solid. Sound, wifi and ethernet all work fine. All the cores show up and run great.
My understanding is that it is intentionally slow the first time you boot but should be normally slow after that. Apparently it is trying how fast it can clock the memory or something like that.
I wouldn't mind so much if suspend & resume worked.
Not sure why they take so much longer. Zen 3 was definitely faster for me as well. I’m not holding my breath that it’ll get significantly faster but I suppose it’s possible an update could do it.
Its probably just bugs in the 5.15 kernel I'm still running. Full zen 4 support wasn't added until linux 6.0, so I think I'm doing well as it is. Fingers crossed suspend is fixed by a newer kernel.
Given everything else in the system seems to work fine, I'm not too fussed.
Consider that using the same settings with different parts might lead to subtle instability, not a full on-boot crash.
DDR5 tops out somewhere around 8 Gigahertz clock speed, which means the data signals travel 3 centimeters before the next clock signal arrives. At those time scales it means you're going to have to align those data signals down to the micrometer if you want them to be properly received.
You could do an experiment. Remove some of the RAM modules and see if the 20 second boot time decreases.
If you took out a RAM stick and inserted it into the same slot, the conditions (due to dust, moisture, difference in seating) could be enough to throw off the reliability of the training data. So at minimum it has to verify the settings to be correct.
[1]: https://www.systemverilog.io/ddr4-initialization-and-calibra...
That said, I did activate EXPO on my 6000 MHz RAM sticks - which at first caused the system to hard freeze and nothing short of a CMOS clear could bring it back. But in the end, re-seating the RAM sticks seems to have sorted that one out and its running at the full rated speed now.
https://old.reddit.com/r/Amd/comments/xwfadm/when_expo_is_en...
Hard reboot, CPU code error… uh oh. Clear CMOS, boots again at 3000mhz. Decide to install Windows first, and then after I turned EXPO back on and have had zero issues at full rated speed. Even ram memtest to be sure.
Im running a MSI MPG x670e Carbon Wifi for what it’s worth.
I'm also using a MSI board FWIW: MAG B650M Mortar (WIFI)
IIRC they also said not to disable EXPO.
The 7700X at 65W TDP delivers 16% more than the 5800X at 105W TDP and 38% more than the 5700X at 65W TDP.
88W PPT = 65W TDP
And they can be undervolted as well.
Source: https://www.computerbase.de/2022-09/amd-ryzen-7950x-7900x-77...
edit: added 5700X
Now boot times on the other hand… If I didn’t have a motherboard with a debug digit readout, I definitely would have thought something was busted.
It's unfortunate because my desktop eats up about 110W when idle, and approximately 0W when suspended. I also use some sketchy successor to "barrier" to share my mouse and keyboard with my work laptop, and that somehow keeps my monitors from shutting off if I happen to leave the mouse cursor on the laptop's screen. That's another 100W according to my UPS.
There are undoubtedly dozens of power plants that exist purely due to the overall number of software bugs that exist. They're talking about banning natural gas in favor of electrical heating here in California, and I live in a chillier climate, so I must be saving the Earth by leaving my desktop powered on most of the time out of convenience.
I found a very strange one... Had the same issue. Switching to tty and then back to GUI would work fine so, to me, it wasn't that much of an issue. I used that workaround for months. Then one day I decided to look into it: switched the HDMI cable for a DisplayPort cable and the problem is now gone! If I put the HDMI cable back on, the issue happens again. It may or may not help some people having similar issues with their desktops.
I need to change my desk configuration in a few months, and it's going to get a lot simpler since I am going to separate out my work setup. At that point I won't be able to justify keeping the desktop powered on 24/7, so working suspend would be a major quality of life improvement. I'll keep that in mind, and try to avoid HDMI completely.
On the other hand, why wouldn't this likely be an AMDGPU driver issue? I suppose I should try booting into Windows and suspending from there, just to see if it's reliable. I could also try backing off my fclk frequency, and disable resizeable BAR for the laughs. I could even go as far as swapping my older Nvidia GPU back in and see if that suspends and resumes ok. I'm expecting a new born baby this week, so it's not like I have anything better to do!
I don't like producing e-waste, but if I conclusively knew it was a systemic Gigabyte issue, I would seriously consider switching to a new motherboard from another vendor. I built this desktop after being in the hospital ICU for 5 days, and promised myself I wouldn't spare any expense. I also expect it to last the next decade, and so I don't want to be annoyed by it long term...
Would you be able to share the details of your script? Or does it simply switch to a virtual terminal before suspending, then switch back after resuming?
Regarding e-waste. Not sure where you live, but we have Freecycle and a Facebook "Buy nothing" group that my wife uses. They let us find a home for tons of stuff we otherwise would have had to throw out.
[Unit]
Description=Switches to a TTY before suspending
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash -c 'fgconsole >
/tmp/fix_resume_active_console'
ExecStart=/usr/bin/chvt 1
ExecStop=/bin/bash -c '/usr/bin/chvt $(cat
/tmp/fix_resume_active_console)'
[Install]
WantedBy=sleep.targetMy Zen3 system with a 6700XT suspends fine on PopOS
That could explain the crash when suspending.
I remember from some reviews that the new Ryzens took a long time on the first boot for analyzing the RAM or something.
Could it be forgetting that analysis and having to do it again? Maybe try manually setting some RAM settings?
I have a new Intel NUC whose Iris graphics is apparently little too new for ubuntu's drivers/firmware (works fine on fedora beta and if i and install newer custom-build kernels on ubuntu). It hangs completely on startup without giving me any info.
That's actually one of the worst parts of these stupid splash-screened distros. Because they don't bother to help you at all, you have to go through some other mechanism (rescue mode), and understand how to debug the original problem.
it's all astonishingly user-hostile.
I was an early X570/Zen 2 and RDNA adopter. CPU/MB wete mostly fine but I couldn't get proper Vulkan support for an year until I pulled the trigger on a rolling distro for that particular build
Bootsplash just does this earlier in the process by inserting the module and throwing up some DRM/GBM app while in initramfs.
The system was still up, I ssh'd in and looked at the logs.
Do you see the error? Will not work with Debian for sure. Rather try a proper OS with updated firmware, like Fedora.
Debian is sadly behind a lot of the time.
I have two HP laptops that won't completely work with Windows, even the latest 11 22h2, yet have worked perfectly fine in Linux since day 1. And they're nothing fancy, either: year-old "enterprise" models, AMD/Intel with integrated graphics.
Sure, they don't break on boot (though one requires an external mouse to install windows), but they're clearly not fully supported, even after installing the plethora of HP drivers. The Intel one only recently got a graphics driver upgrade that allows it to reliably output 4k@60Hz over the usb-c ports.
I guess my point is, if all OSs seem equally amateurish, at least on the hardware support front, maybe it's not the OSs that are amateurish?
Hehe true, the exception's are probably people who work on rockets and satellites ;)
Own an M1 MacBook Pro now and never looked back at the hell of custom built PCs favourably.
I have two HP laptops, both supporting DisplayPort alt-mode over USB-C. I have Windows 11 and arch Linux on both, up-to-date. My USB dock's display out works at 4k@60 with both Linuxes, but only one windows. Go figure.
Now I have a studio display. Get out of box, plug it in, works. Open laptop, spans display instantly. Unplug, windows move to the laptop. Never goes wrong. No bugs.
New AMD GPU releases are crapfor a while. They're getting better fast, though
https://www.amd.com/en/products/cpu/amd-ryzen-7-7700x
Michael on Phoronix didn't seem to have a problem running his tests on the CPU, because it was "working out-of-the-box on modern Linux distributions like Ubuntu 22.04 and newer".
In the article the opposite....hint..hat would be no problem with windows...something has so change in the Linux-Mindset
In your case, it sounds like RHEL either had a regression, or decided not to support the architecture anymore. The laptop's release year is 2007, which is not too long ago, so I'd expect Linux to work on the machine. If this is a single incident, it might be an issue with the kernel, the distro, the particular media it's written on, or the machine itself.
1. Current Windows is supposed to be a supported platform by virtually all current hardware, because Windows is the de-facto consumer and office platform for decades. Linux, in comparison, is an aftermarket solution.
2. Windows, as a platform, is rife with problems, driver problems included. The word "driver" is present 12 times in this collection, for an example: https://itvision.altervista.org/why-windows-10-sucks.html (compared to the 46 times in the respective Linux article)
The Linux mindset, whatever it's supposed to mean, is perfectly fine. It works well, since its inception, as evidenced by the incredible amount of mindshare that goes into Linux - ranging from hobbyist interest to enterprise and government involvement.
Yeah on the server, not so much on the Desktop.
Yeah sure...all of them Googler's right?
Challenge Accepted and won.
Not the person you're responding to but I wouldn't call a T61p brand new, it was released in 2012 after all.
Mac OS Monterrey do not work to well on a powerbook G4 and even a Macbook contemporary to your T61P is not supported by post 2015 Mac OS releases.
I don't think Windows 11 works to well on a laptop of that era either.
I am pretty sure you can get a working T61P with some sort of Linux/BSD distro and security updates one way or another. It might means losing 3D acceleration support but I don't think you have any plan to play the latest AAA games on a 2007 laptop either.
So what is your point?
Windows 10 works perfectly.
>plan to play the latest AAA games on a 2007 laptop either.
Well yes i do actually, like Morrowind...but hey who talks about the latest AAA Games, Games from 2001 need Acceleration too.
So what's your point?
They also advertise the lack of ads in those apps so I suspect they are financed by some public (or charitable) institution. Unfortunately, all apps can't be finances this way so I personally would really like for some privacy minded ad network to appear.
I suppose most people associate ads with no tracking/ids as useless (paying an order of magnitude less than the alternative). I wish some innovative method emerged to make privacy friendly ads have comparable sucess rates.
People do not use Linux when they expect to have better than even odds of the machine booting.
I think it's the opposite. People frequently run a Linux live boot, to rescue a failing PC, Linux or not. If you google "live boot" or "rescue usb", most of the results are Linux, or are using Linux under the hood.