#tetrio running on igpu in a multi gpu environment

31 messages · Page 1 of 1 (latest)

crisp reef
green plover
#

Are you on Nvidia? Try doing $ prime run tetrio-desktop

crisp reef
#

no im on amd

green plover
#

Ah, nevermind then

crisp reef
#

D: rip

green plover
#

What Linux distro are you on?

crisp reef
green plover
#

Sorry I don't use nixos or amd lol

crisp reef
#

anyways adding --in-process-gpu made it go faster but im NOT trusting it cuz f8 still says my igpu is running

#

ill look into PRIME

green plover
crisp reef
#

how to force tetrio desktop to use dgpu
first we check the pci number or whatever its called using lspci (do NOT ask why im running linux on a t2 macbook)
we want the numbers in the last bracket so 1002:7340 is for my dgpu
then we set DRI_PRIME to the vga number

$ lspci -nn | grep -i vga
$ DRI_PRIME={REPLACE} tetrio # --enable-features=UseOzonePlatform --ozone-platform=wayland if needed
#

PRIME comes with mesa probably i dont know

#

btw you should make a custom .desktop file to set these

crisp reef
#

hi

slow brook
#

did not know it was possible to use an ID like 1002:7340 as a value for DRI_PRIME

#

that's a lot shorter than typing the address as DRI_PRIME=pci-0000_01_00_0

surreal violet
#

Hmmm I'll keep track of this thread, might be related to my big issue playing tetrio on two of distros I tried (PopOS says the game runs on DGPU but I get half the FPS, and on Bazzite I could not run the game on DGPU at all)
Also might try this #1400188711144259725 message once I got motivation

crisp reef
#

I think this should be on the faq right now only windows is on the faq

plain pewter
#

i just can't pretend to give an all-encompassing answer to this problem especially when i have zero personal experience with it

#

windows is on the faq because i have an intimate understanding of what's happening there
i notably do not have any idea what the fuck is happening with hybrid graphics on linux, i stay as far away from that as possible tbh

#

(then again i never use mac and i've been told the screenshot on there is too old and nobody's willing to update it and i just know this is gonna happen for linux too (nevermind that the very core of this problem probably changes fifty pages depending on if your dedicated card is AMD or intel or nvidia and if you're using this distro or this distro and you might not even have drivers set up properly and it's just too much))

#

the thing about the windows problem is windows is usually pretty good at allocating your dedicated hardware→tetr.io's the exemption to a norm
linux? i think you have to tell the system what you intend to do every time unless you're using steam (and only steam, probably™)→tetr.io's grouped in with just about any other app you would ever launch on linux

crisp reef
#

heads up
you need pciutils for lspci

#

I forgot to mention that sorry

#

if it works you should make a .desktop file

#

so you don't have to manually start tetr.io through the CLI 😭

plain pewter
slow brook