I tried the simple SDL_Init/SDL_Quit example from [1] and it doesn't crash. I 
also tried running tuxpaint, not crashing my machine either. The system is a 
current testing system, also on a Mac Mini G4.

Attached is the xorg.conf file, notable differences are:
 - The whole "Module" section.
 - In the "Device" section the "MacModel" option, I'm not sure if this is 
important though.
 - In the "Device" section the "IgnoreEDID" option. My monitor actually 
reports more (60Hz) than it is really capable of (58Hz), so I have to program 
the timing manually.
 - I'm running at a display depth of 16 bit instead of 8.

Actually, what depth are you running? I assumed it would use the first one, 
i.e. 8BPP in your case, is that true? However, I think this is mostly a mode 
for legacy code, as all others now use some kind of RGB encoding. I would 
definitely suggest trying 15/16/24 bits, too, that might already fix your 
problem.

Uli

[1] http://lazyfoo.net/SDL_tutorials/lesson01/linux/cli/index.php
Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "dvorak"
        Option          "XkbVariant"    "dvorak"
        Option      "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
EndSection

Section "Device"
        Identifier      "Builtin Radeon"
        Driver          "radeon"
        # select model with integrated DVI adapter
        Option      "MacModel" "mini-internal"
        # ignore monitor mode lines received via DDC but use DDC to detect the 
monitor itself
        Option      "IgnoreEDID"  "true"
        Option "AccelMethod" "XAA"
EndSection

Section "Monitor"
        Identifier      "SyncMaster 225BW on VGA"
        Option          "DPMS"
EndSection

Section "Monitor"
        Identifier "SyncMaster 225BW on DVI"
        ModelName "SyncMaster"

        # 1680x1050 57.96 Hz (CVT) hsync: 63.06 kHz; pclk: 141.25 MHz
        Modeline "1680x1...@58"  141.25  1680 1784 1960 2240  1050 1053 1059 
1088 -hsync +vsync
        Modeline "1680x1...@57"  140.25  1680 1784 1960 2240  1050 1053 1059 
1088 -hsync +vsync

        Option  "PreferredMode" "1680x1...@57"
EndSection


Section "Screen"
        Identifier      "Default Screen"
        Device          "Builtin Radeon"
        Monitor         "SyncMaster 225BW on DVI"
        DefaultDepth    16
        SubSection "Display"
                Depth           1
                Modes           "1680x1050" "1280x1024" "1024x768" "800x600" 
"640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1680x1050" "1280x1024" "1024x768" "800x600" 
"640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1680x1050" "1280x1024" "1024x768" "800x600" 
"640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1680x1050" "1280x1024" "1024x768" "800x600" 
"640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1680x1050" "1280x1024" "1024x768" "800x600" 
"640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1680x1050" "1280x1024" "1024x768" "800x600" 
"640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

Reply via email to