Page 1 of 1

hybrid graphic card INTEL-AMD porteus 3.2.2 i586

Posted: 08 Jan 2017, 23:51
by Slaxmax
My notebook have 2 GPU's
1 - 00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
2 - 04:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230] [1002:666f]

I have steam-client installed and a few games, but not access dedicated GPU (AMD).
I don't know resolver this problem.

I tried this method, and others but no success.
https://www.unixmen.com/using-hybrid-gr ... rch-linux/

Code: Select all

root@porteus:/home/guest# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x78 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 1 name:Intel
Provider 1: id: 0x4f cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 1 name:HAINAN @ pci:0000:04:00.0
The system only uses Intel Graphics.
Any help please.

thx

Re: hybrid graphic card INTEL-AMD porteus 3.2.2 i586

Posted: 09 Jan 2017, 16:53
by Blaze
Hi Slaxmax.
Welcome to the topic Any chance for ati-legacy-drivers?
BTW, at me

Code: Select all

root@porteus:~# xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x58 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 3 associated providers: 0 name:BONAIRE @ pci:0000:01:00.0
root@porteus:~#

Re: hybrid graphic card INTEL-AMD porteus 3.2.2 i586

Posted: 28 Jan 2017, 23:52
by Slaxmax
to activate dedicated gpu

1 - list all gpu

Code: Select all

guest@porteus:~$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x78 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 1 name:Intel
Provider 1: id: 0x4f cap: 0xd, Source Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 1 name:HAINAN @ pci:0000:04:00.0
Provider 1 HAINAN is dedicated gpu in my case
2 - set provider (change to dedicated gpu)

Code: Select all

xrandr --setprovideroffloadsink 'HAINAN @ pci:0000:04:00.0' Intel
'HAINAN @ pci:0000:04:00.0' (dedicated gpu)
Intel (integrated gpu)

to test if all work

Code: Select all

guest@porteus:~$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on AMD HAINAN (DRM 2.48.0, LLVM 3.8.0)
show AMD HAINAN in Opengl

3 - to use dedicated gpu execute your application with DRI_PRIME=1
example

Code: Select all

DRI_PRIME=1 glxgears
Note a substantial increase in the fps rate tested with DRI_PRIME=1 glxgears

in my tests glxgears without DRI_PRIME=1 show 60FPS
with DRI_PRIME=1 show ~2500 FPS