Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.37k stars 257 forks source link

Bug Report: HDMI signal not sent after TV is restarted #956

Open jackduckworth opened 3 months ago

jackduckworth commented 3 months ago

What happened?

I have an OPi5 plugged into my TV via HDMI. I'm running Ubuntu 24.04.

Everything works fine until I turn the TV off and on again. The screen is now black and I cant get the display to come back on.

Similarly, if I turn the OPi5 on before the TV then I dont get any signal.

In both cases I can still connect via ssh, and everything seems healthy. But the only way, that I can find, to get the display back is to do a reboot.

Kernel version

6.1.0-1020-rockchip

SBC model

Orange Pi 5

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

Dim Screen:    off
Screen Blank:  Never
Joshua-Riek commented 3 months ago

When this problem occurs, can you login though ssh and post the output of dmesg?

GutsyHeart commented 3 months ago

Similar problem with a monitor connected via Display Port dmesg.log

jackduckworth commented 3 months ago

I seem to get this when I turn off the TV

rtw_8821cu 5-1:1.2: failed to download firmware rtw_8821cu 5-1:1.2: leave idle state failed rtw_8821cu 5-1:1.2: failed to send h2c command rtw_8821cu 5-1:1.2: failed to send h2c command rtw_8821cu 5-1:1.2: failed to leave ips state rtw_8821cu 5-1:1.2: failed to leave idle state

and this when I turn it on again

rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0 rockchip-vop2 fdd90000.vop: [drm:vop2_power_domain_off_by_disabled_vp] ERROR unexpected power on pd6 rockchip-vop2 fdd90000.vop: [drm:vop2_power_domain_off_by_disabled_vp] ERROR unexpected power on pd5

dmesg2.txt

jackduckworth commented 3 months ago

I was poking around with the cables behind the TV and just noticed this seems to be working now?

I noticed some kernel updates last time I did an update but wasn't expecting this to be fixed already.

And these message are no longer visible in dmesg:

rtw_8821cu 5-1:1.2: failed to download firmware rtw_8821cu 5-1:1.2: leave idle state failed rtw_8821cu 5-1:1.2: failed to send h2c command rtw_8821cu 5-1:1.2: failed to send h2c command rtw_8821cu 5-1:1.2: failed to leave ips state rtw_8821cu 5-1:1.2: failed to leave idle state