Bug 32821

Summary: [mach64] DRI doesn't work on SGRAM with 4096Kb
Product: DRI Reporter: Nowres <nss.zpeedzter>
Component: DRM/otherAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: medium    
Version: XOrg git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
with default packages and default conf
none
with mach64drm built from AUR + custom conf + depth = 16bpp none

Description Nowres 2011-01-04 04:16:43 UTC
Created attachment 41615 [details] [review]
with default packages and default conf

I have an integrated ATI Rage Pro 2x on a Dell OptiPlex GX1.
I'm running ARCHLINUX
here's a part of the xorg log with default packages and default configuration

[    23.698] (--) Depth 24 pixmap format is 32 bpp
[    23.757] (WW) MACH64(0): DRI static buffer allocation failed -- need at least 10000 kB video memory
....
....
[    23.791] (II) MACH64(0): Direct rendering disabled

and the second situation:
I install mach64drm from AUR and added an xorg.conf and switched to 16bpp
here's a part of xorg log:

[    25.394] (II) MACH64(0): I2C bus "Mach64" initialized.
[    25.455] (WW) MACH64(0): DRI static buffer allocation failed -- need at least 7593 kB video memory
....
....
[    25.489] (II) MACH64(0): Direct rendering disabled
Comment 1 Nowres 2011-01-04 04:17:36 UTC
Created attachment 41616 [details] [review]
with mach64drm built from AUR + custom conf + depth = 16bpp
Comment 2 Alex Deucher 2011-01-04 09:14:30 UTC
This is nothing to do with sgram.  You just don't have enough video memory to enable the DRI on your board.  Due to driver limitations, the driver statically allocates front, back, and depth buffers for 3D and each has to be the size of your screen.  front/back/depth at 1280x800 @ 16bpp = 5.9 MB.  You only have 4 MB of vram.  Try 800x600, it will only require 2.8 MB for 3D.
Comment 3 Martin Peres 2019-10-14 13:20:15 UTC
Hi,

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org.

To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default).

Sorry about the noise!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.