You are not logged in.

#1 2020-05-29 22:08:05

Megarock90
Member
Registered: 2012-01-18
Posts: 61

[SOLVED] Some vulkan games don't use laptop's discrete card.

Some games, most notably DOOM 2016 and Guacamelee Super Turbo Championship Edition on the non-native camp and Polyball as native just refuse to use the RX 560X and go for the integrated Vega 8.
Have tried running them through lutris, passing DRI_PRIME=1 manually, manually choosing the icd loader and nothing works.
From what I've read is vulkan having trouble picking the discrete and going for the integrated but then again, other games run as intended. Any ideas?
I check the cards' activity with radeontop, it shows the RX completely off when running those I mentioned.

Last edited by Megarock90 (2020-06-10 18:28:41)

Offline

#2 2020-05-30 03:33:56

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Some vulkan games don't use laptop's discrete card.

I found this here about Vulkan:

https://www.phoronix.com/scan.php?page= … -Selection

I'm guessing this means you need mesa 20.1 for DRI_PRIME=1 to work? Arch currently has mesa 20.0 and mesa 20.1 is in the "testing" repo. You could enable the testing repos in /etc/pacman.conf and update and see what happens. To go back from testing to normal Arch repos, you comment out the repos in /etc/pacman.conf and then run "pacman -Syuu" (with two "u").

Offline

#3 2020-05-30 04:34:29

Megarock90
Member
Registered: 2012-01-18
Posts: 61

Re: [SOLVED] Some vulkan games don't use laptop's discrete card.

Well the article seems to describe my issue perfectly.
On the other hand, I'm not so sure I'm willing to upgrade to testing just for that. It's just a couple of games, after all.
How long will it take for 20.1 to get to stable? just checked and 20.0.7 was already marked out of date.

Last edited by Megarock90 (2020-05-30 04:45:27)

Offline

#4 2020-05-30 11:18:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,796

Re: [SOLVED] Some vulkan games don't use laptop's discrete card.

Please change the title to reflect this affects only games that use vulkan.

The swtich from 19.3.x to 20.0.x took about 5 weeks, which is longer then usual for new mesa releases on archlinux..


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2020-06-10 18:24:05

Megarock90
Member
Registered: 2012-01-18
Posts: 61

Re: [SOLVED] Some vulkan games don't use laptop's discrete card.

Updated to mesa version 20.1.0-4 that was pushed today to stable repo.
And it wasn't working.
Then I tried a couple things and realized that Lutris is actually useless, it wasn't passing any of the options/arguments to any executable, from steam or elsewhere. For anyone reading, I'm better off putting DRI_PRIME=1 gamemoderun %command% directly on steam for every game.

Offline

Board footer

Powered by FluxBB