Ask Your Question
0

PRIME with Fedora 23

asked 2016-04-28 16:08:08 -0500

uliroth92 gravatar image

Hi there, I recently switched from Debian, where my hybrid graphic card worked fine, to Fedora. I didn't install any graphics drivers manually, I used the standard workstation setup. I noticed that glxgears FPS won't increase if run with DRI_PRIME=1. After a fresh install I ran:

$ xrandr --listproviders 
Providers: number : 3
Provider 0: id: 0x8c cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 3 associated providers: 2 name:Intel
Provider 1: id: 0x66 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 2 outputs: 5 associated providers: 2 name:nouveau
Provider 2: id: 0x66 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 2 outputs: 5 associated providers: 2 name:nouveau 

First of all I am wondering why xrandr counts 3 providers? shouldn't there just be two? However I tried my luck by running either of the following:

$ xrandr --setprovideroffloadsink nouveau Intel
$ xrandr --setprovideroffloadsink 1 0 
$ xrandr --setprovideroffloadsink 0x66 0x8c
$ xrandr --setprovideroffloadsink 2 0 

And then trying to run glxgears always gives something like

$ glxgears
298 frames in 5.0 seconds = 59.521 FPS
$ DRI_PRIME=0 glxgears
302 frames in 5.0 seconds = 60.239 FPS
$ DRI_PRIME=1 glxgears
301 frames in 5.0 seconds = 60.021 FPS
even though glxinfo say
$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on NVD9

these are not very satisfying results for me. Is it possible to get the nouveau/intel driver setup running properly?

edit retag flag offensive close merge delete

Comments

I think you want to install the proprietary driver from Nvidia. There is a guide from Fedora and other.

thomaswood gravatar imagethomaswood ( 2016-05-01 05:08:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-23 07:33:17 -0500

Try to measure fps by vblank_mode=1 glxgears -info and you'll get different results. But note that glxgears is not a benchmark. It's better to measure performance by glmark2.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-04-28 15:25:50 -0500

Seen: 1,000 times

Last updated: Apr 28 '16