[Savage40] ThinkPad T23: 3D acceleration and savage frame buffer driver

Martin Steigerwald Martin at lichtvoll.de
Fri Feb 10 01:51:35 PST 2006


Hello,

are there any known issues with 3D acceleration and the savage frame 
buffer driver? I recently tried again to include the savage fb driver in 
my kernel config to test whether it now would work with suspend to disk 
now that I use 2.6.15.2 and software suspend 2. Well it does. I have  
nice 1024x768 framebuffer tty's and suspend to disk which are not mangled 
after resuming.

But then I had a segmentation fault with glxinfo and glxgears. I thought 
it might be the savagefb and tried a vga=791 boot parameter. After 
rebooting it still seemed that savagefb is in use, but glxinfo and 
glxgears worked. This segmentation fault didn't happen again and I have 
no idea on how to reproduce it.

But now sometimes I get rather slow framerates with glxgears, like this:

44 frames in 5.1 seconds =  8.597 FPS
48 frames in 5.0 seconds =  9.510 FPS
48 frames in 5.1 seconds =  9.491 FPS
48 frames in 5.1 seconds =  9.485 FPS
21 frames in 5.1 seconds =  4.138 FPS
39 frames in 5.3 seconds =  7.293 FPS
martin at deepdance:~ -> glxgears
27 frames in 5.0 seconds =  5.385 FPS
15 frames in 5.2 seconds =  2.881 FPS
32 frames in 5.1 seconds =  6.291 FPS

I had this yesterday for example. Then I suspended the machine and resumed 
it today and now I get

martin at deepdance:/usr/src/linux-2.6.15 -> glxgears
1033 frames in 5.0 seconds = 206.574 FPS
1056 frames in 5.0 seconds = 211.097 FPS
1055 frames in 5.0 seconds = 210.980 FPS
1052 frames in 5.0 seconds = 210.258 FPS

again.

But still it seems that despite vga=791 the savagefb framebuffer driver is 
active:

martin at deepdance:/ -> grep "savage" /proc/bus/pci/devices
0100    53338c2e        b       c0100000        e8000008        e4000008        
e0000008        00000000        00000000     e2000002        00080000        
04000000        04000000        02000000        00000000        00000000    
00010000 savagefb

(if I interpret this correctly)

Now the changelog of the savage driver says:

linux-2.6.16.2/drivers/video/savage/savagefb_driver.c
 * 0.3.1 (dok)
 *  - reset 3D engine
 *  - don't return alpha bits for 32bit format

Now is there any known incompatibilty between savagefb and savage drm 
drivers or should I search elsewhere for the cause of the occasionally, 
exceptionally  slow framerates.

I am using Debian Etch/Sid with X.org 6.9 + dri driver snapshot as 
described in my previous mail to this list.

Its not an urgent matter. I am quite happy that it works most of the time 
and actually do not use the 3D acceleration very often.

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


More information about the Savage40 mailing list