|
|
#1 | |
|
Registered User
Join Date: Apr 2006
Posts: 6
|
I'm running FedoraCore5 with Xgl. I know about the __GL_SYNC_TO_VBLANK=1 option, which fixes the tearing of some opengl effect in Xgl.
It's all good if I run Xgl with my custom script from init 3, I just export __GL_SYNC_TO_VBLANK=1 and it works. But the problem is that now I'm using GDM login with Xgl, so I can normaly login to my Gnome session, but I don't know how to export sync to vblank now. I read that you can export in /etc/init.d/gdm or /etc/init.d/xdm or even in /etc/environment somehow. I don't have gdm or xdm file on my Fedora and the environment file doesn't work for me either. Is there a proper way to export/pass this option when using GDM ? How... |
|
|
|
|
|
|
#2 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
You could add it to your .xinitrc file which is loaded at X startup. Not sure if the 'standard' X server catches it before starting Xgl though. Else as a hack add it to your .bashrc or /etc/profile
![]() |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Apr 2006
Posts: 6
|
No, nothing really works.
I tried all these methods but still nothing... Anything else I can do ? |
|
|
|
|
|
#4 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
Setting the variable from within /etc/profile should work. Make sure you logout and relogin or just reboot. Also watch out with .bashrc similar things apply (restart your shell).
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Apr 2006
Posts: 6
|
Ok I'll try again
I just put this line at the end of the file, right ? export __GL_SYNC_TO_VBLANK=1 EDIT: No, not working. Last edited by ghaefb; 05-10-06 at 12:56 AM. |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Palo Alto set to abandon quest to bring fiber to the home | News | Latest Tech And Game Headlines | 0 | 06-12-12 10:30 PM |
| New Union - Post-Apocalyptic RPG Shooter set in Russia | dikinher | Gaming Central | 5 | 06-08-12 10:01 AM |
| Hitman: Absolution release date set, Sniper Challenge pre-order game in August | News | Latest Tech And Game Headlines | 0 | 05-10-12 09:28 AM |
| Stubborn screen res problem | Alpsoandso | NVIDIA Linux | 6 | 05-03-12 06:00 PM |
| My UT2003 Tweak Guide | DXnfiniteFX | Gaming Central | 48 | 10-30-02 11:59 PM |