The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 14, 2024, 11:10:54 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Black screen/no video after compile?
« previous next »
Pages: [1] Print
Author Topic: Black screen/no video after compile?  (Read 2276 times)
TrevorB
Zebranky food
*
Offline Offline

Posts: 14


I love YaBB 1G - SP1!


View Profile
Black screen/no video after compile?
« on: December 31, 2002, 12:08:11 pm »

Hi everyone.

I tried downloading UQM from tonights version on CVS (Dec 30, 2002).  I'm running on slackware 8.1.  I've copmiled and installed just fine, and the executable runs just fine.  I can hear the sound in the background, but theres no video!  

I know that I should be able to compile, as I was able to download the 0.1 build and use the static.sh file to get a working 0.10 version.

I'm starting to think this might have something to do with OpenGL libraries missing.  One of the bugs mentioned non-opengl setups didn't work, and when I try to compile with opengl, and run uqm --opengl I get:

he Ur-Quan Masters v0.12 (compiled Dec 31 2002 00:04:01)
Saved games are kept in /root/.uqm/save/.
Initializing SDL (OpenGL).
SDL driver used: x11
SDL initialized.
Initializing Screen.
Couldn't set OpenGL 640x480x16 video mode: Couldn't find matching GLX visual

I'm thinking this might be OpenGL, but I'm just not sure..

Any help?

Thanks!  (Looking forward to v1.1 when the modding begins... Smiley Smiley Smiley Smiley Smiley Smiley


--------------

OK an update here.

Playing around, I did something silly.  I tried to run the v0.10 and v0.12 versions simultaneously.  Remember that 0.10 built on my machine from the tgz files works fine.  run v0.1 first, then v0.12.  v0.12 chokes with sound device errors, and then I quit both, try to run again, and v0.12 works?

But now I get an error  I wonder if it's avoiding Xlib alltogether?

Also the screen is shrunk.  looks like 640x480 in an 800x600 screen.

The Ur-Quan Masters v0.12 (compiled Dec 31 2002 00:04:01)
Saved games are kept in /root/.uqm/save/.
Initializing SDL (pure).
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

SDL driver used: fbcon
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x16

The screen res looks like it's 800x600, but the window is shrunk inside.

It's midnight... I'm stumped.  Any ideas?

Thanks!



« Last Edit: December 31, 2002, 12:48:31 pm by TrevorB » Logged
TrevorB
Zebranky food
*
Offline Offline

Posts: 14


I love YaBB 1G - SP1!


View Profile
Re: Black screen/no video after compile?
« Reply #1 on: December 31, 2002, 01:01:14 pm »

One last thing. It's not an OpenGL issue.  The version v0.1 does not start OpenGL either on this box, but the default startup (no params, or just --fullscreen) works OK.

Zzzzzzzzzzzzzzzz
Logged
TrevorB
Zebranky food
*
Offline Offline

Posts: 14


I love YaBB 1G - SP1!


View Profile
Re: Black screen/no video after compile?
« Reply #2 on: January 05, 2003, 11:01:53 am »

Bingo.  Got it.  

I had my X server running in 8 bpp mode.  I switched to 16bpp and I can see everything just fine (todays v0.13 compile)

Yes, I have a 1MB PCI video card in my machine.   But I'm also running an IBM Netfinity 5500.  In my house. Booyah!

I'll report any other quirky stuff I see here.  It might be worthwhile addressing the 8bpp in the uqm executable.. Smiley
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!