resort to power-of-two textures if needed

Bug #72365 reported by Tormod Volden
6
Affects Status Importance Assigned to Milestone
Compiz
Won't Fix
Medium
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The savage video hardware does not support "non power of two textures" and compiz therefore fails to start. Compiz should have the ability to use only POT textures.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

The savage video hardware does not support "non power of two textures" and compiz therefore fails to start. Compiz should have the ability to use only POT textures.

Changed in compiz:
status: Unknown → Confirmed
Revision history for this message
In , Davidr-novell (davidr-novell) wrote :

Assuming that textures are the same size as the pixmaps being bound to them
makes things a lot more convenient and removes tricky special cases that plugins
would have to be aware of.

GLX_EXT_tfp requires npot textures so if they are not available compiz would
have to MakeCurrent-CopyTexSubImage the pixmap content, which is slower and
requires more video memory. Most hardware that doesn't support npot textures is
already low on video memory so even if compiz would resort to pot textures if
needed it might not be usable anyhow.

Revision history for this message
In , Bugzi09-fdo-tormod (bugzi09-fdo-tormod) wrote :

Sniff, no compiz for me? https://bugs.freedesktop.org/show_bug.cgi?id=8758#c1
Yes, I have only up to 32 MB of video memory. But shouldn't there be some
fallback, like compiz starting but with reduced bling?

Revision history for this message
In , Singpolyma (singpolyma) wrote :

This error occurs with more than just the Savage card... if some plugins (ie 'reduced bling) didn't work on POT that would be fine... but having it fail completely in annoying...

Revision history for this message
In , Daniel Stone (daniels) wrote :

Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.

Revision history for this message
Travis Watkins (amaranth) wrote :

So, from what upstream has said and what I know about the problem I'd say this is simply not possible.

Changed in compiz:
status: Unconfirmed → Rejected
Revision history for this message
Mirco Müller (macslow) wrote :

A cleaner and better approach would be to add support GL_ARB_texture_rectangle to the savage driver. For compiz (and probably a lot of plugins) it would be a mess to implement a fall back for "power-of-two"-only drivers.

Changed in compiz:
status: Confirmed → Won't Fix
Revision history for this message
madrigaldeath (madrigaldeath) wrote :

what would the proccess be for getting a driver fix for the supersavage started? i'm interested in coding, and debugging if someone has started already

Changed in compiz:
importance: Unknown → Medium
Changed in compiz:
importance: Medium → Unknown
Changed in compiz:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.