Bug#275735: xlibmesa-dri: [radeon_dri] card locks up in drmDMA() after RADEONCPGetBuffer() on Radeon Mobility M7 LW [Radeon Mobility 7500] rev 0

2007-01-23 Thread David Decotigny
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

Brice Goglin wrote:
> Did any of you guys reproduce this problem recently? If not, I will
> close this bug in the next weeks.

I did not reproduce it for a lng time now. The only thing I did
about 9 months ago, has been to reinstall sarge from scratch. I cannot
tell if this is what fixed the problem, or if the problem disappeared
even before (by way of incremental upgrades).

Thanks for asking us ! Bye,

- --
David Decotigny -- http://decotigny.fr
Fingerprint: 54A6 7EC5 868D 98C8 8C8C 1BD1 95DE EF86 EB15 AC21
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtpuDld7vhusVrCERAs4rAJ0bHrUp8fFuIQHjWgif8rsiLdFbLgCeMlCI
KobUN+GLWRfJlVAzGVESuf8=
=REYz
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#275735: xserver-xfree86-dbg: Removing DRI module does not help

2004-12-22 Thread David Decotigny


Hi,

H it worked yesterday. Tonight X became unresponsive at most 
once. As usual, top says "100%" while gdb tells:

-
(gdb) bt
#0  0x0fe154cc in ioctl () from /lib/libc.so.6
#1  0x1047b520 in drmDMA (fd=7, request=0x75c0) at xf86drm.c:796
#2  0x10053764 in RADEONCPGetBuffer (pScrn=0x10d40f68) at radeon_accel.c:490
#3  0x10051430 in RADEONSetupForScanlineCPUToScreenColorExpandFillCP (
pScrn=0x10d40f68, fg=0, bg=2147483647, rop=1, planemask=4294967295)
at radeon_accelfuncs.c:756
#4  0x102fef78 in XAAWriteBitmapScanlineColorExpandLSBFirst 
(pScrn=0x10d40f68,
x=846, y=441, w=2, h=2, src=0x10f796f8 "", srcwidth=4, skipleft=0, 
fg=0,

bg=2147483647, rop=1, planemask=4294967295) at xaaBitmap.c:449
#5  0x102dd968 in XAAPutImage (pDraw=0x10fc1898, pGC=0x10fc8cd0, depth=1,
x=433, y=461, w=2, h=2, leftPad=0, format=0, pImage=0x10f796f8 "")
at xaaImage.c:456
#6  0x106e1040 in miSpritePutImage (pDrawable=0x10fc1898, pGC=0x10fc8cd0,
depth=1, x=433, y=461, w=2, h=2, leftPad=0, format=0, 
pBits=0x10f796f8 "")

at misprite.c:1158
#7  0x10399eac in ShadowPutImage (pDraw=0x10fc1898, pGC=0x10fc8cd0, depth=1,
x=433, y=461, w=2, h=2, leftPad=0, format=0, pImage=0x10f796f8 "")
at shadow.c:750
#8  0x104d0498 in ProcPutImage (client=0x10f7b728) at dispatch.c:2094
#9  0x104c9cec in Dispatch () at dispatch.c:450
#10 0x104ebbe0 in main (argc=9, argv=0x7d94, envp=0x7dbc) at 
main.c:469

-

BTW:
  [EMAIL PROTECTED]:/home/d2# grep rendering /var/log/XFree86.0.log
  (II) RADEON(0): Direct rendering enabled

xlibmesa-dri is still uninstalled:
  [EMAIL PROTECTED]:/home/d2# dpkg -s xlibmesa-dri
  Package: xlibmesa-dri
  Status: purge ok not-installed
  Priority: optional
  Section: x11
  Architecture: powerpc

Same config file as yesterday. I'll try without the dri module.

Bye,



Bug#275735: xserver-xfree86-dbg: Removing DRI module does not help

2004-12-21 Thread David Decotigny


Hi,

Sorry for the big delay. I just powered on my ibook: now I can confirm 
what Frederic noticed. By removing xlibmesa-dri and commenting out 
everything that is related to DRI (and even AGP), it seems to work 
flawlessly. However the "dri" module is still in the list of the X 
config file, and the radeon kernel module is still loaded (as well as 
the AGP GART).


Now that it seems to work, I'm going to re-use the ibook more regularly. 
I'll spend some time one day investigating the problem a little further.


Attached is my XF86 config file.

Thanks A LOT everybody ! I guess the ibook will work intensively during 
the next few days...
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86
Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
FontPath"/usr/local/share/fonts/truetype"
EndSection
Section "Module"
##  Load"GLcore"
##  Load"bitmap"
Load"dbe"
##  Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
##  Load"int10"
##  Load"record"
##  Load"speedo"
Load"type1"
##  Load"vbe"
EndSection
Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "fr_new"
EndSection
Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection
Section "Device"
Identifier  "ATI Seule"
##Option "EnablePageFlip" "True"  # []
##Option "AGPMode""4" # 
##Option "AGPFastWrite"   "True"  # []
##Option "DRIReinit"
Driver  "ati"
BusID   "PCI:0:16:0"
Option  "UseFBDev"  "true"
EndSection
Section "Device"
Identifier  "ATI Interne"
Driver  "ati"
BusID   "PCI:0:16:0"
Option  "UseFBDev"  "true"
Option "crt_display"   "True"  # []
Option  "MonitorLayout" "LVDS,CRT"
Screen 0
EndSection
Section "Device"
Identifier  "ATI Externe"
Driver  "ati"
BusID   "PCI:0:16:0"
Option  "UseFBDev"  "false"
Option "crt_display"   "True"  # []
Option  "MonitorLayout" "LVDS,CRT"
Screen 1
EndSection
Section "Monitor"
Identifier  "LCD"
HorizSync   28-50
VertRefresh 43-75
Option  "DPMS"
EndSection
Section "Monitor"
Identifier  "CRT"
HorizSync   31-54
VertRefresh 50-120
Option  "DPMS"
EndSection
Section "Screen"
Identifier  "Flat panel"
Device  "ATI Seule"
Monitor "LCD"
DefaultDepth24
SubSection "Display"
Depth   24
Modes   "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier  "Flat panel gauche"
Device  "ATI Interne"
Monitor "LCD"
DefaultDepth24
SubSection "Display"
Depth   24
Modes

Bug#275735: xserver-xfree86-dbg: server (normal and -dbg) lock with radeon (Mobility 7500 M7 LW) on an ibook

2004-11-30 Thread David Decotigny


Hi,

I'm not sure if this is related to the X bug. But please notice that the 
bug appears now on the ibook, and that this ibook went to Ireland for 
some repair by Apple some months ago. Actually, the ibook became 
suddenly totally unusable during March 2004. I don't know what apple 
fixed on it (might be the "Logic Board Repair" -- see 
http://www.apple.com/support/ibook/faq/ ?), but now the machine works 
fine again... Except that X crashes.


My problem is that I cannot remember when I upgraded the X server. So 
this problem could be related to some incompatibility between X in 
general (whatever the version) and the "repaired" logic board, or to 
some incompatibility between this newer version of X and the "repaired" 
logic board, or to some incompatibility between this newer version of X 
and the board in general (repaired or not)...


I know this does not help...

Thanks to Debian anyway !

--
David Decotigny -- http://david.decotigny.free.fr




Bug#275735: xserver-xfree86-dbg: server (normal and -dbg) lock with radeon (Mobility 7500 M7 LW) on an ibook

2004-10-09 Thread David Decotigny
Package: xserver-xfree86-dbg
Version: 4.3.0.dfsg.1-8
Severity: normal

Hi,

I have a bug similar to #236187 but with the radeon driver. While
using the server with both GL applications (eg glxgears) and xdvi,
it eventually loops
forever. I did not manage to find a simple systematic way to reproduce
it, but it happens almost everytime I have been trying to use X for some
months. X used to work correctly before (with the 4.2.99 from M. Daenzer). I
also managed to make X lock with only glxgears, but it seems that starting
xdvi on a dvi file makes the lock appear faster... don't ask me why. It also
locked with only xdvi and emacs, but I'm not sure it still happens (I
dist-upgrade-d many times in the meanwhile, without testing it again).

The bug appears with the "normal" xserver-xfree86, and also
xserver-xfree86-dbg, on both linux 2.4 and linux 2.6 (ppc host), with
debian or custom built kernels. It appears with or without the commented-out
options in the "Device" section of the XF86Config-4 below (EnablePageFlip
and AGPFastWrite), even when I change the value of the AGPMode option.

Here are some gdb traces on the -dbg version of the server (debian 2.6.8 ppc UP
kernel). In gdb I tried to break multiple times to see whether the call
stack changed. Another trace comes afterwards, which was made with the
"normal" version of the server (ie no debug):

- begin 1st gdb session (-dbg server) 
[EMAIL PROTECTED]:~# top

top - 23:06:21 up 10 min,  6 users,  load average: 3.11, 1.48, 0.66
Tasks: 105 total,   2 running, 103 sleeping,   0 stopped,   0 zombie
Cpu(s): 19.6% us, 13.9% sy,  0.2% ni, 38.7% id, 27.2% wa,  0.4% hi,  0.0% si
Mem:385784k total,   219096k used,   166688k free,14072k buffers
Swap:   511992k total,0k used,   511992k free,   102548k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 3186 root  15 -10 68360  11m  62m R 97.8  3.1   0:46.77 XFree86-debug
 3608 root  16   0  2608 1104 2392 R  3.1  0.3   0:00.03 top
1 root  16   0  1604  556 1456 S  0.0  0.1   0:00.91 init
2 root  34  19 000 S  0.0  0.0   0:00.00 ksoftirqd/0
3 root   5 -10 000 S  0.0  0.0   0:02.90 events/0
4 root   6 -10 000 S  0.0  0.0   0:00.01 khelper
   18 root   5 -10 000 S  0.0  0.0   0:00.05 kblockd/0
   34 root  20   0 000 S  0.0  0.0   0:00.00 pdflush
   35 root  15   0 000 S  0.0  0.0   0:00.00 pdflush
   36 root  16   0 000 S  0.0  0.0   0:00.00 kswapd0
   37 root   7 -10 000 S  0.0  0.0   0:00.00 aio/0
  255 root  15   0 000 S  0.0  0.0   0:00.01 kjournald
  298 root   6 -10  1584  420 1436 S  0.0  0.1   0:00.03 udevd
  899 root  18   0 000 S  0.0  0.0   0:00.00 kjournald
  900 root  15   0 000 S  0.0  0.0   0:00.01 kjournald
  901 root  15   0 000 S  0.0  0.0   0:00.00 kjournald
  902 root  15   0 000 S  0.0  0.0   0:00.00 kjournald
[EMAIL PROTECTED]:~# gdb -p 3186
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-linux".
Attaching to process 3186
Reading symbols from /usr/X11R6/bin/XFree86-debug...done.
Using host libthread_db library "/lib/libthread_db.so.1".
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0x0fe154cc in ioctl () from /lib/libc.so.6
(gdb) bt
#0  0x0fe154cc in ioctl () from /lib/libc.so.6
#1  0x1047b520 in drmDMA (fd=7, request=0x7560) at xf86drm.c:796
#2  0x10053764 in RADEONCPGetBuffer (pScrn=0x10d40f40) at radeon_accel.c:490
#3  0x10051bb4 in RADEONSetupForScanlineImageWriteCP (pScrn=0x10d40f40, rop=3,
planemask=4294967295, trans_color=-1, bpp=32, depth=24)
at radeon_accelfuncs.c:941
#4  0x102dcfd0 in XAAWritePixmapScanline (pScrn=0x10d40f40, x=525, y=53,
w=374, h=3, src=0x10fb7bc0 "", srcwidth=1496, rop=3, planemask=4294967295,
trans=-1, bpp=32, depth=24) at xaaImage.c:354
#5  0x102c577c in XAADoImageWrite (pSrc=0x10fb7b70, pDst=0x10fd6158,
pGC=0x10f90dd0, prgnDst=0x7728, pptSrc=0x76d0) at xaaCpyArea.c:216
#6  0x102c4854 in XAABitBlt (pSrcDrawable=0x10fb7b70, pDstDrawable=0x10fd6158,
pGC=0x10f

Bug#234113: [branden@debian.org: Bug#234113: xlibs or xkb: no more pipe, tilde, ... (alt-gr ?) on ibook]

2004-02-29 Thread David Decotigny

Hello,

I think the relevant part of the bug is given by gdm. With the 
XF86Config-4 previously sent, /var/log/gdm/:0.log says:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:Can't find file "pc/fr_new" for symbols include
>   Exiting
>   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
succeeded

Hope this helps.

Just another question: could it be the case that the path of the map we 
need must be in the /etc/X11/xkb/*.dirs files before ever hoping to use 
it ? In that case then, the correct fix would be to add the map (in my 
case : fr_new) in the correct *.dirs file ? As for myself, I would find 
this rather complicated : to use one's a custom system-wide map, one 
must 1/ copy the map to the right place, 2/ modify the correct *.dirs 
file(s), 3/ set the XF86Config options correctly. Waouch, it reminds me 
of all the burden with the TeX's commands in the ksewhich family.


Thanks a lot anyway, X is great.




Bug#234113: [Fwd: Re: Bug#234113: [branden@debian.org: Bug#234113: xlibs or xkb: no more pipe, tilde, ... (alt-gr ?) on ibook]]

2004-02-28 Thread David Decotigny

Hi,

Since I don't know who "[EMAIL PROTECTED]" will reach, I 
repost a preliminary workaround to the right (?) addresses.


Sincerely,
--- Begin Message ---


Hi,


Please mail this bug your /etc/X11/XF86Config-4 file so we can see what
your keyboard configuration is.
 

See the attachment. By doing an strace on X, I noticed that X looks for 
my symbol map in symbols/pc/fr_new instead of 
symbols/macintosh/fr_new... Since I have a lot of problems with my dsl 
connection, I cannot check the XF86 docs to see any changes in the 
configuration statements, but it seems to be something as stupid as this.


BTW, I found a working workaround for my keyboard configuration : Once X 
is launched, in a terminal, simply issue "setxkbmap fr_new".


Thanks a lot.
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules-dri-trunk"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "extmod"
Load  "dri"
Load  "glx"
Load  "dbe"
Load  "record"
Load  "xtrap"
Load  "speedo"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "fr_new"
Option  "XkbOptions""ctrl:nocaps"
Option  "AutoRepeat""100 25"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol"  "ImPS/2"
Option  "Device""/dev/input/mice"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
Option "UseFBDev"   "True"  # []
Option "EnablePageFlip" "True"  # []
Option "AGPMode""4" # 
Option "AGPFastWrite"   "True"  # []
#   Option "DDCMode""True"  # []
#   Option "CloneDisplay"   "1" # [<0-4>]
#   Option "OverlayOnCRTC2" "True"  # []
#   Option "CloneMode"  "1024x768"  # []
#   Option "CloneHSync" # []
#   Option "CloneVRefresh"  # []
## Option  "MergedFB" "true"
## Option  "CRT2Position" "LeftOf"
## Option  "MetaModes" "1024x768-1024x768 1024x768"
## Option  "CRT2HSync" "31-64"
## Option  "CRT2VRefresh" "50-75"
## Option  "CRT2ForceOn" "true"
Identifier  "Card0"
Driver  "ati"
BusID   "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
mode 0666
EndSection
--- End Message ---


Bug#234113: [branden@debian.org: Bug#234113: xlibs or xkb: no more pipe, tilde, ... (alt-gr ?) on ibook]

2004-02-28 Thread David Decotigny


Hi,


Please mail this bug your /etc/X11/XF86Config-4 file so we can see what
your keyboard configuration is.
 

See the attachment. By doing an strace on X, I noticed that X looks for 
my symbol map in symbols/pc/fr_new instead of 
symbols/macintosh/fr_new... Since I have a lot of problems with my dsl 
connection, I cannot check the XF86 docs to see any changes in the 
configuration statements, but it seems to be something as stupid as this.


BTW, I found a working workaround for my keyboard configuration : Once X 
is launched, in a terminal, simply issue "setxkbmap fr_new".


Thanks a lot.
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules-dri-trunk"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "extmod"
Load  "dri"
Load  "glx"
Load  "dbe"
Load  "record"
Load  "xtrap"
Load  "speedo"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "fr_new"
Option  "XkbOptions""ctrl:nocaps"
Option  "AutoRepeat""100 25"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol"  "ImPS/2"
Option  "Device""/dev/input/mice"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
Option "UseFBDev"   "True"  # []
Option "EnablePageFlip" "True"  # []
Option "AGPMode""4" # 
Option "AGPFastWrite"   "True"  # []
#   Option "DDCMode""True"  # []
#   Option "CloneDisplay"   "1" # [<0-4>]
#   Option "OverlayOnCRTC2" "True"  # []
#   Option "CloneMode"  "1024x768"  # []
#   Option "CloneHSync" # []
#   Option "CloneVRefresh"  # []
## Option  "MergedFB" "true"
## Option  "CRT2Position" "LeftOf"
## Option  "MetaModes" "1024x768-1024x768 1024x768"
## Option  "CRT2HSync" "31-64"
## Option  "CRT2VRefresh" "50-75"
## Option  "CRT2ForceOn" "true"
Identifier  "Card0"
Driver  "ati"
BusID   "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
mode 0666
EndSection