Author Topic: Slow black screen with Ubuntu 6 nVidia  (Read 4568 times)

Andrew Pennebaker

  • Guest
Slow black screen with Ubuntu 6 nVidia
« on: August 14, 2006, 09:00:46 AM »
Linking libGL finally worked, but pball is still very slow and displays only a black screen.

Sound is as slow as graphics.

Specs:

Alienware Sentia laptop
1024MB RAM
10 GB total partition, 3.87 GB free space

Ubuntu 6.06 Dapper Drake
Paintball2 Build 16
nVidia drivers installed
Linked libGL.so.1

It rocks that the installer works in win32,
but sucks that packages aren't available for Linux distros.

TinMan

  • Autococker
  • Posts: 1347
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #1 on: August 14, 2006, 12:08:33 PM »
Are you using QuDos's installer/binary? If not try it, it has many bugs fixed:
http://qudos.quakedev.com/tmp/

Andrew Pennebaker

  • Guest
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #2 on: August 15, 2006, 03:18:41 PM »
Thanks for the installer. There are still a few more bugs.

The icons don't show up in my GNOME menus. The old Gtk theme used in the installer made it hard to tell what was disabled and enabled. These are minor.

But running paintball is another issue, again.

andrew@yoda:~/paintball2$ ./paintball2

Paintball 2 -- Version (null)
Using /home/andrew/.paintball2/pball/ for writing
couldn't exec configs/default.cfg
Console initialized.

------- sound initialization -------

load /usr/local/games/paintball2/snd_oss.so failed: No such file or directory
------- Loading ref_pbgl.so -------
LoadLibrary("ref_pbgl.so") failed: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!

TinMan

  • Autococker
  • Posts: 1347
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #3 on: August 16, 2006, 02:48:21 PM »
You installed to /home/andrew/.paintball2?
That installer wants you to install to /usr/local/games/paintball2 I'm pretty sure, try to install it there with sudo. The icons aren't in your gnome menu because you didn't run the installer with sudo (root).

Andrew Pennebaker

  • Guest
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #4 on: August 16, 2006, 07:49:10 PM »
Paintball is not using opengl correctly. How do I configure the drivers, etc?

andrew@yoda:~/Desktop$ paintball2

Paintball 2 -- Version (null)
Using /home/andrew/.paintball2/pball/ for writing
execing configs/default.cfg
basedir is write protected.
Console initialized.

------- sound initialization -------
LoadLibrary("/usr/local/games/paintball2/snd_oss.so")
/dev/dsp: Device or resource busy
SNDDMA_Init: Could not open /dev/dsp.
------- Loading ref_pbgl.so -------
LoadLibrary("/usr/local/games/paintball2/ref_pbgl.so")
ref_gl version: PB2GL 0.16
Using libGL.so for OpenGL...
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
Xlib:  extension "GLX" missing on display ":0.0".
W: couldn't get an RGBA, DOUBLEBUFFER, DEPTH, STENCIL visual
Xlib:  extension "GLX" missing on display ":0.0".
E: couldn't get an RGBA, DOUBLEBUFFER, DEPTH visual
ref_gl::R_SetMode() - invalid mode
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
Xlib:  extension "GLX" missing on display ":0.0".
W: couldn't get an RGBA, DOUBLEBUFFER, DEPTH, STENCIL visual
Xlib:  extension "GLX" missing on display ":0.0".
E: couldn't get an RGBA, DOUBLEBUFFER, DEPTH visual
ref_gl::R_SetMode() - could not revert to safe mode
ref_gl::R_Init() - could not R_SetMode()
recursive shutdown
Error: Error during initialization.
Make sure you have an OpenGL capable video card and that the latest drivers are installed.

TinMan

  • Autococker
  • Posts: 1347
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #5 on: August 16, 2006, 08:25:37 PM »
Would you happen to be running XGL/Compiz or something else that might be affecting your OpenGL?

Andrew Pennebaker

  • Guest
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #6 on: August 18, 2006, 02:19:17 PM »
I have XGL/compiz installed, but have not tried running paintball within XGL, just Gnome.

QuDos

  • PGP
  • Posts: 14
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #7 on: August 19, 2006, 11:55:05 AM »
Uhmm not familiarized with Xgl but probably is the cause, don't know.

Backup your xorg.conf, run again with no references to xgl/compiz in xorg.conf and see.

Anyway, what tell you when you do a simple glxinfo or running glxgears?

TinMan

  • Autococker
  • Posts: 1347
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #8 on: August 19, 2006, 11:49:30 PM »
XGL isn't in your xorg.conf (I use the same xorg.conf for xgl and normal) its in your gdm.conf-custom, and its usually started by a script after login.

I can run paintball2 fine in XGL without messing with anything, but when I want it to look better (and when I'm running more intense games) I use nonXgl, a script that you can find instructions on in this Ubuntu thread: http://ubuntuforums.org/showthread.php?t=176636

Andrew Pennebaker

  • Guest
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #9 on: August 25, 2006, 09:16:39 AM »
I haven't been able to start an XGL session.

TinMan

  • Autococker
  • Posts: 1347
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #10 on: August 25, 2006, 02:43:10 PM »
If you followed a guide to install XGL/Compiz and you've modified your gdm.conf-custom as all the guides tell you to, then you most likely are currently running XGL, just not compiz. OpenGL apps can run really bad in XGL, which is what that nonXgl thing I posted was.
As mentioned before, QuDos' build was made for /usr/local/games/paintball2, so I suggest that you try installing it to there.
Code: [Select]
wget -c http://qudos.quakedev.com/tmp/Paintball2_build017_full_linux.run
sudo sh Paintball2_build017_full_linux.run
Also please run glxinfo and glxgears as QuDos said, and post the results.

Andrew Pennebaker

  • Guest
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #11 on: September 03, 2006, 04:16:58 PM »
I keep doing all these things, but it never runs. I've given up on the installer. All I can hope for is that the binary package works. Currently, symlinking any libGL results in:

andrew@yoda:~/Desktop/app/paintball2$ ./paintball2
Paintball 2 -- Version 3.21+r0.16
execing configs/default.cfg
Console initialized.

------- sound initialization -------
Initializing Linux sound.
sound sampling rate: 11025
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("./ref_glx.so")
ref_gl version: PB2GL 0.16
Using libGL.so for OpenGL...Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
Xlib:  extension "GLX" missing on display ":0.0".
W: couldn't get an RGBA, DOUBLEBUFFER, DEPTH, STENCIL visual
Xlib:  extension "GLX" missing on display ":0.0".
E: couldn't get an RGBA, DOUBLEBUFFER, DEPTH visual
ref_gl::R_SetMode() - invalid mode
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
Xlib:  extension "GLX" missing on display ":0.0".
W: couldn't get an RGBA, DOUBLEBUFFER, DEPTH, STENCIL visual
Xlib:  extension "GLX" missing on display ":0.0".
E: couldn't get an RGBA, DOUBLEBUFFER, DEPTH visual
ref_gl::R_SetMode() - could not revert to safe mode
ref_gl::R_Init() - could not R_SetMode()
recursive shutdown
Error: Error during initialization.
Make sure you have an OpenGL capable video card and that the latest drivers are installed.


I've installed libgl1-mesa, which I think includes the correct drivers for my Intel Alienware Sentia video card. It's not pball anymore; something's screwed up with video.

TinMan

  • Autococker
  • Posts: 1347
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #12 on: September 03, 2006, 04:18:51 PM »
don't go into /usr/local/games/paintball2 to execute the game. just run "paintball2", it should run the file /usr/local/bin/paintball2

Andrew Pennebaker

  • Guest
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #13 on: September 06, 2006, 02:29:09 PM »
Summary: Opengl is not enabled.

Neither Paintball, Quake, or XGL will run. This may have been caused by updating the kernel from 386 to 686. Compiz tries to update daily, but apt-get must be run from a terminal in order to do so.

andrew@yoda:~$ glxinfo | grep direct
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".

TinMan

  • Autococker
  • Posts: 1347
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #14 on: September 06, 2006, 02:33:20 PM »
Yeah...post on UbuntuForums.org, that way the problem will be read by people who know Ubuntu, not random dpball players.
Keep in mind that XGL isn't stable (nor is Compiz really), which is why not many people bother messing with it, it can be a big pain at its current state.

Andrew Pennebaker

  • Guest
Re: Slow black screen with Ubuntu 6 nVidia
« Reply #15 on: October 30, 2006, 10:53:08 AM »
I wiped and installed Ubuntu 6.10, then used the Qudos installer. There's some lag, but the whole thing, video and sound, works!