this post was submitted on 29 Sep 2024
24 points (100.0% liked)

Linux

81 readers
12 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] anzo@programming.dev 2 points 1 month ago (1 children)

I was thinking of either /etc/environment or /etc/profile which would be standard way to set up global variables. But the archwiki mentions using a script in /etc/X11/xinit/xinitrc.d/ so make a file there, add the executable permition and write export DRI_PRIME=1

[โ€“] Varyag@lemmy.dbzer0.com 1 points 1 month ago

well, good news is: it works. Bad news is, it borks my window manager. After so many attempts, I am forced to admit defeat. So, at least a few of my different methods that I tried did work, but with that comes a problem that my window manager does not want to run on my discrete GPU and then I get a bare desktop with no panels or proper windows.

Quake does launch correctly at that point but I rather have the rest of my DE actually function, and I did figure out how to set individual applications to launch on the second GPU. I'll consider this solved for my use case.... This combo of intel onboard graphics and AMD GPU was always my headache with this machine even in the times of windows.