Author Topic: Radeon and OpenGL  (Read 5231 times)

0 Members and 1 Guest are viewing this topic.

Hello there :).

I suppose this isn't really the right place to post this, since it's not directly related to Freespace, but why not? Maybe someone is able to help!

I have a Radeon HD 4600 on Windows XP and an Athlon 64. Not sure whether any other specs would be relevant...

When I try to run FSO, I get the error message "Unable to get proper pixel format for OpenGL W32". Now, I'm pretty sure that's because my computer runs on an old version of OpenGL, apparently 1.1. However, apparently the HD 4600 is supposed to support OpenGL 2.0 at least, and I have the newest Catalyst drivers. So, what could be the cause for this problem? Do I need any other drivers or something?

And of course, absolutely great projects all of you have here! I just hope I can enjoy them for myself at some time ;).

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
That error is usually caused by a driver error.

Check out this entry in the FAQ. Try to download the atioglxx.dll referenced there, and stick it into your FS2 directory.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Thanks for the amazingly fast reply... unfortunately, it doesn't seem to work. There's no change at all... :confused:

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Can you run a debug build, and post the log here? It'll be called fs2_open.log, and will be in the data folder in your FS2 directory.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
I'm not sure. I should have said that before, after clicking the error message from above, I get another window where it says "Unable to initialize display device" And copies the following into the clipboard:

Assert: bpp == 32
File: gropengl.cpp
Line: 2709


Call stack:
------------------------------------------------------------------
    gr_opengl_init()    gr_init_sub()    gr_init()    game_init()    game_main()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c817077()
------------------------------------------------------------------

At the bottom it says "Use ok to break into Debugger, Cancel exits". However, after clicking OK, Windows just says there's a problem with FreeSpace and closes it. That's the error log from the data folder:

==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace version: 3.6.10
Passed cmdline options:
  <none>
Building file index...
Found root pack 'C:\Games\FreeSpace2\root_fs2.vp' with a checksum of 0x3f08ae08
Found root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' with a checksum of 0x0098ee1f
Found root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' with a checksum of 0x749032a2
Found root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' with a checksum of 0x566add58
Found root pack 'C:\Games\FreeSpace2\stu_fs2.vp' with a checksum of 0xf2983309
Found root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' with a checksum of 0xd4e3ad49
Found root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' with a checksum of 0x799e46a1
Found root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' with a checksum of 0x825f5ee0
Found root pack 'C:\Games\FreeSpace2\warble_fs2.vp' with a checksum of 0xa7037300
Searching root 'C:\Games\FreeSpace2\' ... 8 files
Searching root pack 'C:\Games\FreeSpace2\root_fs2.vp' ... 157 files
Searching root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' ... 3027 files
Searching root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'C:\Games\FreeSpace2\stu_fs2.vp' ... 1777 files
Searching root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\warble_fs2.vp' ... 52 files
Found 10 roots and 6425 files.
AutoLang: Language auto-detection successful...
Setting language to German
Initializing OpenAL...
  Using 'Generic Software' as OpenAL sound device...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

... OpenAL successfully initialized!
Initializing OpenGL graphics device at 640x480 with 16-bit color...
  Initializing WGL...
ASSERTION: "bpp == 32" at gropengl.cpp:2709
    gr_opengl_init()    gr_init_sub()    gr_init()    game_init()    game_main()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c817077()
Int3(): From e:\storage\fso\fs2_open_3_6_10\code\globalincs\windebug.cpp at line 1075

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Ah, there we have it. You do not seem to have used the Launcher. Please go to the 3.6.10 Final release thread, and download it. Unzip it, and copy it to your FreeSpace directory. Select the 3.6.10 build in the Launcher by clicking the Browse button, then use it to set the desired resolution and color depth. You should use the 32 bit color depth, anything else, and you might see errors.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Uh, no I did use the Launcher (and selected "fs2_open_3_6_10.exe" as well as "fs2_open_3_6_10d.exe" for good measure), and set the color depth to 32 bit. I forgot to set Audio to "Generic Software" (saw this in the installation instructions just now), but it doesn't make a difference. And of course I tried downloading everything again...

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Weird.

The log shows that the game is starting with a resolution setting of 640x480 with 16 bits of color depth. That's not normal. Run the Launcher again, only this time, press the "Apply" Button. Should that not work, restart the Launcher with Admin privileges.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Well, I didn't set the color to 32bit for the log up there, obviously, but. Sorry! I was trying various settings ;). With it it's just the same, though (see the new log below). I'm already running it with admin privileges (it's on XP).

==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace version: 3.6.10
Passed cmdline options:
  <none>
Building file index...
Found root pack 'C:\Games\FreeSpace2\root_fs2.vp' with a checksum of 0x3f08ae08
Found root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' with a checksum of 0x0098ee1f
Found root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' with a checksum of 0x749032a2
Found root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' with a checksum of 0x566add58
Found root pack 'C:\Games\FreeSpace2\stu_fs2.vp' with a checksum of 0xf2983309
Found root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' with a checksum of 0xd4e3ad49
Found root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' with a checksum of 0x799e46a1
Found root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' with a checksum of 0x825f5ee0
Found root pack 'C:\Games\FreeSpace2\warble_fs2.vp' with a checksum of 0xa7037300
Searching root 'C:\Games\FreeSpace2\' ... 8 files
Searching root pack 'C:\Games\FreeSpace2\root_fs2.vp' ... 157 files
Searching root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' ... 3027 files
Searching root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'C:\Games\FreeSpace2\stu_fs2.vp' ... 1777 files
Searching root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\warble_fs2.vp' ... 52 files
Found 10 roots and 6425 files.
AutoLang: Language auto-detection successful...
Setting language to German
Initializing OpenAL...
  Using 'Generic Software' as OpenAL sound device...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

... OpenAL successfully initialized!
Initializing OpenGL graphics device at 1280x1024 with 32-bit color...
  Initializing WGL...
ERROR: Unable to initialize display device!

File: gropengl.cpp
Line: 2972
    gr_init_sub()    gr_init()    game_init()    game_main()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c817077()
Int3(): From e:\storage\fso\fs2_open_3_6_10\code\globalincs\windebug.cpp at line 1235

 
I'm not sure whether I'm really running a "debug build" as instructed...

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Right. Sorry, I'm just making sure that all the i's are dotted and the t's are crossed. And right now, I would guess this is a driver error.
Oh, believe me, if you get a debug log, you have been running a debug build. But the purpose of those is not to fix bugs by themselves, but to give us troubleshooters and developers the information needed to track down errors.

Oh, and make sure your desktop color depth is set to 32 bits as well.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Oh, of course. I'm actually unhappy to hear that all the i's seem to be dotted  :D.
And yeah, the desktop is set to 32.

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Try a different set of drivers, older or newer ones perhaps.
Gettin' back to dodgin' lasers.

 
Well, I'll try that, though old ATI drivers seem hard to find. I'll report back when I find some/get to actually try them out :).

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Hmmm.. After a bit of browsing i found something which might be worth a try

First open the retail launcher and make sure you have that setup.

Then try opening the freespace open launcher and point to an exe file (debug exe).

And try again starting the game.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
I'm... not sure that I understand correctly. What do you mean by "make sure you have that setup."? The retail version runs fine, but it only lets me select Direct3d in the setup menu, if that's what you mean.

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
He means, Run the Retail Freespace2.exe and make sure IT is graphically set up for the highest possible settings and exit.

The registry keys that the launcher (FSO Launcher that is) may not being created BY said launcher.

Now, you won't (in Retail) be able to set OpenGL as a graphics device. That's fine. Just choose 1024x768x32 and let it "Detect" your system for performance and then set it to "High" if it doesn't already set it there.

Okay the Retail Launcher, exit the Retail Launcher, and re-run the FSO Launcher and choose an FSO exe and verify that yor settings are set, or set them again, hit "Apply" and then "Run".
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 
This is kinda curious:

Code: [Select]
Passed cmdline options:
  <none>

I wonder if this is related to the problems Echelon9 is having with Antipodes at the moment.
STRONGTEA. Why can't the x86 be sane?

 
Argh, I can't really find drivers old enough, and the thing with configuring the retail version didn't help either...
Maybe there's an older version that still supports Direct3D available somewhere?

  
There are no MediaVPs installed or at least selected?

I'm not sure... but isn't the mv_core required for 3.6.10?
Shivan here, Shivan there, Shivan everywhere.

My english isn't very well, so sorry for a few mistakes.

FreeSpace Let's Plays on my Channel:
| The Great War | Silent Threat | Operation Templar | Silent Threat: Reborn | Shivans - Phantoms | Shivans - Echo Gate | Shrouding the Light: Origins | Shrouding the Light | Cardinal Spear | Cardinal Spear: Vega | Awakenings | The Destiny of Peace | Between the Ashes: Mefistofele