Ubuntu – Graphical glitches using Ubuntu 18.04 on Dell XPS 13 2019 laptop


My laptop keeps on having weird screen glitches, sometimes for a second, and that goes away just by moving the cursor, sometimes, making me restart the whole thing.

I could still use the play/pause key and it still played/paused the video that was running even though the screen was completely teared.

Also, printscreens actually print a normal screen and do not show the problem.

Some pictures of the screen when it happens :
enter image description here

Do you guys know what I could do to solve the issue ?

Best Answer

  • This is not screen tearing, these are quite severe graphical glitches, which you may find occur more frequently when on battery power. This is probably related to a more recent type of Intel graphics in that laptop, and the kernel mode drivers still need to catchup.

    See whether adding i915.enable_psr=0 to your kernel boot line helps. For how to add that particular command line option, I can refer to another post on AskUbuntu. This disables a power saving feature and so will cause your system to use a bit more battery.

    Update: I still need the setting in Ubuntu 20.04 on kernel 5.4.0-40-generic

    Update: I may still need it on 20.10: after resuming from a blank screen, glitches occurred.

  • Related Question