Subject: Re: x configuring...
To: None <joel@carnat.net>
From: None <segv@netctl.net>
List: port-sparc64
Date: 09/26/2005 11:08:31
On Mon, 26 Sep 2005 11:05:32 +0200
Joel CARNAT <joel@carnat.net> wrote:

> Hi,
> 
> do you have both an internal ATI and the Elite 3D ?
> 
> I'm having the same kinda issue with the internal ATI and a PCI PGX64.
> ################################
> (II) ATI:  Candidate "Device" section "Card0".
> (II) ATI:  Candidate "Device" section "Card1".
> (II) ATI:  Unshared PCI/AGP Mach64 in slot 1:2:0 detected.
> 
> Fatal server error:
> xf86MapVidMem: could not mmap screen [s=2000,a=12000000] (Invalid argument)
> ################################
> 
> Michael is investigating on my issue...
> Perharps solving mine will solve yours ;)
> 

I remember having similar problems, I think running 'X -configure' was trying
to load ati drivers under /usr/X11R6/lib/modules/drivers

The way I got round this was like this

cd /usr/X11R6/lib/modules
mv drivers drivers.orig
cd drivers
rm ati_drv.o atimisc_drv.o r128_drv.o

then run 'X -configure' and it should work

Alternatively you can copy and save my /etc/X11/XF86Config file:

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"
        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  "dbe"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
EndSection
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "Protocol" "wskbd"
        Option      "Device" "/dev/wskbd"
        Option "XkbModel" "pc105"
        Option "XkbRules" "xfree86"
        Option "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 108.0
        VertRefresh  40.0 - 150.0
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        Option     "Accel" "on"
        Identifier  "Card0"
        Driver      "sunffb"
        BusID       "SBUS:fb0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor     "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection