Forums

GL Threaded Optimizations

Auteur Réponses
xpander Lundi 11 Mars 2013 à 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 Lundi 11 Mars 2013 à 18:19
petch
Développeur

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 Lundi 11 Mars 2013 à 19:09
xpander

thanks
Hyper_Eye Mardi 26 Mars 2013 à 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

Edité par Hyper_Eye

petch Mardi 26 Mars 2013 à 10:19
petch
Développeur

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