You are not logged in.

#1 2017-03-20 21:22:59

Barbtion
Member
Registered: 2017-03-20
Posts: 5

[SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

Hi!

I get an HP pavillon g7 laptop with an integrated intel graphic cards and a radeon

the intel card is of type : Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller

and the radeon card is : Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series]
those to values are form the result of issuing `lspci -k`

I was reading through the wiki that in order to get hybrid graphics works properly i had to use PRIME.
Since i am using GNOME on Wayland, i didn't find any ressource to work with. All the explanation was for Xorg.

So, my questions are:

Is Hybrid graphic working out of the box with Wayland?
If yes, Is there any way to tweak it?
If not. Can someone help me to get it works properly (explainig the steps)?

Best gregards

Last edited by Barbtion (2017-04-24 21:17:13)

Offline

#2 2017-03-20 21:29:33

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

GNOME 3.24 supports hybrid graphics and will arrive on Arch pretty soon so I would just wait for that. See http://www.omgubuntu.co.uk/2017/03/top- … gnome-3-24

Offline

#3 2017-03-20 22:11:19

Barbtion
Member
Registered: 2017-03-20
Posts: 5

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

bulletmark wrote:

GNOME 3.24 supports hybrid graphics and will arrive on Arch pretty soon so I would just wait for that. See http://www.omgubuntu.co.uk/2017/03/top- … gnome-3-24

That will be a great version! lot of cool stuff! Great job from the GNOME team

Thank's for the info

Offline

#4 2017-03-21 21:09:07

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

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

Barbtion wrote:

Hi!
So, my questions are:

Is Hybrid graphic working out of the box with Wayland?
If yes, Is there any way to tweak it?
If not. Can someone help me to get it works properly (explainig the steps)?

1. Yes it is. All you need to do is launch whatever application you want to have use your dedicated GPU with DRI_PRIME=1. That's it.

2. Not sure what you mean by that. In what way would you want to tweak it? PRIME gives you control over which GPU each application uses, everything else (graphics options, etc) needs to be done at the application level.

Offline

#5 2017-04-08 23:29:44

Barbtion
Member
Registered: 2017-03-20
Posts: 5

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

Thanks Taijain for the tip

I didn't explain my self properly
I meant by tweaking the action of making certain apps using automatically the descrete card. or how to check if that works or not?

Thank's again

Offline

#6 2017-04-09 11:26:40

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

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

you can try that out by comparing the output of

glxinfo | grep OpenGL

to

DRI_PRIME=1 glxinfo | grep OpenGL

One should show you using the intel card, the other the AMD card. If not, we need to debug further. If it works, it works.

Also, see here and here

Last edited by Taijian (2017-04-09 11:29:30)

Offline

#7 2017-04-17 23:44:01

Barbtion
Member
Registered: 2017-03-20
Posts: 5

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

Hi,

I don't have glxinfo installed, i searched for it and found nothing about it

Offline

#8 2017-04-18 00:07:56

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

Offline

#9 2017-04-24 21:11:56

Barbtion
Member
Registered: 2017-03-20
Posts: 5

Re: [SOLVED] How to setup Hybrid graphics (intel+AMD) on GNOME+wayland

Thaks for your help.

It works.
I installed glxinfo and tested it with DRI_PRIME=1 and without it. and the results was correct.

Offline

Board footer

Powered by FluxBB