Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] X.org 6.8 breaks Cedega?! At least I have a problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
antipod
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 168
Location: Karlshamn, Sweden

PostPosted: Thu Sep 09, 2004 7:02 pm    Post subject: [SOLVED] X.org 6.8 breaks Cedega?! At least I have a problem Reply with quote

I have posted a similar post on transgamings forum but I don't expect it to be answered soon so I put my hopes to you guys here! :)

Anyway, the problem... I use Cedega to play SWG and it worked perfectly yesterday. Yesterday I used X.org 6.7.99.904 and today I upgraded it to the new 6.8. Not that there are that many differences between the two versions but for me it broke Cedega. If I for example try to start an installer using something like
Code:
 cedega /mnt/cdrom/Install.exe

I get the error: Could not load graphics driver 'x11drv' (I usually use point to P2P to start the game but that does not give an output...)

I have tried to switch with opengl-updage xorg-x11 and then the game do start... still, not using hardware acceleration is not fun when playing the game! :P

I tried searching for a similar problem here and found a thread but I tried everthing there except reemerging glibc because it has a dependency that was blocked... I would really appreciate some help here!

Thanks!


Last edited by antipod on Sat Sep 11, 2004 8:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Thu Sep 09, 2004 8:50 pm    Post subject: Reply with quote

i know that problem... you need to
Code:

export LD_PRELOAD=/usr/lib/opengl/nvidia/lib/libGL.so.1

before starting X.
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
antipod
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 168
Location: Karlshamn, Sweden

PostPosted: Thu Sep 09, 2004 9:03 pm    Post subject: Reply with quote

Have not tried it yet, but I will right away... but, is there anyway to do that permanently? It sounds like a bad solution if I am gonna do that every time I start the computer... :/ Thanks anyway for the temporary solution.
Back to top
View user's profile Send private message
antipod
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 168
Location: Karlshamn, Sweden

PostPosted: Thu Sep 09, 2004 9:14 pm    Post subject: Reply with quote

Tried to do it and then restart X but the same error is still there. It is a bit stupid that just upgrading x.org makes this kind of errors accour... :/
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Thu Sep 09, 2004 11:59 pm    Post subject: Reply with quote

you need to do this _before_ you start you X session, so if you have kdm running or anything you need to put that somewhere in a startup script, or try creating an new variable in /etc/env.d.

this error occured to me with 6.7 already, so i can't tell if we are talking about the exact same error here. but it's seems to be the same problem... what graphics driver do you use anyway? this line above is only for nvidia driver users, you need to adjust it, to point to your opengl lib.
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
antipod
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 168
Location: Karlshamn, Sweden

PostPosted: Fri Sep 10, 2004 12:35 am    Post subject: Reply with quote

I am using the nvidia driver.... the lastest there is in portage. Still, there seem to be a link somewhere that is broken. On the Transgaming forums someone posted a fix on it that I do not really understand... and since that forum is not as visited as this one and I need a fix as soon as possible I cut and paste it in here so maybe others here could help me solve it!

Quote:
I finaly got the problem solved, it was more an issue with the way the opengl-update script functions in gentoo. Since I am running xorg the opengl-update script doesn't have any support for the older gl libs. Long story short I had to edit the opengl-update script to add an extra link in /usrinclude/X11R6/ to the nvidia gl libs and everything worked out.


I prefer to have it permanently fixed... and I don't even see where the problem comes from, as the only thing I did was to upgrade x.org! :/

Thanks for your help, more would be appreciated! :P
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Fri Sep 10, 2004 1:45 am    Post subject: Reply with quote

try removing (move it to a backup dir) your xorg.conf, and use X --configure to generate a new one. tweak it (copy-> paste from your old config), and restart X.

That's how I solved it...
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
antipod
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 168
Location: Karlshamn, Sweden

PostPosted: Fri Sep 10, 2004 2:04 am    Post subject: Reply with quote

Too bad it did not work for me :/ SWG or any other thing started from cedega/p2p wont start and is generating the same error as earlier...

Thanks for the time answering to the thread though. There must be something simple to do to solve this permanently. Tomorrow I reemerge X.org 6.8 as a desperate try to fix things! :P

More ideas are welcome! :)
Back to top
View user's profile Send private message
antipod
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 168
Location: Karlshamn, Sweden

PostPosted: Sat Sep 11, 2004 8:27 pm    Post subject: Reply with quote

Oki I solved it. It helped with re-emerging glibc... just had to fix the blocked package that it relied upon (yeah, I know it is simple but I am not that much into doing stuff with the system just yet! =).

Finally... :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum