Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325963 - games-strategy/hedgewars-0.9.13: kicks out of the game if "low quality" option is off
Summary: games-strategy/hedgewars-0.9.13: kicks out of the game if "low quality" optio...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 10:17 UTC by neko259
Modified: 2010-07-02 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hedgewars-0.9.13 patched ebuild (hedgewars-0.9.13.ebuild,1.36 KB, patch)
2010-06-30 13:27 UTC, Michał Trybus
Details | Diff
the actual source patch (hedgewars-0.9.13.patch,460 bytes, patch)
2010-06-30 13:29 UTC, Michał Trybus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description neko259 2010-06-28 10:17:52 UTC
If you are trying to start a game with normal quality, it is loading and then brings tou back to the menu. If "low quality" is turned on, the problem doesn't appear.

Reproducible: Always

Steps to Reproduce:
1. Turn off "low quality" in game settings
2. Start the game
Actual Results:  
The game kicks you out to the menu.

Expected Results:  
The game sould begin.
Comment 1 Michał Trybus 2010-06-30 13:27:44 UTC
Created attachment 237035 [details, diff]
hedgewars-0.9.13 patched ebuild 

The same problem as in 0.9.12
Comment 2 Michał Trybus 2010-06-30 13:29:15 UTC
Created attachment 237037 [details, diff]
the actual source patch

The same as in 0.9.12 [glLoadExtension('GL_ARB_texture_non_power_of_two');], but line number has changed
Comment 3 bugs 2010-07-02 15:15:02 UTC
Uh.  Why would you *enable* NPOTT??

Which is what it sure seems like your patch is doing.

For one thing, we are converting to POTT on all surfaces, so, that shouldn't really do anything.

For another, the problems in .12 were because it was enabled, and there is inconsistent graphics card / driver support, which was why it was removed.
Comment 4 bugs 2010-07-02 15:18:20 UTC
On reflection, this is perhaps specific to your card.
It may be that you are unable to load a texture that was increased to the next power of two.

If that's the case, you should still get crashes, even if NPOTT was reenabled on maps with large backgrounds, such as Desert - do you mind testing that?

FWIW, .14 uses 1024 max textures.
Comment 5 bugs 2010-07-02 15:22:10 UTC
And on further reflection, since we do try to check for your max texture size and load alternate backgrounds (also no longer needed in .14) you might only run into this on a map w/ large NPOTT and no alternate.  Hard to say, need more debugging.  Feel free to stop by the IRC channel.  In any case, this is not a general patch and definitely would not be recommended for the ebuild. 
Comment 6 bugs 2010-07-02 15:27:22 UTC
Another theory (sorry for anyone who's on bug mail for this).

Perhaps you're limited in your video memory size.

Enabling reduce quality disables a ton of large textures.  By same token, NPOTT saves a little too.  Not a lot and varies from theme to theme, but some.

Perhaps you were right on the edge and that was juuust enough.

I'd suggest disabling this patch and testing on a theme with small background images and seeing if you still get crashes.

I'd also be interested in knowing if .14 (w/ the smaller textures overall) works for you without this.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2010-07-02 15:35:17 UTC
bugs@m8y.org, thanks for checking this bug out.

Marking WONTFIX per upstream recommendations.