Skip to content

Instantly share code, notes, and snippets.

@timsueberkrueb
Last active February 8, 2023 19:44
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save timsueberkrueb/bc17e40d1a88671b66d074ba3b47fbe2 to your computer and use it in GitHub Desktop.
Fix Screen Flickering on Ubuntu on Lenovo Yoga 910

Fix Screen Flickering on Ubuntu on Lenovo Yoga 910

  • Edit /etc/default/grub

    • Add i915.enable_rc6=0 GRUB_CMDLINE_LINUX_DEFAULT
    • Run sudo update-grub
    • Reboot (optional)
  • Create and edit ~/.drirc:

  <device screen="0" driver="dri2">
    <application name="Default">
    <option name="vblank_mode" value="0"/>
    </application>
 </device>
  • Create and edit /usr/share/X11/xorg.conf.d/20-intel.conf:
  Section "Device"
    Identifier "Intel Graphics"
    Driver     "intel"
    Option     "AccelMethod" "uxa"
    Option     "TearFree" "true"
    Option     "DRI" "3"
  EndSection
  • Reboot

Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment