Comment # 11
on bug 101499
from Michel Dänzer
(In reply to Carlo Caione from comment #10) > Probably I'm missing something, but when the HDMI is connected everything > works fine, with the scanout buffer correctly displayed on the laptop panel > + external monitor. The problem starts when we _disconnect_ the HDMI cable. At least some of the errors you referenced in comment 8 already happen before that. They're related to failed attempts at page flipping. xf86-video-amdgpu manages to chug along regardless. When you unplug the HDMI cable is presumably when > Jun 19 17:10:31 endless gdm-Xorg-:0[672]: (EE) AMDGPU(0): failed to set mode: Invalid argument appears, i.e. drmModeSetCrtc() fails, presumably (not 100% sure about this part though) because the new, smaller scanout buffer cannot fit into VRAM while the old, larger one is still being scanned out. > Also if it was a problem with VRAM being too small, why toggling the DPMS > makes the laptop panel working fine again? Toggling DPMS off disables scanout, which allows the old scanout buffer to be moved out of VRAM, so the new one can be moved in. Some details might differ from the above, but that should be roughly what's happening.
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel