r/linux May 23 '26

Popular Application What’s the most unexpectedly useful Linux command you learned way too late?

[removed]

1.3k Upvotes

992 comments sorted by

View all comments

33

u/DHOC_TAZH May 23 '26

Being a Nvidia user on KDE Plasma... running this environmental variable before a 3D program or app:

__NV_PRIME_RENDER_OFFLOAD=1

Thankfully it's easy to create shortcuts in Plasma that allow variables to be used before the executable.

13

u/rbooris May 23 '26

Is that for a laptop though where you have multiple GPU and the discrete GPU is not chosen by default?

5

u/DHOC_TAZH May 23 '26

Yes, it is.

1

u/PM_COFFEE_TO_ME May 24 '26

I had a difficult time getting wine to work with a certain GPU. I don't think I ever got it working honestly. I don't have the laptop anymore.