hybrid graphic card INTEL-AMD porteus 3.2.2 i586

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
Post Reply
User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

hybrid graphic card INTEL-AMD porteus 3.2.2 i586

Post#1 by Slaxmax » 08 Jan 2017, 23:51

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
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Blaze
Moderator
Moderator
Posts: 1337
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: hybrid graphic card INTEL-AMD porteus 3.2.2 i586

Post#2 by Blaze » 09 Jan 2017, 16:53

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:~#
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: hybrid graphic card INTEL-AMD porteus 3.2.2 i586

Post#3 by Slaxmax » 28 Jan 2017, 23:52

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
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

Post Reply