You are not logged in.

#1 2017-07-12 09:22:28

PixelPower
Member
Registered: 2017-07-12
Posts: 6

Arch uses IGPU instead of dedicated Radeon GPU

I'm on an HP Probook 450 G1, and Arch Linux decides to use the inegrated Intel graphics instead of my Radeon GPU. I tried the instructions for PRIME, but xrandr --listproviders outputs

Providers: number : 2
Provider 0: id: 0x77 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 1 name:modesetting
Provider 1: id: 0x41 cap: 0x5, Source Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:modesetting

So I have no idea which one is the Radeon GPU. glxinfo | grep "OpenGL renderer" gives "OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile". xrandr --setprovideroffloadsink 1 0 does nothing, and xrandr --setprovideroffloadsink 0 1 produces an error:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  34 (RRSetProviderOffloadSink)
  Value in failed request:  0x77
  Serial number of failed request:  16
  Current serial number in output stream:  17

I honestly have no idea what is going on. Not sure if it's important, but my kernel is linux-hardened.

EDIT: I'm dumb.

Last edited by PixelPower (2017-07-12 12:02:34)

Offline

#2 2017-07-12 10:13:56

Taijian
Member
Registered: 2016-04-10
Posts: 74

Re: Arch uses IGPU instead of dedicated Radeon GPU

Well, if you had actually read the wiki page on prime, you would have noticed that xrandr settings are no longer needed.

Then, have your tried 'DRI_PRIME=1 glxinfo | grep OpenGL'?

Also, you could try installing xf86-video-{intel,ati} (as the wiki article that you haven't read suggests) and try again.

Offline

#3 2017-07-12 12:01:58

PixelPower
Member
Registered: 2017-07-12
Posts: 6

Re: Arch uses IGPU instead of dedicated Radeon GPU

Ok, sorry, it's kinda late here. I installed the drivers and it does work now. Thanks!

Offline

Board footer

Powered by FluxBB