Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15001 - DRI disabled for Voodoo 3 with screen res > 1024x768
Summary: DRI disabled for Voodoo 3 with screen res > 1024x768
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-02 15:35 UTC by Ron
Modified: 2003-02-23 19:06 UTC (History)
1 user (show)

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


Attachments
patch to remove patch 035 (patch-voodoo3-DRI-large-desktop,525 bytes, patch)
2003-02-02 15:38 UTC, Ron
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ron 2003-02-02 15:35:18 UTC
Well, after doing some research apparently 16MB cards run out of texture memory.

However, I have had no ill effects from running a 1280x960 desktop and playing
Quake3 @ 1024x768 or 800x600 (Which is what I have used for the past couple of
years). So here's a patch to remove the patch that stops this. It applies to
xfree-4.2.1-r2.ebuild

Azarah: I don't really expect this patch to be included, but if anyone else
finds it useful after discovering that DRI has been disabled for them because of
their desktop size...

Reproducible: Always
Steps to Reproduce:
1. Emerge xfree-4.2.1-r2
2. Run a normal desktop @> 1024x768
3. Try to play Quake3 :)

Actual Results:  
Discovered that DRI was disabled so Q3 failed to load

Expected Results:  
Should have been fraggin time
Comment 1 Ron 2003-02-02 15:38:06 UTC
Created attachment 7852 [details, diff]
patch to remove patch 035
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-03 13:24:02 UTC
How much video memory on the board ?
Comment 3 Ron 2003-02-03 17:28:29 UTC
It's a Voodoo 3 3000 PCI 16MB. 

No Voodoo Banshee/2/3 has more memory than 16MB to my knowledge.

IMHO this patch is overkill, there are 8MB Voodoo cards out there, should these be further restricted?

Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-04 19:01:34 UTC
Guess I could try to make the patch a bit more intelligent so that it will check
if the memory is enouth or not.
Comment 5 Ron 2003-02-05 15:43:10 UTC
Well, the patch already seems fairly intelligently implemented - it checks for Voodoo3 and Banshee chipsets, it checks the amount of memory on the card (<= 16MB), it checks the virtual screen size, and then disables DRI.

My point really is that Voodoo 3's, when released, were benchmarked @ 1600x1200 (admittedly under windows). I can run fullscreen/windowed acclerated at this resolution too without problems, although for performance reasons I choose not to. So unless there is something broken for memory management in DRI *specifically on Voodoo <4 cards*, I think that this patch should not be applied.

If you could point me to some code to prove that problems occur, I would be more than happy to test it.
Comment 6 gatto 2003-02-21 14:17:45 UTC
My system ran fine with a 1280x1024 DRI desktop, playing quake3.  This was with a 16MB voodoo3 3000. As it is i have to log out and startx with a different XF86Config just to play quake3 now.
Comment 7 Ron 2003-02-22 11:35:02 UTC
Apply my patch attached above to xfree-4.2.1-r2.ebuild then rebuild X.
You will get full X/DRI functionality back.

I know this is a pain, I have no idea why the patch to stop DRI for Voodoo
cards at normal desktop sizes has been included.

Also I have not been able to find *anything* to support the claims of the 
disabling patch (No. 35 in the patches archive) - certainly not general use of
XFree/DRI.
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-23 19:06:33 UTC
I disabled the patch .. just wanted conformation that its ok to do so.