Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aurelienpierre/45f7d1d4f1dc5c8a419618890afc231e to your computer and use it in GitHub Desktop.
Save aurelienpierre/45f7d1d4f1dc5c8a419618890afc231e to your computer and use it in GitHub Desktop.
Solve the DPI scaling issue and start the application on discrete GPU altogether. Works the same with any Qt app needing GPU acceleration without having internal DPI scaling.
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia QT_DEVICE_PIXEL_RATIO=2 QT_AUTO_SCREEN_SCALE_FACTOR=true /opt/resolve/bin/resolve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment