So, I'm using Fedora 12 on a G4 Power PC Mac Mini. I got the right PPC install disk, and installed it, and things went well. However, the DRI failed to start, so I couldn't use Desktop Effects, Compiz, or anything involving 3D acceleration.
I check the log at /var/log/Xorg.0.log and found "(EE) Static buffer allocation failed. Disabling DRI". It mentioned below that that I need almost 42MB of memory for this depth and resolution. The screen I'm using it on has a resolution of 1360x768.
I tried simply lowering the resolution, but this didn't help, so I googled a bit more. Eventually, I found this thread which featured the following comment:
The error below: (EE) RADEON(0): Static buffer allocation failed. Disabling DRI. (EE) RADEON(0): At least 9000 kB of video memory needed at this resolution and depth. Is caused because the new xrandr module doesn't detect the weird 1280x600 dimensions: here's what Alex said plus the solution: Alex Deucher wrote: > > Add the following line to the display subsection of the screen section > > of your config: > > > > Virtual 1280 600 > > > > With the new randr code we pre-allocate a framebuffer until we get ttm support. So now I have glxgears running at a hair raising 400fps instead of an underwhelming 30fps. Cheers, Doug
Of course, my resolution is different, but still, I generated an xorg.conf (since Fedora's X doesn't generate one itself; this was done by going to a terminal without GDM up, typing "Xorg -configure" which creates /root/xorg.conf.new, which I copied to /etc/X11/xorg.conf) and added the line like this:
... Section "Screen" ... SubSection "Display" Viewport 0 0 Depth 24 Virtual 1360 768 EndSubSection EndSection
I've omitted most of the file above. I added the Virtual line to each 'SubSection "Display"' I had, so for each depth.
Upon restarting my X server, Desktop Effects were available. Hurrah!
No comments:
Post a Comment