The forum

GL Threaded Optimizations

Author Replies
xpander Monday 11 March 2013 at 17:07
xpander

hello,


is it possible to enable

export __GL_THREADED_OPTIMIZATIONS=1
export LD_PRELOAD="libpthread.so.0 libGL.so.1" 


under PoL.

preferably for only prefixes i need.

or if there is a way to add scripts into the shortucts?

petch Monday 11 March 2013 at 18:19
petch

Hi,

You can add lines to the shortcuts (they're Bash scripts in ~/.PlayOnLinux/shortcuts/), and in scripts (or PlayOnLinux console) you can use:
POL_Shortcut_InsertBeforeWine "Shortcut Name" 'statement'

(one per line to insert)
xpander Monday 11 March 2013 at 19:09
xpander

thanks
Hyper_Eye Tuesday 26 March 2013 at 8:41
Hyper_EyeAnonymous

Is it not sufficient to go into the configuration for the shortcut, select the miscellaneous tab, and insert into the "Command to exec before running the program" field:

export LD_PRELOAD="libpthread.so.0 libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=1

Edited by Hyper_Eye

petch Tuesday 26 March 2013 at 10:19
petch

You're right, that's another way to achieve the same thing, and probably easier for users.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com