PlaneShift
Support => Linux Specific Issues => Topic started by: FuzZy2006 on July 10, 2006, 10:41:14 am
-
I am trying to run psclient and the error returned in the terminal is:
ERROR: FATAL: Cannot open X display
WARNING: failed to initialize plugin 'crystalspace.window.x'
Could not create an instance of crystalspace.window.x!
WARNING: failed to initialize plugin 'crystalspace.graphics2d.glx'
Error loading Graphics2D plugin.
WARNING: failed to initialize plugin 'crystalspace.graphics3d.opengl'
DEBUG: Software Renderer Initializing..
NOTIFY: Configured for driver [crystalspace.sndsys.software.driver.alsa]
WARNING: could not load plugin 'crystalspace.sndsys.software.driver.alsa'
ERROR: Failed to load driver [crystalspace.sndsys.software.driver.alsa].
WARNING: failed to initialize plugin 'crystalspace.sndsys.renderer.software'
No 3D driver!
psclient: No 3d driver (iGraphics3D) plugin!
I have the nvidia-glx drivers installed from synaptic.
-
Hmmm.. How did I missed this message ???
Have You found the solution, FuzZy2006 ? If not, You are getting generic X error. This can happen because:
- You tried to run PlaneShift in text mode - but I doubt You did it
- You tried to run PlaneShift using account different than that, which was used to login to the desktop (KDE), for example You logged in as "user", but then, You opened console window as "root" and tried to run PS in that window. Use the same account for both purposes, or before starting PS run command:
xhost local:
- You have set environment variable DISPLAY to some weird value (You need it sometimes if You login to your computer remotely and work with programs in graphics mode). Set variable DISPLAY before starting PlaneShift to ":0.0", like this:
export DISPLAY=":0.0"
- You have specific security settings in your environment, which disallow playing games. Check logs, like /var/log/Xorg.0.log, /var/log/messages, /var/log/secure, $HOME/.xsession-errors etc. (not sure, what logs are used for what purposes in Ubuntu)
- You tried to run PlaneShift on remote machine, but settings of your Xserver (or firewall or something else) don't allow this (kidding, kidding ;) )
Let us know, if You manage to get the game working.
-
- You tried to run PlaneShift on remote machine, but settings of your Xserver (or firewall or something else) don't allow this (kidding, kidding ;) )
Don't be so sure, because it actually works ;) With 0.2 fps, but still works.
-
It looks to me like either you don't have direct rendering on, or the OpenGL libs aren't propererly installed.
Does ebunty have eselect? Try eselect nvidia. Or something, I forget the exact syntax. What does glxinfo say?
EDIT: I forgot, to make sure the Opengl libs are installed, try switching into xorg-x11 mode by typing eselect xorg-x11 (or x11-xorg? I'm on windows at work now and can't check). Again, i forget the exact syntax for eselect. Then switch back into nvidia mode to turn on direct rendering.