Re: Problems with X (Try taking out 'Load "dri"')
On Tue, 26 Nov 2002, Heberto del Rio wrote:
> Hi,
>
> This is the first time that I install Linux on a Sun. After some research
> I have chosen Debian, so far everything went fine. Although when I tryed to
> setup XFree86 is when the problems started.
>
> I checked /var/log/messages and discovered that the video card of my system
> (UltraSparc 60) was a Creator 3D (fb0: Creator 3D at ....) to be sure I did
> 'cat' on /proc/fb and it returned
> 0 Creator
>
> After reading on the documentation I decided to use sunffb as the driver
> but, I didn't know what to put as the video card's bus identifier so I left
> it blank
>
> and this is the content of /var/log XFree86.0.log after running startx (of
> course X is not running)
>
> Can you help me to find out why X is not running? Am I doing something
> wrong (I am sure of this, but don't know what)
>
> Heberto
>
Herberto,
It looks like your 'Section "Module"' has 'Load "dri"' in it. Try
commenting that line lout. That's what the (EE) line in your log is
complaining
about. I don't know why, but for me (and for every working Configure file
for the Creator3D I have seen), you can't do this.
Here is an XF86Config file which, as they say, 'works for me' with
a Creator3D under xfree86-4.2.1 (after the highlighted error line).
===================================================================
> (II) LoadModule: "dri"
> (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
> (II) Module dri: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> ABI class: XFree86 Server Extension, version 0.1
> (II) LoadModule: "sunffb"
> (II) Loading /usr/X11R6/lib/modules/drivers/sunffb_drv.o
> (II) Module sunffb: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> Module class: XFree86 Video Driver
> ABI class: XFree86 Video Driver, version 0.4
> ABI class: XFree86 ANSI C Emulation, version 0.1
> (II) Reloading /usr/X11R6/lib/modules/extensions/libdri.a <<<<
> (II) UnloadModule: "dri" <<<<
> (EE) SUNFFB: Failed to load module "dri" (once-only module, 0) <<<<
> (II) UnloadModule: "sunffb"
> (II) UnloadModule: "drm"
> (II) Unloading /usr/X11R6/lib/modules/libmfb.a
> (EE) Screen(s) found, but none have a usable configuration.
======================================================================
======================================================================
# Works on Creator3D on Ultra10, Ultra2
Section "ServerLayout"
Identifier "YaST2 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/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/freefont"
FontPath "/usr/X11R6/lib/X11/fonts/sharefont"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
EndSection
Section "ServerFlags"
Option "StandbyTime" "10"
Option "SuspendTime" "20"
Option "OffTime" "30"
EndSection
Section "Module"
Load "dbe"
Load "type1"
Load "speedo"
#Load "dri"
Load "glx"
Load "extmod"
Load "freetype"
# Load "pex5"
# Load "record"
# Load "xie"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
Option "XkbRules" "sun"
Option "XkbLayout" "us"
Option "XkbGeometry" "sun(type5)"
Option "XkbSymbols" "sun/us(sun5)"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "MouseSystems"
Option "Device" "/dev/sunmouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Sony"
ModelName "GDM-20E20"
Option "DPMS" "on"
EndSection
Section "Device"
Identifier "Card0"
BoardName "Sun|FFB2+ Horizontal Creator 3D (ffb)"
VendorName "Sun Microsystems"
Driver "sunffb"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
SubSection "Display"
Depth 32
EndSubSection
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
===================================================================
Hope this helps,
Regards
--
Ferris McCormick (P44646, MI) <fmccor@inforead.com>
Phone: (703) 392-0303
Fax: (703) 392-0401
Reply to: