Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Ubuntu 18.04 with kernel drm-tip (1/6/2021, v5.11-rc2) or v5.10.
Symptom: Suffers screen blank in 4K@60Hz resolution by power-off monitor then power-on it. There is no this issue when HDMI's resolution is set with 1080p@60Hz for the same test steps.
It seems to not have fully modeset on 4K pipe (pipe-A for HDMI-A-1 from log) then lack edid's update & probing of connector's modes further...
GLK-kern-02172021.log
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
It's a bit hard to see from the log when things are happening. Can you insert some markers there to help see this. Could be done with something like:
1. echo "XXX turning off the monitor" > /dev/kmsg2. turn off the monitor and maybe wait ~10s3. echo "XXX turning on the monitor" > /dev/kmsg4. turn on the monitor and wait a bit again5. collect dmesg
Since it only happens with 4k I suspect it has something to do with the scrambling/bit clock ratio stuff. Can you try poking around in the SCDC registers a bit? IIRC would be something along the lines of:
1. modprobe i2c-dev2. locate the correct i2c bus number with eg. echo /sys/class/drm/card0-HDMI-A-1/i2c* should give eg. /sys/class/drm/card0-HDMI-A-1/i2c-5 where the '5' is the bus number3. Find out the current status from SCDC: i2cget <bus number> 0x54 0x20 i2cget <bus number> 0x54 0x21 i2cget <bus number> 0x54 0x404. could try to reset the scrambler stuff with something like i2cset <bus number> 0x54 0x20 0x0 i2cset <bus number> 0x54 0x20 0x3
root@intel-DUT:~# ls -l /sys/class/drm/card0-HDMI-A-1/i2c*lrwxrwxrwx 1 root root 0 Feb 22 13:49 /sys/class/drm/card0-HDMI-A-1/i2c-1 -> ../../../i2c-1root@intel-DUT:~# i2cget 1 0x54 0x20WARNING! This program can confuse your I2C bus, cause data loss and worse!I will read from device file /dev/i2c-1, chip address 0x54, data address0x20, using read byte data.Continue? [Y/n] y0x03root@intel-DUT:~# i2cget 1 0x54 0x21WARNING! This program can confuse your I2C bus, cause data loss and worse!I will read from device file /dev/i2c-1, chip address 0x54, data address0x21, using read byte data.Continue? [Y/n] y0x00root@intel-DUT:~# i2cget 1 0x54 0x40WARNING! This program can confuse your I2C bus, cause data loss and worse!I will read from device file /dev/i2c-1, chip address 0x54, data address0x40, using read byte data.Continue? [Y/n] y0x00
BTW I wrote register to reset the scrambler stuff with following commands but no effective result were observed.
root@intel-DUT:~# i2cset 1 0x54 0x20 0x0WARNING! This program can confuse your I2C bus, cause data loss and worse!DANGEROUS! Writing to a serial EEPROM on a memory DIMMmay render your memory USELESS and make your system UNBOOTABLE!I will write to device file /dev/i2c-1, chip address 0x54, data address0x20, data 0x00, mode byte.Continue? [y/N] yroot@intel-DUT:~# i2cset 1 0x54 0x20 0x3WARNING! This program can confuse your I2C bus, cause data loss and worse!DANGEROUS! Writing to a serial EEPROM on a memory DIMMmay render your memory USELESS and make your system UNBOOTABLE!I will write to device file /dev/i2c-1, chip address 0x54, data address0x20, data 0x03, mode byte.Continue? [y/N] yroot@intel-DUT:~#