Notice this after booting up this morning (my time). I can’t wake the monitor after leaving it for some time when it goes to sleep by itself. I also have a keyboard shortcut that triggers
sleep 0.5; xset dpms force off
After hitting it I can’t wake up the monitor either. It’s connected via hdmi and I have only KDE desktop installed here.
The only thing that works is hard reset with a power button.
On the internet someone once suggested running
xrandr --auto
to check whether it’s a bug or not. This doesn’t work for me. When screen goes off I can run this command by opening terminal with a Ctrl-Alt-T shortcut and then typing it blindly or going back in bash history with arrow up. Nothing happens and I, of course, can’t see the messages. I can ssh into the machine and it still works, but xrandr fails with “Cannot connect to display” message.
On trying to wake up the monitor with keyboard some light comes on - it changes color from black to dark grey.
I’ve updated the system with a bunch of new packages getting installed but the issue persists.
For now I’ve disabled Screen Energy Saving Switch off in KDE Power Management settings but this is not ideal.
I’ve created a custom shortcut to capture xrandr output into a file and run the same command in terminal when monitor is not waking up - it appears that no keyboard input registers at all. Custom shortcut doesn’t trigger the action and terminal doesn’t open with Ctrl-Alt-T, so cycling through bash history does not work either.
Keyboard itself still has it lights on and hitting it still brings up some kind of backlight to the display so it looks like its trying to wake up but can’t.
raijar
January 6, 2021, 1:03pm
3
I reinstalled Tumbleweed last night and I have the same situation on my computer.
raija@localhost:~> inxi -F
System: Host: localhost Kernel: 5.10.4-1-default x86_64 bits: 64 Desktop: KDE Plasma 5.20.4
Distro: openSUSE Tumbleweed 20210104
Machine: Type: Mini-pc System: Intel Client Systems product: NUC8i7BEH v: J72992-306 serial: <superuser/root required>
Mobo: Intel model: NUC8BEB v: J72688-306 serial: <superuser/root required> UEFI: Intel
v: BECFL357.86A.0073.2019.0618.1409 date: 06/18/2019
CPU: Topology: Quad Core model: Intel Core i7-8559U bits: 64 type: MT MCP L2 cache: 8192 KiB
Speed: 545 MHz min/max: 400/4500 MHz Core speeds (MHz): 1: 582 2: 551 3: 595 4: 546 5: 555 6: 551 7: 563 8: 557
Graphics: Device-1: Intel Iris Plus Graphics 655 driver: i915 v: kernel
Display: x11 server: X.org 1.20.10 driver: modesetting unloaded: fbdev,vesa resolution: <xdpyinfo missing>
OpenGL: renderer: Mesa DRI Intel Iris Plus Graphics 655 (CFL GT3) v: 4.6 Mesa 20.2.4
Audio: Device-1: Intel Cannon Point-LP High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.10.4-1-default
Network: Device-1: Intel Ethernet I219-V driver: e1000e
IF: eno1 state: up speed: 100 Mbps duplex: full mac: 1c:69:7a:00:6a:55
Drives: Local Storage: total: 931.51 GiB used: 29.21 GiB (3.1%)
ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
Partition: ID-1: / size: 929.01 GiB used: 29.15 GiB (3.1%) fs: btrfs dev: /dev/sda2
ID-2: /home size: 929.01 GiB used: 29.15 GiB (3.1%) fs: btrfs dev: /dev/sda2
ID-3: /opt size: 929.01 GiB used: 29.15 GiB (3.1%) fs: btrfs dev: /dev/sda2
ID-4: /var size: 929.01 GiB used: 29.15 GiB (3.1%) fs: btrfs dev: /dev/sda2
Swap: ID-1: swap-1 type: partition size: 2.00 GiB used: 0 KiB (0.0%) dev: /dev/sda3
Sensors: System Temperatures: cpu: 42.0 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Info: Processes: 244 Uptime: N/A Memory: 7.62 GiB used: 1.27 GiB (16.7%) Shell: bash inxi: 3.1.00
raija@localhost:~>
Stan_Ice:
I’ve created a custom shortcut to capture xrandr output into a file and run the same command in terminal when monitor is not waking up - it appears that no keyboard input registers at all. Custom shortcut doesn’t trigger the action and terminal doesn’t open with Ctrl-Alt-T, so cycling through bash history does not work either.
Keyboard itself still has it lights on and hitting it still brings up some kind of backlight to the display so it looks like its trying to wake up but can’t.
Probably you were hit by this problem:
https://bugzilla.suse.com/show_bug.cgi?id=1180543
Regards
susejunky
By all accounts - yes. Takashi Iwai’s suggested workaround works - I added
snd_hda_codec_hdmi.enable_silent_stream=0
to boot options, first manually, then permanently with Yast Boot loader, and the system wakes up again. I can’t decipher what the problem is exactly and when it can be properly fixed. Something to do with old Intel hdmi sound drivers, which I never got to work on this machine anyway.
Thanks Susejunky, this has been very helpful.
PS. I tried blacklisting it as suggested in a link in bugzilla:
# /etc/modprobe.d/snd_hda.conf
options snd_hda_codec_hdmi enable_silent_stream=N
but was unsuccessful. For single monitor N should be 0, I guess, and I created /etc/modprobe.d/snd_hda.conf file with the line “options …” but it didn’t work. Maybe I wasn’t doing it right.
raijar
January 6, 2021, 5:48pm
6
Stan_Ice:
By all accounts - yes. Takashi Iwai’s suggested workaround works - I added
snd_hda_codec_hdmi.enable_silent_stream=0
to boot options, first manually, then permanently with Yast Boot loader, and the system wakes up again. I can’t decipher what the problem is exactly and when it can be properly fixed. Something to do with old Intel hdmi sound drivers, which I never got to work on this machine anyway.
Thanks Susejunky, this has been very helpful.
PS. I tried blacklisting it as suggested in a link in bugzilla:
# /etc/modprobe.d/snd_hda.conf
options snd_hda_codec_hdmi enable_silent_stream=N
but was unsuccessful. For single monitor N should be 0, I guess, and I created /etc/modprobe.d/snd_hda.conf file with the line “options …” but it didn’t work. Maybe I wasn’t doing it right.
What should I do?
Do I add a file /etc/modprobe.d/snd_hda.con f and edit there a line *options snd_hda_codec_hdmi enable_silent_stream=0 *?
Hi
Add it to the grub kernel boot options, YaST -> bootloader
raijar
January 6, 2021, 11:54pm
8
URL: SUSE Paste
Sorry, I have a Finnish version of Tumbleweed …
You mean Yast2 and bootloader?
And there ‘core parameters’?
And ‘Kernel Optional Command Line Parameters’?
That line now has ‘splash = silent quiet’.
Do I put a comma-separated line on that line (options snd_hda_codec_hdmi enable_silent_stream = 0)?SUSE Paste
URL: SUSE Paste
RaijaR:
URL: SUSE Paste
Sorry, I have a Finnish version of Tumbleweed …
You mean Yast2 and bootloader?
And there ‘core parameters’?
And ‘Kernel Optional Command Line Parameters’?
That line now has ‘splash = silent quiet’.
Do I put a comma-separated line on that line (options snd_hda_codec_hdmi enable_silent_stream = 0)?SUSE Paste
URL: SUSE Paste
Hi
Yes after the ‘splash = silent quiet’. So this worked for you?
raijar
January 7, 2021, 1:03pm
10
I have done some testing.
The setting on Yast did not work. Act as before.
URL: SUSE Paste
I edited a line options snd_hda_codec_hdmi enable_silent_stream=0 to */etc/modprobe.d/snd_hda.conf *file.
This work for me.
**localhost:~ #** nano /etc/modprobe.d/snd_hda.conf
**localhost:~ #**
**localhost:~ #** cat /etc/modprobe.d/snd_hda.conf
options snd_hda_codec_hdmi enable_silent_stream=0
**localhost:~ #**
URL: SUSE Paste
ps. I am also studying adding an image to a site.
I have done some testing.
1. The setting on Yast did not work. Act as before.
No comma, only a blank space to the command before.
raijar
January 7, 2021, 2:37pm
12
Sauerland:
I have done some testing.
1. The setting on Yast did not work. Act as before.
No comma, only a blank space to the command before.
Still works same way. On the other words don’t work for me.
URL: SUSE Paste
ps. I prefer images because text don’t need to be translated
Only add snd_hda_codec_hdmi.enable_silent_stream=0 DO NOT add options and there must be no spaces before or after the = .
The input field in YaST should look like this
splash=silent quiet snd_hda_codec_hdmi.enable_silent_stream=0
Regards
susejunky
raijar
January 7, 2021, 3:45pm
14
susejunky:
Only add snd_hda_codec_hdmi.enable_silent_stream=0 DO NOT add options and there must be no spaces before or after the = .
The input field in YaST should look like this
splash=silent quiet snd_hda_codec_hdmi.enable_silent_stream=0
Regards
susejunky
Thank you!
I finally understand what to do.
It’s embarrassing to ask the same thing many times when you don’t understand the text. :shame:
raijar
January 7, 2021, 11:15pm
15
Finally, the Yast2 trick works as it should.
rcurtis
December 9, 2021, 2:31am
16
Thank you for your information.
I’m experiencing the same issue, but the solution does not work for me.
I have tried the
cat /etc/modprobe.d/snd_hda.confoptions snd_hda_codec_hdmi enable_silent_stream=0
and the kernel option to boot with
hda_codec_hdmi.enable_silent_stream=0
Both options do not work.
After I wake up my system. The first monitor start, but the second one stays black.
If I run
xrandr --auto --output DP-3 --mode 1920x1080 --right-of DP-1-1
then the second monitor will wake up and the desktop will extend to the second monitor.
I have to run this command every time my monitors wake up.
I tried both Wayland and Xorg servers when logging in.
Do you have any other options to try?
This is a laptop with a USB-C docking station with 2 HDMI monitors connected to it.
Here is my system information:
**inxi -F**
System: Host: e14 Kernel: 5.3.18-59.37-default x86_64 bits: 64 Console: tty 0 Distro: openSUSE Leap 15.3
Machine: Type: Laptop System: LENOVO product: 20RA0052US v: ThinkPad E14 serial: PF2H561J
Mobo: LENOVO model: 20RA0052US v: SDK0J40697 WIN serial: L1HF0CL00P5 UEFI: LENOVO v: R16ET32W (1.18 )
date: 06/30/2021
Battery: ID-1: BAT0 charge: 39.2 Wh condition: 41.1/45.7 Wh (90%)
CPU: Topology: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP L2 cache: 8192 KiB
Speed: 644 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 5: 700 6: 700
7: 701 8: 700
Graphics: Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
Display: server: X.org 1.20.3 driver: modesetting unloaded: fbdev,vesa tty: 118x30
Message: Advanced graphics data unavailable in console for root.
Audio: Device-1: Intel Comet Lake PCH-LP cAVS driver: snd_hda_intel
Device-2: JMTek LLC. USB PnP Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid
Sound Server: ALSA v: k5.3.18-59.37-default
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: eth0 state: down mac: 8c:8c:aa:58:2c:9d
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter driver: rtw_8822ce
IF: wlan0 state: down mac: a6:ca:60:d2:28:4e
Device-3: Realtek 802.11ac WLAN Adapter type: USB driver: btusb
Device-4: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: f8:e4:3b:5d:32:34
IF-ID-1: virbr0 state: down mac: 52:54:00:31:f6:54
Drives: Local Storage: total: 1.36 TiB used: 182.51 GiB (13.1%)
ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P5SSD8 size: 465.76 GiB
ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
Partition: ID-1: / size: 154.66 GiB used: 10.13 GiB (6.5%) fs: xfs dev: /dev/nvme0n1p2
ID-2: /home size: 274.09 GiB used: 172.38 GiB (62.9%) fs: ext4 dev: /dev/nvme0n1p3
Swap: ID-1: swap-1 type: partition size: 31.04 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p4
Sensors: System Temperatures: cpu: 49.0 C mobo: 0.0 C
Fan Speeds (RPM): cpu: 0
Info: Processes: 269 Uptime: N/A Memory: 31.04 GiB used: 1.81 GiB (5.8%) Init: systemd runlevel: 5
Shell: bash inxi: 3.1.00
conram
December 9, 2021, 2:48am
17
rcurtis:
Thank you for your information.
I’m experiencing the same issue, but the solution does not work for me.
I have tried the
cat /etc/modprobe.d/snd_hda.confoptions snd_hda_codec_hdmi enable_silent_stream=0
and the kernel option to boot with
hda_codec_hdmi.enable_silent_stream=0
Both options do not work.
After I wake up my system. The first monitor start, but the second one stays black.
If I run
xrandr --auto --output DP-3 --mode 1920x1080 --right-of DP-1-1
then the second monitor will wake up and the desktop will extend to the second monitor.
I have to run this command every time my monitors wake up.
I tried both Wayland and Xorg servers when logging in.
Do you have any other options to try?
This is a laptop with a USB-C docking station with 2 HDMI monitors connected to it.
Here is my system information:
**inxi -F**
System: Host: e14 Kernel: 5.3.18-59.37-default x86_64 bits: 64 Console: tty 0 Distro: openSUSE Leap 15.3
Machine: Type: Laptop System: LENOVO product: 20RA0052US v: ThinkPad E14 serial: PF2H561J
Mobo: LENOVO model: 20RA0052US v: SDK0J40697 WIN serial: L1HF0CL00P5 UEFI: LENOVO v: R16ET32W (1.18 )
date: 06/30/2021
Battery: ID-1: BAT0 charge: 39.2 Wh condition: 41.1/45.7 Wh (90%)
CPU: Topology: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP L2 cache: 8192 KiB
Speed: 644 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 5: 700 6: 700
7: 701 8: 700
Graphics: Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
Display: server: X.org 1.20.3 driver: modesetting unloaded: fbdev,vesa tty: 118x30
Message: Advanced graphics data unavailable in console for root.
Audio: Device-1: Intel Comet Lake PCH-LP cAVS driver: snd_hda_intel
Device-2: JMTek LLC. USB PnP Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid
Sound Server: ALSA v: k5.3.18-59.37-default
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: eth0 state: down mac: 8c:8c:aa:58:2c:9d
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter driver: rtw_8822ce
IF: wlan0 state: down mac: a6:ca:60:d2:28:4e
Device-3: Realtek 802.11ac WLAN Adapter type: USB driver: btusb
Device-4: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: f8:e4:3b:5d:32:34
IF-ID-1: virbr0 state: down mac: 52:54:00:31:f6:54
Drives: Local Storage: total: 1.36 TiB used: 182.51 GiB (13.1%)
ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P5SSD8 size: 465.76 GiB
ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
Partition: ID-1: / size: 154.66 GiB used: 10.13 GiB (6.5%) fs: xfs dev: /dev/nvme0n1p2
ID-2: /home size: 274.09 GiB used: 172.38 GiB (62.9%) fs: ext4 dev: /dev/nvme0n1p3
Swap: ID-1: swap-1 type: partition size: 31.04 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p4
Sensors: System Temperatures: cpu: 49.0 C mobo: 0.0 C
Fan Speeds (RPM): cpu: 0
Info: Processes: 269 Uptime: N/A Memory: 31.04 GiB used: 1.81 GiB (5.8%) Init: systemd runlevel: 5
Shell: bash inxi: 3.1.00
Could be a different problem.
What is your DE
rcurtis
January 6, 2022, 11:49pm
18
The following command usually gets the second monitor to wake up:
xrandr --auto --output DP-3 --mode 1920x1080 --right-of DP-1-1
The following command avoids the issue, but obviously disables EnergyStar:
xset -dpms
Debug information:
xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/ghostscript/,/usr/share/fonts/cyrillic:unscaled,/usr/share/fonts/truetype/,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Disabled
Font cache:
Server does not have the FontCache Extension