On Linux, your system will automatically run on the power-saving integrated GPU (Radeon HD 6620G or older) to handle your desktop, web browsing, and regular apps.
When you want to run a heavy application or game using the faster, dedicated GPU (Whistler/Radeon HD 6630M+), you do not need to switch drivers. Instead, you just instruct the app to launch using the dedicated card by using environment variables.
• For standard desktop apps/games: Launch them via the terminal by adding DRI_PRIME=1 before the command.bash
DRI_PRIME=1 name_of_program
• For Steam games: Right-click the game in your library, go to Properties, and under Launch Options, type:text
DRI_PRIME=1 %command%
using the new cursor ai agent as an example:
- Test it in the Terminal
Open your terminal and run the command by pointing it to where your Cursor app is located. For example, if you downloaded the AppImage:
bash
DRI_PRIME=1 ./cursor-x.x.x-x86_64.AppImage
(Replace cursor-x.x.x-x86_64.AppImage with the actual filename or path of your Cursor executable).
- Make it Permanent (So you can just click the icon)
If the terminal command fixes the glitches, you don't want to type it every time. You can edit Cursor's desktop launcher shortcut:
-
Locate the
.desktopfile for Cursor (usually found in~/.local/share/applications/or/usr/share/applications/). -
Open it with a text editor.
-
Find the line that starts with
Exec=. -
Change it to include the env variable right before the path. For example:
Exec=env DRI_PRIME=1 /path/to/cursor -
Save and close.
- Alternative Fix: Disable Hardware Acceleration
If DRI_PRIME=1 doesn't completely fix the issue, the problem might be hardware acceleration itself failing on your older GPU drivers. You can disable it entirely by passing specific flags to the Electron app.
Try running this in your terminal:
bash
./cursor-x.x.x-x86_64.AppImage --disable-gpu --disable-software-rasterizer
If this command stops the glitching, you can permanently add --disable-gpu to the end of the Exec= line in your desktop shortcut instead.
good luck and happy DeskTopping
Zorin os is great for basic needs but for coding and designing it lacks depth
so far my gpu was the only issue ive had with zorin and i like it.
but im going tri[ple] boot a couple of flavours to see which one suits my needs.