Author Topic: Linux 2D Problems  (Read 1779 times)

Xtreme

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Linux 2D Problems
« on: June 20, 2004, 10:37:38 am »
Hey guys, I gotta question.

Here\'s what I did:
I installed cel, CS and Planeshift under Linux, compiled and installed everything. Now, when I\'m trying to start Planeshift, a window pops up, I hear music, but the Screen is black with three white blocks in the middle! I think I also installed the arts, so I\'m running out of ideas how to fix this problem.
I\'d be glad if someone could help me.

Greez

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #1 on: June 20, 2004, 05:03:46 pm »
Can you post the console log? It helps to understand your problem ;)


Back to Planeshift again \\o/

Xtreme

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #2 on: June 20, 2004, 11:24:36 pm »
After starting PS with ./psclient, my console says this:

Xlib:  extension \"XFree86-DRI\" missing on display \":0.0\".
Detecting maximum texture size fails! 256x256 is assumed.
Edit Video.OpenGL.Caps.MaxTextureSize if you want to change.
block_size: 8192
Mounting maps: dungeon hydlaa tower podium temple.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: psEngine initialized.
Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Loading RPG Data.....Loading RPG Data.....1OK!
PreloadModels: Preloading complete

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #3 on: June 21, 2004, 10:29:07 am »
Quote

Xlib: extension \"XFree86-DRI\" missing on display \":0.0\".


As I thought. Either your graphics driver is not correctly installed, or it doesn\'t  support direct rendering. Which graphics card and driver do you have installed?


Back to Planeshift again \\o/

Xtreme

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #4 on: June 21, 2004, 11:49:31 am »
I have a Geforce Ti 4200 64MB and the SuSE Yast Nvidia Driver installed. I also activated \"3D Acceleration\", doesn\'t help either!

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #5 on: June 21, 2004, 12:54:56 pm »
I think this is the XFree driver which doesn\'t support DRI. Get this one instead: http://www.nvidia.com/object/linux_display_ia32_1.0-5336.html


Back to Planeshift again \\o/

Xtreme

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #6 on: June 22, 2004, 09:34:47 am »
Thanks, I\'ll try it!

Xtreme

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #7 on: June 23, 2004, 12:01:00 am »
Well, I try to start the script in init 3, but the installer tells me he\'s unable to download a new compiled kernel or something like that from the NVIDIA site!
Man, I think I\'ll switch to Debian!

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #8 on: June 23, 2004, 03:18:14 am »
It just checks if it can find precompiled kernel headers for your system on the NVidia site. If it fails, you can still continue and it will compile the ones on your system. Next time read the error messages more carefully ;)


Back to Planeshift again \\o/

Xtreme

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #9 on: June 23, 2004, 10:53:24 am »
Then he says error in Makefile.
I\'m kinda losing my patience. Well, I\'ll install Debian and come back.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #10 on: June 23, 2004, 08:21:26 pm »
Why do you change your distro? Just because of the driver? *shakes his head* I think you just had to install the kernel sources.
Well good luck with debian. From what I heard  the compilation of PS is more troublesome than on other distros.

Quote

\"Why doing it the easy way if there is a more difficult one?\"


Back to Planeshift again \\o/

Xtreme

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #11 on: June 23, 2004, 11:29:20 pm »
Re Quote:
Because the more difficult one provides an own working installation routine!
BTW: Kernel Sources are installed, Kernel Nvidia Module, too.

I\'m fed up with RPMs! I always read good things about Debian, so I\'ll take a try.

Feeyo

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #12 on: June 28, 2004, 12:32:37 am »
Yes very frustrating those nVidia drivers...
Reinstalling your os just for the drivers? well linux aint for you then i geusse.

Anyhow
I need some help with OpenGL support =)
This is what i get:

no CEL environment variable set!
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!

My 3D driver is installed (nVidia 5332)

Verifying 3D configuration for 3D board \"nVidia Corporation 0x0312 (10de@0312)\":


Verifying driver installation:
  nvidia ... done.

Tests for XFree86 configuration:
  Config File /etc/X11/XF86Config ... done.
  Driver ... done.
  Extensions ... done.
  Options ... done.


Checking GL/GLU/glut runtime configuration:
  GL/GLU  ... done (package XFree86-Mesa)
  glut ... done (package freeglut)

Now on Software mode it does work but crashesh on connecting the game..?
This is the console output:

no CEL environment variable set!
block_size: 8192
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Mounting maps: dungeon hydlaa tower podium temple.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: psEngine initialized.
Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Loading RPG Data.....Loading RPG Data.....1OK!
PreloadModels: Preloading complete
psAuthenticationClient::Authenticate(Feeyo,mybabychella,0)
planeshift.application.client: PSLoader: step 1: success
planeshift.application.client: PSLoader: step 2: success
GetPSWindow: No PSWindow with the name \'Inventory Window\' was found.
        loading definitions file /planeshift/gui/iconbar.def...
        load successful (2 windows, 0 skins loaded.)
        loading definitions file /planeshift/gui/confirm.def...
        load successful (1 windows, 0 skins loaded.)
crystalspace.awsprefs: Could not open image file \'\' on VFS!
crystalspace.awsprefs: Could not open image file \'\' on VFS!
        loading definitions file /planeshift/gui/options.def...
        load successful (1 windows, 0 skins loaded.)
crystalspace.awsprefs: Could not open image file \'\' on VFS!
New player requesting World!
planeshift.application.client: PSLoader: step 3: success
SetTimeout!
HandleMessage: Persist Message: CELPERSISTCMD_SEND_WORLD

cel.persist.classic:   Reading entity 99 (\'world\')...

cel.persist.classic: Adding PC \'pcinventory\' to Entity \'world\'
Before LoadMapFile: time=10454
Load TYPE plugin crystalspace.mesh.object.emit
WARNING! Object \'_p_laanx_entrance2hydlaa_plaza\' is not closed!
Segmentation fault

Hope you can help :)

Thanks.
Brains are a stronger weapon then any class Battleship ever.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #13 on: June 28, 2004, 01:11:33 am »
Did you set the exports correctly? example:

export CRYSTAL=/opt/CS
export CEL=/opt/cel
export CSCONFPATH=/opt/cel

If you got your copy of PS from the Sourceforge or PS website try the CVS way as described here since that tarball is buggy for some people.


Back to Planeshift again \\o/

Feeyo

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #14 on: June 28, 2004, 01:18:06 am »
Hi,

Nope i havent configured the exports in anyway.
And yes i got it from Sourceforge, i will try the CVS way first.

Keep you updated.

Thanks for your help.
Brains are a stronger weapon then any class Battleship ever.