Low performance when using the DIS Card

asked 2016-05-01 08:33:53 -0500

arthurhe gravatar image

Hi everyone!

So, my issue is that I get very low performance (i.e. worse than using the integrated card) when using my discrete gpu through DRI_PRIME=1 and open source radeon drivers. I am currently using fedora23.

Here is a comparison when using the IGD card:

# vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
35719 frames in 5.0 seconds = 7143.730 FPS
35715 frames in 5.0 seconds = 7142.853 FPS
34593 frames in 5.0 seconds = 6910.545 FPS

And the DIS card:

# DRI_PRIME=1 vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
8298 frames in 5.0 seconds = 1659.484 FPS
8313 frames in 5.0 seconds = 1662.389 FPS
8315 frames in 5.0 seconds = 1662.897 FPS

Anyone facing similar issues and willing to help me figure out what is going on?

In any case, here are some more details about my system:

Available cards and states:

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT]

# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0

Drivers:

# 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 AMD TURKS (DRM 2.43.0, LLVM 3.7.0)

Dynamic power management state:

# cat /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/power_method
dpm

# cat /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/power_profile
default

# cat /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/power_dpm_state
performance

Xorg version:

# Xorg -version
X.Org X Server 1.18.3

Thanks!

edit retag flag offensive close merge delete