You are not logged in.

#1 2015-11-18 23:44:25

youarefunny
Member
From: Toronto, Canada
Registered: 2010-11-13
Posts: 42

DRI_PRIME=1 has no effect.

Hello,

I was trying to set up PRIME for my Lenovo y50 with Intel and NVIDIA graphics. I have all of the drivers installed (nouveau for the NVIDIA card) and everything seems to be working correctly except that I can't get it to offload to the discrete GPU.

% xrandr --setprovideroffloadsink nouveau Intel
% xrandr --listproviders                       
Providers: number : 2
Provider 0: id: 0x77 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 1 name:Intel
Provider 1: id: 0x4f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs: 0 associated providers: 1 name:nouveau
% man xrandr            
% DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
% DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

Although both cards are detected and the setprovideroffloadsink call works it appears to have no effect.

Any suggestions on how to get the offloading working would be appreciated.

Offline

#2 2015-11-19 00:16:10

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 752

Re: DRI_PRIME=1 has no effect.

Try using IDs instead of names.

xrandr --setprovideroffloadsink 0x4f 0x77

Offline

#3 2015-11-19 01:28:06

youarefunny
Member
From: Toronto, Canada
Registered: 2010-11-13
Posts: 42

Re: DRI_PRIME=1 has no effect.

Using the IDs makes no difference.

Offline

Board footer

Powered by FluxBB