February 7, 2020 1:03 PM, "Claudia" <claud...@disroot.org> wrote:
> February 7, 2020 6:00 AM, zachm1...@gmail.com wrote: > >> I have a Thinkpad T495 with an AMD Ryzen Pro 3700U and Vega 10 graphics. >> Everything seems to be >> working besides suspend/resume which is crucial for me since I'm on the go a >> lot. I had to build my >> own Qubes R4.0 ISO to get the installer to work due to it needing a 5.0+ >> kernel for the graphics >> driver. I installed `kernel-latest` from qubes-dom0-current testing but >> still didn't work. After >> trying every kernel option on the face of this Earth I decided to use an >> experimental Qubes R4.1 >> build as some things were pointing to dom0 Fedora 25 being the issue. On >> dom0 Fedora 31 it's still >> an issue with a 5.4 kernel. Has been driving me nuts as I've spent almost >> the whole day trying to >> figure the issue out. >> >> When I suspend, it clearly suspends but when I open it back up the screen is >> off but the power LED >> is on. I can hear the fan spin up for a bit but nothing happens. CTRL + ALT >> + Backspace does >> nothing. I also tried switching to text mode before suspending with CTRL + >> ALT + F2. Nothing... I >> also disabled the compositor in XFCE to give it a try in both R4.0 and R4.1, >> no difference. It >> totally seems like an X server or amdgpu issue but I really don't know what >> to do. >> >> I don't have any VMs running when I test the suspend and I don't have a >> sys-usb VM to take that out >> of the equation. Any ideas? I'm scratching my head over here and I'm at a >> loss on what to try next. > > Did you try the Xen power.c patch? > > It sounds like a Xen panic. Some or all AMD Fam15h processors change their > CPUID feature bits after > resume, which triggers a Xen panic (LEDs and fans on, screen off, keyboard > and power button > unresponsive). There is a patch and instructions towards the end of this > thread: > https://www.mail-archive.com/qubes-users@googlegroups.com/msg31517.html - It > takes some work but it > sounds very likely it will fix your problem. Sys-usb causes other problems on > a lot of Ryzen > machines, so continue to keep it disabled for now. > > It doesn't sound like a graphics problem. Usually X or amdgpu issues result > in the screen's > backlight coming on but displaying a blank screen, and often the keyboard is > responsive just not > the screen. At least in my experience. > > PS: when replying to mailing lists please write your response *below* the > quoted text you're > replying to. Also I forgot to mention, if the patch works but you still run into other post-resume problems, you may have to pin dom0 to CPU0. See https://www.mail-archive.com/qubes-users@googlegroups.com/msg31737.html -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/98262c7f7b6c7ec43a72657febed1545%40disroot.org.