Bug report: OGL2 shaders + liquid = messed up text

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Bug report: OGL2 shaders + liquid = messed up text

Postby Clueless Newbie » Wed May 23, 2007 11:37 am

If I play a level that has liquidand the OGL 2 shaders are on, the text will drift around, making them unreadable. This screen is taken from the top of Oil Rig:

http://www.notam02.no/~clund/nexuiz/OGL2bug.jpg

I'm still playing 2.2.1 since the "Black menu screen" bug is still present in 2.2.2 and 2.2.3, so maybe this OGL2 bug has alrady been fixed?
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby divVerent » Wed May 23, 2007 11:43 am

Yes, a known bug in the OS X ATI driver. And one of the reasons why OpenGL 2.0 shaders are disabled by default on OS X.

Let's wait until Apple FINALLY fixes that, and the other OS X GLSL bugs (namely, jagged realtime shadows, bloom at wrong position).

The problem is, it isn't our bug - all we can do is work around it, and in this case, we disable OpenGL 2.0 shaders. The menu bug will also be just fixed by a workaround in 2.3 - we'll disable the texture non-power-of-two extension for OS X because OS X drivers report it as supported but then draw nothing.

All you can do is complain to Apple so they get their drivers fixed.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby torus » Wed May 23, 2007 11:46 am

Same problem I had. Look here. Seems that the answer is simply not to play with OGL2.

http://alientrap.org/forum/viewtopic.php?t=1489&highlight=opengl
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby esteel » Wed May 23, 2007 11:52 am

But i do not understand why you still have that black menu in 2.2.3.. the startup file for mac should disable the texture non-power-of-two extension which is causing this black menu. Sounds more like you did something wrong with updating..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Clueless Newbie » Wed May 23, 2007 12:25 pm

divVerent wrote:Yes, a known bug in the OS X ATI driver. And one of the reasons why OpenGL 2.0 shaders are disabled by default on OS X.

Let's wait until Apple FINALLY fixes that, and the other OS X GLSL bugs (namely, jagged realtime shadows, bloom at wrong position).

Ah, ok. I wondered about that bloom thing too, but I generally play with it off anyway. I do that with OGL 2 on levels with liquids as well.

And I'm relieved to hear you'll find a workaround for menu thing in the next update of Nexuiz. B)
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby Clueless Newbie » Wed May 23, 2007 12:28 pm

esteel wrote:But i do not understand why you still have that black menu in 2.2.3.. the startup file for mac should disable the texture non-power-of-two extension which is causing this black menu. Sounds more like you did something wrong with updating..

What I did was download the full version of N2.2.3, tossed the .nexuiz folder in the trash, and played from the N2.3.3 folder. I assumed that would mean all the 2.2.1 stuff would be ignored by 2.2.3...
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby esteel » Wed May 23, 2007 12:34 pm

Yes that should work fine.. can you please try the following:
Start Nexuiz, open the console with shift-escape, enter condump bla.txt and then find the file ~/.nexuiz/data/bla.txt and search for power in it?
You should find it two times.. the first in a LONG line starting with
Code: Select all
7GL_EXTENSIONS:

and the second time in this line:
Code: Select all
^7checking for GL_ARB_texture_non_power_of_two...  disabled by commandline


That second line is the important one as it confirms this extension IS disabled.. But on the other hand you can try the 2.3 test release we did in the forum. And we want to do a FINAL one later today.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Clueless Newbie » Wed May 23, 2007 2:23 pm

esteel wrote:Yes that should work fine.. can you please try the following:
Start Nexuiz, open the console with shift-escape, enter condump bla.txt and then find the file ~/.nexuiz/data/bla.txt and search for power in it?
You should find it two times.. the first in a LONG line starting with
Code: Select all
7GL_EXTENSIONS:

and the second time in this line:
Code: Select all
^7checking for GL_ARB_texture_non_power_of_two...  disabled by commandline


That second line is the important one as it confirms this extension IS disabled..

power only appears once in bla.txt; in this line:

Code: Select all
GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_texture_non_power_of_two


I'm using 2.2.1, though.
But on the other hand you can try the 2.3 test release we did in the forum. And we want to do a FINAL one later today.

I don't really have time to do that, I'm afraid (depending on how late "later" is, of course).
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby esteel » Wed May 23, 2007 2:37 pm

Clueless Newbie wrote:power only appears once in bla.txt; in this line:

I'm using 2.2.1, though.

I don't really have time to do that, I'm afraid (depending on how late "later" is, of course).

in 2.2.1 thats to be expected as it did not USE that extension.. that line is just a list of all the extension your graphic card and drivers reported.. So its no wonder its working.
The great question is: in 2.2.3 we normally USE that extension. On mac we disable this use as it leads to problems like you reported. Thats why i want to find out if that extension is REALLY disabled for you or not! IF is IS disabled we have a new bug.. And if its NOT disabled we have to find out why so..

And sorry i was unclear.. we want to do a final test release today.. But feel free to use one of the other three test released we did so far.. Look in the developer subforum..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Clueless Newbie » Wed May 23, 2007 8:24 pm

esteel wrote:
Clueless Newbie wrote:power only appears once in bla.txt; in this line:
I'm using 2.2.1, though.
I don't really have time to do that, I'm afraid (depending on how late "later" is, of course).

in 2.2.1 thats to be expected as it did not USE that extension.. that line is just a list of all the extension your graphic card and drivers reported.. So its no wonder its working.
The great question is: in 2.2.3 we normally USE that extension. On mac we disable this use as it leads to problems like you reported. Thats why i want to find out if that extension is REALLY disabled for you or not! IF is IS disabled we have a new bug.. And if its NOT disabled we have to find out why so..

I found the time to test 2.3.3 after all (or whatever version of Nex that comes with data20070519d.pk3). And once again, I got the black screen. I entered the console - I think, but I was still looking at a black screen so I couldn't do anything useful there. B(

But there is one oddity I keep noticing each time I try these builds: Instead of deleting the .nexuiz/ folder, I either rename it or move it to the trash. Then when I'm done with the testing, I take the .nexuiz/ folder out of the trash or rename it .nexuiz/. The configs always change when I do this, and this time I even found a folder in .nexuiz/data/ that had a backup of the old .nexuiz folder, but with the temprorary name I gave it.

What's going on here? Does Nexuiz hide a copy of the configs somewhere on the HD or does a new install start by ferreting out an old config file on the HD? Or are older data(number).pk3s interfering somehow?

Are you sure Nexuiz only stores it's files in .nexuiz and whatever folder the game is in? There is no backup stashed away somewhere? I find this behaviour odd, to say the least. I'm beginning to wonder whether I'll have to not only trash but also delete all Nexuiz files and only then try the latest build.
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron