[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant gu - assumed 'gu' (this will throw an Error in a future version of PHP)
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant personal_album_id - assumed 'personal_album_id' (this will throw an Error in a future version of PHP)
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant gu - assumed 'gu' (this will throw an Error in a future version of PHP)
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant user_images - assumed 'user_images' (this will throw an Error in a future version of PHP)
Speed Dreams Community • View topic - Enable dedicated GPU with DRI_PRIME=1

Enable dedicated GPU with DRI_PRIME=1

Use this forum to report bugs or ask for help

Moderator: kilo

Enable dedicated GPU with DRI_PRIME=1

Postby gdp » Thu Jul 13, 2017 1:23 pm

Hello all,

I tried to run SpeedDream 2.2.1 with the environment parameter DRI_PRIME=1 in order to enable
the dedicated GPU (CAICOS) as renderer.

in the follow messages the parameter DRI_PRIME=1 seems to work:

$ speed-dreams-2
...
00:00:00.593 Default Info Video hardware info :
00:00:00.593 Default Info Vendor : X.Org
00:00:00.593 Default Info Renderer : Gallium 0.4 on AMD ARUBA (DRM 2.43.0 / 4.4.0-83-generic, LLVM 4.0.0)
00:00:00.593 Default Info Version : 3.0 Mesa 17.1.2
...

$ DRI_PRIME=1 speed-dreams-2
...
00:00:02.321 Default Info Video hardware info :
00:00:02.321 Default Info Vendor : X.Org
00:00:02.321 Default Info Renderer : Gallium 0.4 on AMD CAICOS (DRM 2.43.0 / 4.4.0-83-generic, LLVM 4.0.0)
00:00:02.321 Default Info Version : 3.0 Mesa 17.1.2
...

but the problem is that the FPS with CAICOS remains the same like using ARUBA.


If I test the configuration with glxgears the increment of FPS is evident.

$ glxgears
302 frames in 5.0 seconds = 60.327 FPS

$ DRI_PRIME=1 glxgears
11362 frames in 5.0 seconds = 2272.300 FPS


Can anyone help me or explain why.
Thank you very much.
Gino

PS: laptop infos:
Model: K55DR 1.0
OS: Ubuntu 16.04.2 LTS x86_64
Kernel: 4.4.0-83-generic
Resolution: 1366x768
DE: Xfce
WM: Xfwm4
CPU: AMD A8-4500M APU (4) @ 1.900GHz
GPU: AMD Radeon HD 7640G
GPU: AMD Radeon HD 6400M/7400M Series
Memory: 724MiB / 7436MiB
gdp
 
Posts: 1
Joined: Tue Oct 28, 2014 8:12 pm

Return to Problems, Fixes & Help

Who is online

Users browsing this forum: Bing [Bot] and 15 guests

cron