Ran glmark2 and DRI_PRIME=1 glmark2, big difference.
steve@steve:~$ glmark2
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)
GL_VERSION: 3.0 Mesa 18.0.5
=======================================================
glmark2 Score: 1079
steve@steve:~$ DRI_PRIME=glmark2
steve@steve:~$ DRI_PRIME=1 glmark2
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD ICELAND (DRM 3.23.0 / 4.15.0-36-generic, LLVM 6.0.0)
GL_VERSION: 3.0 Mesa 18.0.5
=======================================================
glmark2 Score: 470
I hope lower score is better.
Tried to attach a text file of the outputs to these commands, they are too long to just copy and paste, can't figure out how. Grab and drop doesn't work.
To summarize this; in order to run a program with the AMD gpu I'll have to:
1: Run xrandr --setprovideroffloadsink 0x3f 0x64 after boot.
2: DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
3: DRI_PRIME=1 [program name] every time I wish to use AMD gpu output.
If I missed a step please let me know.
Looks like if I want to run VLC or any other application with AMD gpu output I'll have to start it from terminal.
It could be chore to find the correct application name or can I just use the name listed in Applications?
Again big thank you to roblm for your help!
Edit
Just for the heck of it after sleep mode of about 4 Hrs. just to see if sleep mode would affect it.
I tried
Code: Select all
DRI_PRIME=1 glmark2
No head banging, just a glass wine.
Always in learning mode.