Chris, I looked into your solution and pushed it into 'rp-prime' branch. Test it if you can, maybe it will work.
Announcement
Collapse
No announcement yet.
radeon-profile: tool for changing profiles and monitoring some GPU parameters
Collapse
X
-
Originally posted by marazmista View PostChris, I looked into your solution and pushed it into 'rp-prime' branch. Test it if you can, maybe it will work.
Now the only thing that's left wrong is the "Driver: " output.
Code:QStringList driver = grabSystemInfo("xdriinfo").filter("Screen 0:",Qt::CaseInsensitive); if (!driver.isEmpty()) // because of segfault when no xdriinfo data << "Driver:"+ driver.filter("Screen 0:",Qt::CaseInsensitive)[0].split(":",QString::SkipEmptyParts)[1];
But that should be easy because when I start it withCode:DRI_PRIME=1 sudo -E ./radeon-profile
Comment
-
Originally posted by ChrisXY View PostWell, so far it does work, but disclaimer: I don't really know whether this is the correct usage of the DRI_PRIME variable.
At the bottom, in Test section is:
Code:glxinfo - should give Intel DRI_PRIME=1 glxinfo should give nvidia DRI_PRIME=1 openarena should maybe work
Originally posted by ChrisXY View PostBut that should be easy because when I start it withCode:DRI_PRIME=1 sudo -E ./radeon-profile
Comment
-
Yes, it's completely right now for me.
Originally posted by marazmista View PostI found this (and forgot add it to my prev post): https://lekensteyn.nl/files/prime-instructions.txt
At the bottom, in Test section is:
Code:glxinfo - should give Intel DRI_PRIME=1 glxinfo should give nvidia DRI_PRIME=1 openarena should maybe work
Comment
-
I merged it to master today.
Also, I added .desktop file to repository as requested some time ago. But I'm little confused what to put into 'Exec' section in this file. Since app need to be run as root 'sudo radeon-profile' works ok for me, but other users may use gksudo, pkexec... any suggestions?
In this post mmstick posted little script for automatic installation radeon-profile in system. I modified it accordingly to handle .desktop file and icon:
Code:## Compile git clone https://github.com/marazmista/radeon-profile cd radeon-profile/radeon-profile qmake-qt4 make ## Install sudo chmod +x radeon-profile sudo mv radeon-profile /usr/local/sbin/radeon-profile.bin sudo sh -c "echo 'gksudo /usr/local/sbin/radeon-profile.bin' > /usr/local/sbin/radeon-profile" sudo chmod +x /usr/local/sbin/radeon-profile sudo mv extra/radeon-profile.png /usr/share/pixmaps/radeon-profile.png sudo mv extra/radeon-profile.desktop /usr/share/applications/radeon-profile.desktop ## Cleanup cd ../../ rm radeon-profile -R
Comment
Comment