Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Resolved] Point2Play can't use OpenGL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
rockcat
n00b
n00b


Joined: 16 Apr 2005
Posts: 16

PostPosted: Mon Apr 18, 2005 7:12 pm    Post subject: [Resolved] Point2Play can't use OpenGL Reply with quote

I have just installed the AMD64 version of Gentoo on my laptop (eMachine m6811). I have the 32 bit version on another partition. I have an ATI Mobility Radeon 9600. On the 32-bit, Point2Play runs fine and all tests pass. In the 64 bit, when I test the video I get:
OpenGL Direct Rendering: Not Available
3D Rendering Speed: Slow

glxinfo | grep direct shows that direct rending is on. I have tried several fixes online, (exporting variables, linking library files), but none have worked. I have merged xorg, opengl-update and ati-drivers (with opengl in use flag). I'm pretty sure my kernel config is good - I used the working config from my 32-bit, with a few changes. fglrx is loaded, and I have used opengl-update on xorg and ati. glxgeears gives about 2000fps, I think that is a little higher than the 32 bit. I have xorg-x11-6.8.2-r1 and ati-drivers-8.12.10

The only game I play is World of Warcraft, which runs fine in 32-bit, but is EXTREMELY slow in 64bit (via both Point2Play and cedega command line) - the same if I append "--opengl" to the command (if I add using opengl to the WoW config file, WoW errors that it can't use the 3D).

Code:

fglrxinfo:
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9600 Generic
OpenGL version string: 1.3.5010 (X4.3.0-8.12.10)


I can post any other info if it will help. X-log doesn't have anything unusual. My other question is that I noticed after my first compile of xorg that I didn't have the opengl flag. I enabled it and re-emerged (newuse) opengl-update, ati-drivers, xorg-x11 and libstl (i think - it was recommended somewhere). Would an "emerge -e --newuse world" help?

I would appreciate any help! Thank you.

Amy Jo Hines
JAG Technologies, Inc.

PS - congrats to the gentoo team on excellent improvements from the 2004.4 install to the 2005.0 - my ethernet worked (automatically even - yay!), the screen looked great, and I had no problems.


Last edited by rockcat on Wed Apr 20, 2005 6:45 am; edited 1 time in total
Back to top
View user's profile Send private message
asarazan
n00b
n00b


Joined: 09 Apr 2005
Posts: 54

PostPosted: Mon Apr 18, 2005 7:58 pm    Post subject: Reply with quote

I have the same problem on my laptop, it has some kind of nvidia (I think GoForce4).
_________________
The Seraphim
Back to top
View user's profile Send private message
rockcat
n00b
n00b


Joined: 16 Apr 2005
Posts: 16

PostPosted: Tue Apr 19, 2005 12:53 am    Post subject: Reply with quote

asarazan wrote:
I have the same problem on my laptop, it has some kind of nvidia (I think GoForce4).


Have you figured out the problem? I feel like I'm missing something simple - maybe permissions or some update command??? Anyway, I've remerged Point2Play (I'm using 1.3.2, as my subscription has expired - I will probably not renew until transgaming's next release), installed all the emul-linux-x86-* libs, rechecked/built the kernel. I will try a kernel downgrade / ati-driver downgrade next I guess.

Thanks

Amy Jo Hines
www.jagtechnologies.net
Back to top
View user's profile Send private message
asarazan
n00b
n00b


Joined: 09 Apr 2005
Posts: 54

PostPosted: Tue Apr 19, 2005 1:04 pm    Post subject: Reply with quote

Nah, I was looking for help too :P I got no clue.
_________________
The Seraphim
Back to top
View user's profile Send private message
montesq
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2004
Posts: 111
Location: Paris

PostPosted: Tue Apr 19, 2005 3:15 pm    Post subject: Reply with quote

try to use :

Code:
export LIBGL_DRIVERS_PATH=/usr/lib32/modules/dri


before lauching Point2Play...
Back to top
View user's profile Send private message
lramos85
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 141
Location: Riverside, Ca

PostPosted: Tue Apr 19, 2005 8:31 pm    Post subject: Reply with quote

Wow that works for Point2Play, thanks. Now I get OpenGL Drirect Rendering 'OK' but still get 3D Rendering Speed 'Slow'. Hopefully game play will be ok.
_________________
Registered Linux User #328996
Register Now!
Adpot an unanswered post today!
Back to top
View user's profile Send private message
lramos85
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 141
Location: Riverside, Ca

PostPosted: Tue Apr 19, 2005 8:47 pm    Post subject: Reply with quote

Well I still get to only see the beginning of the menu in CS:S then it just goes blank. I still get a warning when trying to play counter strike.
Code:
Unknown Video Card
Description: Direct3D HAL


Is there anyway to start counter strike in windowed mode? to see if what gets blank is counter strike itself of my computer.

Thanks.
_________________
Registered Linux User #328996
Register Now!
Adpot an unanswered post today!
Back to top
View user's profile Send private message
montesq
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2004
Posts: 111
Location: Paris

PostPosted: Tue Apr 19, 2005 9:08 pm    Post subject: Reply with quote

Quote:
I get OpenGL Drirect Rendering 'OK' but still get 3D Rendering Speed 'Slow'


It's strange! What's your video card?
Back to top
View user's profile Send private message
asarazan
n00b
n00b


Joined: 09 Apr 2005
Posts: 54

PostPosted: Tue Apr 19, 2005 11:22 pm    Post subject: Reply with quote

I tried the export and still get Direct Rendering not available :-(

edit: it tells me it can't find /usr/lib/transgaming_point2play/lib/libgtk-x11-2.0.so.0.200.4 even though on slocate the file showed up.
_________________
The Seraphim
Back to top
View user's profile Send private message
lramos85
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 141
Location: Riverside, Ca

PostPosted: Wed Apr 20, 2005 2:00 am    Post subject: Reply with quote

Quote:
It's strange! What's your video card?


My video card is ati mobility 9700. I'am using ati-drivers (fglrx).
_________________
Registered Linux User #328996
Register Now!
Adpot an unanswered post today!
Back to top
View user's profile Send private message
rockcat
n00b
n00b


Joined: 16 Apr 2005
Posts: 16

PostPosted: Wed Apr 20, 2005 6:45 am    Post subject: Fixed it! Reply with quote

I finally fixed the opengl problem - I made a wrapper script for point2play & cedega, with the recommended library paths. The key was putting linux32 before the command.

So here is what worked for me, and I'm going to bed now - since the WoW patch doesn't work.

Code:

#!/bin/bash

export LIBGL_DRIVERS_PATH=/usr/X11R6/lib32/modules/dri
export LIBGL_DRIVERS_DIR=/usr/X11R6/lib32/modules/dri
#export LD_LIBRARY_PATH=/usr/lib32:.
export LD_LIBRARY_PATH=/lib32:/usr/lib32:/emul/linux/x86/lib32:/emul/linux/x86/usr/lib32/:/lib32:/usr/lib32:/emul/linux/x86/lib32:/emul/linux/x86/usr/lib32/:

# start Point2Play
linux32 /usr/bin/Point2Play


for cedega replace the last line with linux32 /usr/bin/cedega "$@"

Thank you all for your help, now maybe tomarrow I can get some real work done.

Amy Jo Hines
http://www.jagtechnologies.net
http://blog.rockcat.us
Back to top
View user's profile Send private message
asarazan
n00b
n00b


Joined: 09 Apr 2005
Posts: 54

PostPosted: Wed Apr 20, 2005 8:26 pm    Post subject: Reply with quote

Sorry to bring this thread back up. But I'm guessing this fix doesn't port over to NVidia cards, because now things are royally screwed as far as P2P goes. Could somebody please tell me how to undo the damage?
_________________
The Seraphim
Back to top
View user's profile Send private message
lramos85
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 141
Location: Riverside, Ca

PostPosted: Thu Apr 21, 2005 1:03 am    Post subject: Reply with quote

I am guessing you can just not use the wrapper script, try using your old libraries.

Anyways, I haven't tried your script yet but I also manage to make CS:S work under P2P, now it works really good and fast. Graphics aren't as great as in Windows though, but I don't care, I am proud of saying I am running CS:S under Linux. I will use your script to see if it make any difference. If not I'll do whatever.

If anyone wants to know how I fixed my problem just post back, there is no reason to post another solution if no one needs it ;).

Thanks
_________________
Registered Linux User #328996
Register Now!
Adpot an unanswered post today!
Back to top
View user's profile Send private message
lramos85
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 141
Location: Riverside, Ca

PostPosted: Thu Apr 21, 2005 1:15 am    Post subject: Reply with quote

Well, I just tried the script and it didn't worked for me. Everything in the script is good but the linux32 paths are not working for me. Everything works if I take away where you try to export this: LD_LIBRARY_PATH=/lib32:/usr/lib32:/emul/linux/x86/lib32:/emul/linux/x86/usr/lib32/:/lib32:/usr/lib32:/emul/linux/x86/lib32:/emul/linux/x86/usr/lib32/:

Otherwise this script is perfect. I just copied that into a file and change to permisions to execute and now I launch Point2Play by simply doing this ./p2p. Thanks.
_________________
Registered Linux User #328996
Register Now!
Adpot an unanswered post today!
Back to top
View user's profile Send private message
asarazan
n00b
n00b


Joined: 09 Apr 2005
Posts: 54

PostPosted: Thu Apr 21, 2005 3:00 am    Post subject: Reply with quote

I can't run the graphics tests anymore, and I can't upgrade cedega through point2play, it gives me an error that it can't find some libgl-x11 file that I know for a fact exists. (I'm not at my computer so I can't give you the exact message).
_________________
The Seraphim
Back to top
View user's profile Send private message
rockcat
n00b
n00b


Joined: 16 Apr 2005
Posts: 16

PostPosted: Thu Apr 21, 2005 5:39 am    Post subject: Undo Damage Reply with quote

asarazan - The things I found seemed to relate mostly to being a 64-bit OS - not really to the video card. You might try an nvidia spec. search? Also I had to enable IA32 support in the kernel (under file systems / emulations I think) - eigther I missed that point in the install handbook (doubtful) or it wasn't in the handbook.

When I first installed P2P most of the time the graphics test would not run - it sounds like the same error you got. I think the tests started working all the time somewhere around exporting the top library paths. You do have to use the Point2Play-small version on a 64-bit OS, not the large - http://www.transgaming.com/showthread.php?msg=48490&forum=1262&thread=48490. If you have a current subscription, put in a support ticket as Transgaming - they seemed to be helpful with 64-bit issues. I did see a similar issue to mine here http://www.transgaming.com/showthread.php?msg=48468&forum=1262&thread=48468.

I did copy in some 32-bit libs, but I hosed emerge/python, and had to restore from backup. I did install almost all the emul-linux-x86-* packages.

Ubuntu forums / users had some good ideas as well, and Fedora Core people seem to have issues similar to gentoo. Try http://digital-conquest.ath.cx/wiki/index.php/Ubuntu - part way down describes some 32-bit libraries to use on a 64-bit install to make things work (didn't work for me at that time, but might for you).

lramos85 - glad its working for you - thats what I hate about computers (regardless of your OS) - what works for one pc may not work for another - even if they seem identical - I didn't see anyone else having to use the linux32 command.

Good Luck!
Amy Jo Hines
www.jagtechnologies.net
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Apr 22, 2005 5:17 pm    Post subject: Reply with quote

Moved from Gentoo on AMD64 in favour of https://forums.gentoo.org/viewtopic-t-327287.html.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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