← Back to team overview

elementary-dev-community team mailing list archive

Re: OpenGL performance with Gala

 

FYI, there's also AutoNiceD that does roughly the same thing, but it's a
little more advanced. Should work too.

Does GAMEd require root permissions to renice things?

2012/11/9 Sergio Costas <rastersoft@xxxxxxxxx>

>  Hi all:
>
> I created a little daemon to set priorities. It's called GAMEd.
>
> You can download and install it just opening a terminal and typing:
>
>     git clone https:/**/github.**com/rastersoft/**gamed.git<https://github.com/rastersoft/gamed.git>
>     cd gamed
>     make
>     sudo make install
>
> Now, to set the priority, just type
>
>     renice_gamed -20
>
> This will set the priority of both Xorg and Gala to -20
>
> Now, each time you enter your session, GAMEd will automatically set the
> priority to that value. If you change it again, the new value will be
> remembered between sessions.
>
> You can also edit /etc/gamed.conf and add more executables to the list
> (like unity or gnome-shell), allowing to use it with other desktops.
>
> Of course, this is just a temporary hack, until ulatencyd gets fixed.
>
> One last note: it seems that the effect in games needs some seconds before
> working, so after setting the priority, wait some seconds before launching
> the game.
>
> Enjoy!
>
>
> El 05/11/12 00:51, Dane Henson escribió:
>
> I have the same issue. I attempted to install Limbo (yes, it's in a wine
> wrapper) on my MacBook with Intel graphics. The fps is terrible, the
> keystrokes are laggy. Not sure what the issue is, just thought I'd mention
> that it affected me too.
> On Nov 4, 2012 5:40 PM, "Sergey "Shnatsel" Davidoff" <sergey@xxxxxxxxxxxxxxxx> wrote:
>
>
>  Sergio, what GPU and driver do you have?
>
> If it's an AMD GPU with the proprietary driver, this is likely caused
> by the multitude of vsync bugs in catalyst, where vsync either doesn't
> work or causes a slideshow-like performance, e.g. on moving windows in
> Gala.
>
> According to http://limbogame.org/news/, Limbo runs via a WINE
> wrapper, and that causes even more issues with Catalyst, namely...
> vsync again. Unreal and Skyrim in WINE have terrible tearing under
> Unity2D (metacity) on my HD6770, for example.
>
> --
> Sergey "Shnatsel" Davidoff
>
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> Nos leemos
> 		         RASTER    (Linux user #228804)raster@xxxxxxxxxxxxxx              http://www.rastersoft.com
>
>


-- 
Sergey "Shnatsel" Davidoff
OS architect @ elementary

Follow ups

References