Portrait/vertical monitor dom0 screen tearing

I’m having inconsistent screen tearing issues in dom0. I have multiple monitors connected to a Ryzen igpu using MST. Tearing was tested by moving around the qube manager window.

When it happens, the tear is always in the same place, across the top of the screen. I seem to only get the issue when at least one of the displays are configured to be vertical, and when that happens the physical top of all screens have the tearing.

I thought this might be due to a resolution issue. I tested having the displays all horizontal but with their layout corner to corner so that the rectangular size of the full desktop is high than with a single vertical monitor. In this configuration there was no tearing. I also tested having all the monitors vertical, and this did result in tearing. I then tested disabling all but one vertical monitor and there was still tearing.

I tried to set TearFree by doing xrandr --ouput DP-X --set TearFree true where DP-X is a connected display from xrandr but I get the error:

X Error of failed request:  BadName (named color or font does not exist)
 Major opcode of failed request:  140 (RANDR)
 Minor opcode of failed request: 11 (RRQueryOutputProperty)
 Serial number of failed request:  45
 Current serial number in output stream:  45

This post looks related, but setting gui-videoram-min and restarting didn’t resolve the issue:

Hi @compartmentalizedcat,

Have you got xorg-x11-drv-amdgpu installed in dom0 (or sys-gui if you’re running it)?

That seemed to be what was missing in most vanilla Qubes OS installs to recognise the ”TearFree” option.

Hopefully this works :slight_smile:

Installing xorg-x11-drv-amdgpu did solve the issue and didn’t require any manual configuration after.

Thank you for your help :slight_smile:

1 Like