Finally got my wife away from Windows and on Fedora 40 (Gnome 46).
Now, when her PC goes to suspend and when she wakes it up, one of her 2 monitors doesn’t wake up.
Both are connected to HDMI ports (no dedicated video card, just the integrated card in her Ryzen 9).
Any ideas on what could be happening? I wouldn’t want her to go back to Winblows over something so insignificant, but she would.
One monitor not working after sleep - “insignificant”
Thats the true Linux nerd mentality :D
Jokes aside, can you check for anything gpu or monitor related in journalctl after the wakeup?
I’ll check all the logs as soon as she stands up from her desk. Thanks so much.
And about the “joke”, not really a joke. Most of us see that as nothing more than a slight bump on the road. But Windows users moving over to the brighter side of computers will see that as an excuse to go back to pain. People are weird.
I’d probably:
- make sure it can be reliably reproduced using something like
systemctl suspend
- try swapping the cables and see if it still happens on the same screen, or the same port
- look at journald/dmesg output for the period from suspend to resume
When the screen fails to wake, are you able to get it back by powering it off, or by unplugging it? Is it X or wayland?
Fedora 40 removes X by default (you’d have to install it yourself), so this is going to be using Wayland. Seems like they’re using Ryzen integrated graphics, so at least it shouldn’t be related to any of the problems with Nvidia on Wayland.
That’s correct. She’s on Ryzen integrated, and Wayland by default, and all info on this subject out there points to Nvidia related issues. Thanks guys.
Switched cables for between monitors, the same monitor did not come up again.
Wayland is the default on Fedora.
I’m waiting for my wife to get up from her desk to look at all the logs.
- make sure it can be reliably reproduced using something like
Why the image lol
FEDORA LINUX 40
Lemmy was forcing me to add an image to post, and I was away from the computer 🤣
The default post type is image, you can change to text.
Thanks. Seems like I still don’t know everything about using Lemmy. I appreciate the tip.
Normally it doesnt? But interesting
This happens to me consistently on Linux Mint. My secondary monitor which is an HDMI TV resumes fine and takes over as primary. The primary screen on a Display Port over USB fails to wake up.
I’m using the edge kernel line, version 6.5. I’ll try to downgrade to 5.15 to check if this is a kernel regression.
I’m running an AMD system with embedded graphics from Minisforum, btw. What are you running and which kernel?
i got pop (fresher kernel?) and xorg but same issue you described. i keep unplugged unless i am using it but also since it will limit main monitor fps.
I have tried disconnecting and then connecting the display to see if it will wake up, but it doesn’t work. Sometimes shutting down the display and turning it on again work.
Same. Minisforum mini PC HX90 on Ryzen integrated graphics. She’s on Kernel 6.8.7-300
I managed to get it on kernel 5.15 and replicate the issue. I had to find its USB-C charger to keep it on while I power down my monitor otherwise it would hard shutdown it. So, connecting the monitor back, the weirdest thing just happened. The display rearranged, but didn’t use the new monitor. Instead, the lock screen got resized and I could see my session behind it without logging in (!).
I’ve got this on dmesg:
[119330.829398] amdgpu 0000:63:00.0: [drm] *ERROR* no VCPI for [MST PORT:00000000e7b3da3d] found in mst state 000000005563f49a
journalctl gives more details:
May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (II) AMDGPU(0): Allocate new frame buffer 2560x1440 May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (II) AMDGPU(0): => pitch 10240 bytes May 03 17:05:01 Glass rtkit-daemon[1209]: Supervising 7 threads of 3 processes of 1 users. May 03 17:05:01 Glass rtkit-daemon[1209]: Successfully made thread 33483 of process 1581 owned by '1000' RT at priority 5. May 03 17:05:01 Glass rtkit-daemon[1209]: Supervising 8 threads of 3 processes of 1 users. May 03 17:05:01 Glass csd-media-keys[1761]: Unable to get default sink May 03 17:05:01 Glass csd-color[1770]: failed to reset xrandr-Samsung Electric Company-SAMSUNG gamma tables: gamma size is zero May 03 17:05:01 Glass csd-color[1770]: failed to reset xrandr-Samsung Electric Company-SAMSUNG gamma tables: gamma size is zero May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (II) Quirked EDID physical size to 0x0 cm May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (--) AMDGPU(0): HDMI max TMDS frequency 225000KHz May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (II) AMDGPU(0): EDID vendor "SAM", prod id 29044 May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (II) AMDGPU(0): Using hsync ranges from config file May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (II) AMDGPU(0): Using vrefresh ranges from config file May 03 17:05:01 Glass /usr/libexec/gdm-x-session[1601]: (II) AMDGPU(0): Printing DDC gathered Modelines:
I got it to switch monitors using Cinammon’s Display app, but it will not take two displays at the same time.
I would totally try a kernel update, even if it meant uxing zen kernel. Older kernels is one of the reasons why I stay away from Mint and Zorin.
Weirdest thing is I could swear it didn’t use to happen on Mint 21 until I both upgraded to 21.2 and switched to the edge low latency kernel. It doesn’t bother me much, and everything else just works, plus I’m addicted to
aptitude
so I need a Debian based distro.Aptitude is the one thing Debian based distros have that beat the rest.
Simmilar problem here. It was working fine (on PopOS) until I replaced GPU GTX 1060 for RX570 a month ago. It happened only few times and powering off/on using monitor button worked. I guess Nvidia was handling it better for some reason
Yeah, but it’s not an Nvidia issue since it’s Ryzen integrated.
deleted by creator
It’s 2 of the same Samsung monitors, no display port, only HDMI and VGA.
If you’re on xorg, try executing an xrandr script. I’m currently having a similar issue but haven’t gotten around to automating it yet.
I’ll look into that, but she’s on Wayland, so I doubt it’ll work.
So it works on windows? If so, then it’s probably not a hardware issue.
What I could recommend to help track down the issue:
- test another distro, if possible - sitting here on NixOS it works for me
- test another display manager (aka X11)
- test another desktop (KDE, LXDE, whatever)
If it’s none of the above, you might need to get your hands dirty
- check if it’s always the same monitor
- check the logs (
journalctl --boot -xe
) maybe something will jump out - monitor the reconnection of peripherials with
sudo udevadm monitor
- start it when everything’s booted up and everything’s plugged in
- disconnect problem monitor then reconnect it and observe the output
- suspend then wake the computer and check the output
That might give you a hint of what’s going on.
There’s a change something isn’t working in terms of drivers. You can probe her computer with the executable from https://linux-hardware.org/ and share uploaded result here. Maybe there’ll be an indication of a missing driver or something.
Thanks to everyone that tried to guide me.
Quick update: For some weird reason, it’s not happening anymore. I ran a dnf update out of habit on it last night when we were going to bed, and completely neglected testing it. Today she suspended it to go out, and when she came back, it just woke up, entered her password, and both monitors were working.
May have been I updated the kernel, but I honestly don’t remember if it even asked to restart to update,so,maybe it wasn’t? I’m confused, but happy that she never even mentioned windows, so it seems like she’s staying on this side of smart.
Occasionally only one of my monitors will turn on, I end up having to unplug the power cable to kick the other in to life.
I’m using Debian, with an AMD 6700 XT graphics card, dual monitors via display port. I’ve just ended up accepting it as one of the quirks of the Linux experience.
I’m going to try anything I can to keep her from going back to Winblows.