I run Debian 8.1 on an iMac G3 500 from 2001. The computer has an ATI Rage 128 PRO graphics card. In order for X to start it needs to know the horizontal sync frequencies and the vertical refresh rates supported by the CRT monitor:
$ cat /etc/X11/xorg.conf
Section "Device"
Identifier "Configured Video Device"
Driver "r128"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 58-62
VertRefresh 75-117
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
With the above configuration file, X runs but the 2d performance is very slow; moving windows, for instance, is really lagging. According to the manual page for the r128 driver it contains full support for hardware acceleration of drawing primitives. My question is, basically, what settings do I need to add to get hardware acceleration? How can I tell whether hardware acceleration is in use or not?
Update 2015-07-15:
Here is the content of /var/log/Xorg.0.log
: http://textuploader.com/asl1o
Update 2015-07-25:
Here is the output of the command dmesg
: http://textuploader.com/addvx
Update 2015-08-06:
The strange thing is that although Xorg.0.log
says
[ 84.669] (WW) R128(0): Direct rendering disabled
the glxinfo
command thinks it's enabled:
$ glxinfo | head
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_make_current_read
xserver-xorg-video-r128
.R128(0): Direct rendering disabled
which means that you don't have any acceleration; to figure out why DRI is disabled you'll need to look at the kernel logs. Could you post the contents of/var/log/dmesg
?