Help - Search - Members - Calendar
Full Version: Cedega
MandrivaUsers.org > Advanced Topics > Virtual Machines and Emulators
Arak
I thought i would post this here first. When i had mephis installed on my computer, Cedega didn't fail any of the system tests. Now when i run it, it fails the OpenGL direct rendering test. I've installed the nvidia drivers with that Urpmi thing (whether they are the latest drivers, i don't know). Have any of you had this problem and if so how have you fixed it? I used the dvd version to install this version of Mandriva and i've heard that it will install either the 32 bit version or 64 bit version. Would it make a difference to install the 32 bit version (i can't tell if it's the 64 bit version or not).

This is the actuall message it has posted:
/usr/lib/transgaming_cedega/tests/glxinfo: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

This is what i have on my computer:
dual core athalon 64 3800+
Mandriva 2007 free
2 nvidia 7800 GT cards


Thanks!!


[moved from Software by spinynorman]
Arak
I thought i would add some more information. I have been searching all over for a solution to this problem, and i believe i've found one on this website.
If you look here:

http://mandrivausers.org/index.php?showtop...6&hl=cedega

It says the problem has been solved. How did they solve the problem? I have the same problems this fellow has so i assume the solution is the same, or similar.
I am fairly new to linux and what is there doesn't make sense. Could someone walk me through it? Thanks.
Artificial Intelligence
Do you have libglu installed (just to eliminate that from the list)?
Arak
QUOTE (Artificial Intelligence @ Nov 25 2006, 02:34 PM) *
Do you have libglu installed (just to eliminate that from the list)?

I didn't until now. Using the urpmi libglu command as the root user, i installed it. I have no idea what that does but it hasn't changed anything. When i run the test in cedega, it still fails. Any other ideas? I appreciate any and all help.
scarecrow
Run (as root):
CODE
updatedb
locate libGLU.so.1

(above commands are case sensitive)
If libglu is properly installed, then libGLU.so.1 should be located under /usr/lib
joaopa
QUOTE (scarecrow @ Nov 27 2006, 12:37 AM) *
Run (as root):
CODE
updatedb
locate libGLU.so.1

(above commands are case sensitive)
If libglu is properly installed, then libGLU.so.1 should be located under /usr/lib



libGLU.so.1 must be installed in your .cedega repertory like this:
/home/joaopa/.cedega/.winex_ver/winex-5.2.7/winex/lib/libGLU.so.1

libGLU.so.1 is installed by cedega and doesn't use the glu librairy of Mandriva
Check whether all is OK. If not, reinstall cedega.

Joaopa
Artificial Intelligence
That's strange...Is that a Mandriva thing? I havn't heard any other distro you have to do that.
Arak
Alright....

In response to scarecrow, i typed in those commands. As root i first typed 'updatedb' and it gave me an error message but when i typed in locate libGLU.so.1, it showed this:
/usr/lib/libGLU.so.1.3.060500
/usr/lib/libGLU.so.1
I guess that's what you were looking for.

In response to joaopa, i searched in that directory for the file libGLU.so.1. It was there. So, and this may not have been wise on my part, i took that same file from the /usr/lib folder and copied it to the cedega file. There was no change. First (and i'm new to linux) how would i uninstall a program? I know this sounds dumb but i usually just did a reformat when i couldn't remove it. Secondly, will reinstalling it make it right? Also, is there any other bit of information i can post here that would help?

Thanks!
joaopa
Are you sure to have direct rendering enabled?

It would be nice if you could attach your /etc/X11/xorg.conf file
and the console with glxinfo.

Joaopa
tyme
Are you using a 3d desktop environment? XGL, AIGLX, etc.
Arak
QUOTE (tyme @ Nov 28 2006, 09:53 AM) *
Are you using a 3d desktop environment? XGL, AIGLX, etc.


Thanks for the replies. I imagine part of the problem is my lack of understanding of this fine operating system.
Am i sure i have direct rendering enabled? No, i'm not sure. How would i find that out? I've got my nvidia drivers installed and all seems well but i wouldn't know how to go about verifying this.

Yes, i'm using a 3d desktop enviornment (and whether i use it or return it back to normal, it still fails). It is the XGL option. The other one is greyed out. I have fiddled around with my settings (i have two nvidia 7800 GT SLI cards) and have managed to get the other one to appear. When i did get the AIGLX ooption working, it seemed to be a bit jumpy compared to the other one. I don't know if that means anything but i figure i would tell you all i can.

Alright, here is a copy of my xorg.conf file:

# File generated by XFdrake (rev 57713)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# font server independent of the X server to render fonts.
FontPath "unix/:-1"

# minimal fonts to allow X to run without xfs
FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
Option "Composite"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/lib/xorg/modules/extensions/nvidia/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "SDM-HS95P"
HorizSync 28-65
VertRefresh 57-63

# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce 7 Series"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "DPMS"
Option "TwinViewOrientation" "Clone"
Option "TwinView"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 15
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 16
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Arak
Hello,

Is this one hard to solve or do you need some more information from me? I'm a little worried that no one has replied in a few days. If i didn't add the correct information then please, let me know and i'll try to get it on here.
tyme
Sorry, I'm usually not around as much towards the weekends. Didn't get back to you.

First, I suggest turning off the 3d desktop. Just go back to a regular desktop, and see if you can run it from there. Because of the way XGL works your system will think direct rendering is off when technically it isn't (sorta...), so Cedega will also see direct rendering as being off. If you can still play your games and don't notice any degradation, don't worry about it - just keep on gaming. However, if it's causing problems you might be best turning off 3d desktop.

Second, to see if direct rendering is working, run this command from the command line:
CODE
glxinfo | grep direct

It should spit out a line about direct rendering.
Arak
Is there no problem you guys can't solve? I first ran the glxinfo | grep direct, with my 3d desktop activated, in the konsole and it said that direct rendering was not enabled. So i turned it off and restarted and ran the same command in the konsole and this time it told me
'yes'. I ran cedega and performed the system tests and it passed them all.
Thank you all for the help. Now if i can just get a few more bugs worked out i'll have everything working just fine.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.