Bug 32821 - [mach64] DRI doesn't work on SGRAM with 4096Kb
Summary: [mach64] DRI doesn't work on SGRAM with 4096Kb
Status: RESOLVED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 04:16 UTC by Nowres
Modified: 2019-10-14 13:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
with default packages and default conf (37.90 KB, patch)
2011-01-04 04:16 UTC, Nowres
no flags Details | Splinter Review
with mach64drm built from AUR + custom conf + depth = 16bpp (37.23 KB, patch)
2011-01-04 04:17 UTC, Nowres
no flags Details | Splinter Review

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.