Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sun Sparc 60 xorg.conf problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
greazy
n00b
n00b


Joined: 09 Oct 2005
Posts: 12

PostPosted: Wed Oct 19, 2005 3:41 am    Post subject: Sun Sparc 60 xorg.conf problem Reply with quote

Problem with my xorg.conf file.
GEAR: Sun Sparc 60 w/ one cpu and 21" Sun-Sparc monitor and sun keyboard/mouse
Kernel 2.4.31

Here's my xorg.conf file, which is based on the examples posted on the xorg site:
http://dev.gentoo.org/~fmccor/docs/xorg/xorg.conf/xorg.conf.html

Quote:

##
# xorg.conf for kernel-2.4.31
# Graphics = CreatorElite (ffbafb)
# Sun type5 keyboard

Section "ServerLayout"
Identifier "Modified_for_xorg-x11_kernel_2.4.31"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "HandleSpecialKeys" "Always"
Option "DontVTSwitch" "off"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/x11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/ukr"
EndSection

Section "ServerFlags"
Option "StandbyTime" "10"
Option "SuspendTime" "20"
Option "OffTime" "30"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "bitmap"
Load "drm"
Load "dri"
Load "extmod"
Load "freetype"
Load "record"
Load "glx"
Load "cfb"
Load "cfb32"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "Protocol" "Standard"
# Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
# Option "XkbRules" "sun"
Option "XkbRules" "xorg"
Option "XkbLayout" "en_US"
# Option "XkbTypes" "types/complete"
# Option "XkbCompat" "compact/complete"
# Option "XkbGeometry" "sun(type5unix)"
Option "XkbGeometry" "sun(type5)"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "MouseSystems"
Option "Device" "/dev/sunmouse"
Option "Emulate3Buttons" "false"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Sun-Sony"
ModelName "GDM-20E20"
Option "DPMS" "on"
EndSection

Section "Device"
Identifier "Card0"
# BoardName "SunFFB2+ Creator 3D (series 3) (ffb2+)"
BoardName "Sun|AFB Horizontal Elite 3D (afb)"
VendorName "Sun Microsystems"
Driver "sunffb"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection



and here's a summary of my xorg.log file, just the ending. let me know if you need more:

Quote:


...
(==) SUNFFB(0): Silken mouse enabled
(**) Option "dpms" "on"
(**) SUNFFB(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) /dev/fb0: Setting up double-buffer acceleration.
No matching visual for __GLcontextMode with visual class = 3 (32772),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 1 (32774),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 0 (32775),
nplanes = 24
(**) Option "Protocol" "MouseSystems"
(**) Mouse0: Device: "/dev/sunmouse"
(**) Mouse0: Protocol: "MouseSystems"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/sunmouse"
(**) Option "Emulate3Buttons" "false"
(==) Mouse0: Buttons: 3
(**) Mouse0: SmartScroll: 1
(**) Option "BaudRate" "1200"
(**) Mouse0: BaudRate: 1200
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "Standard"
(**) Keyboard0: Protocol: Standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "type5"
(**) Keyboard0: XkbModel: "type5"
(**) Option "XkbLayout" "en_US"
(**) Keyboard0: XkbLayout: "en_US"
(**) Option "XkbGeometry" "sun(type5)"
(**) Keyboard0: XkbGeometry: "sun(type5)"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.


I'm worried about the fonts, and no matching visuals. Thoughts?
Back to top
View user's profile Send private message
greazy
n00b
n00b


Joined: 09 Oct 2005
Posts: 12

PostPosted: Wed Oct 19, 2005 3:44 am    Post subject: Reply with quote

One other thing to note, I can't find a rgb file at either:
RgbPath "/usr/X11R6/lib/x11/rgb" (xorg site, 2.6 kernel)
or
RgbPath "/usr/lib/x11/rgb" (xorg site, 2.4 kernel)

you'll see this in my log if you want me to spit the whole thing out.
Back to top
View user's profile Send private message
greazy
n00b
n00b


Joined: 09 Oct 2005
Posts: 12

PostPosted: Wed Oct 19, 2005 7:01 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Thu Oct 20, 2005 1:38 pm    Post subject: Reply with quote

What version of xorg-x11 is this, and how did you build it? (I.e., what USE options.)

You should not need to specify '/usr/X11R6/...' for anything; indeed, it's wrong. You should have a symbolic link /usr/X11R6 -> ../usr//, and if you don't, you will need to clean out /usr/X11R6, then create the link.

Rgbpath is probably /usr/lib/X11/rgb --- just look in that directory to see.

Other than that: x11-base/xorg-x11-6.8.2-r6 should work fine on a U60/Creator system: Indeed, this is what I use on an identical system with kernel 2.4.31-sparc-r2:
Code:

Section "ServerLayout"
  Identifier    "Modified_for_4.3.3-r2"
  Screen         0 "Screen0" 0 0
  InputDevice   "Mouse0" "CorePointer"
  InputDevice   "Keyboard0" "CoreKeyboard"
  Option        "HandleSpecialKeys" "Always"
  Option        "DontVTSwitch"  "off"
EndSection

Section "Files"
  RgbPath       "/usr/X11R6/lib/X11/rgb"
  ModulePath    "/usr/lib/modules"
  FontPath      "/usr/share/fonts/misc:unscaled"
  FontPath      "/usr/share/fonts/75dpi:unscaled"
  FontPath      "/usr/share/fonts/100dpi:unscaled"
  FontPath      "/usr/share/fonts/misc"
  FontPath      "/usr/share/fonts/75dpi"
  FontPath      "/usr/share/fonts/100dpi"
  FontPath      "/usr/share/fonts/cyrillic"
  FontPath      "/usr/share/fonts/truetype"
  FontPath      "/usr/share/fonts/TTF"
  FontPath      "/usr/share/fonts/ukr"
EndSection

Section "ServerFlags"
  Option        "StandbyTime"   "10"
  Option        "SuspendTime"   "20"
  Option        "OffTime"       "30"
EndSection

Section "Module"
  Load  "dbe"
  Load  "type1"
  Load  "bitmap"
  Load  "drm"
  Load  "dri"
  Load  "extmod"
  Load  "freetype"
  Load  "record"
  Load  "glx"
  Load  "vbe"
 Load  "cfb"
 Load  "cfb32"
EndSection

Section "InputDevice"
  Identifier  "Keyboard0"
#  Driver      "keyboard"
  Driver      "kbd"
  Option      "Protocol"    "Standard"
  #Option       "XkbKeymap"     "sun/us(type5_unix)"
  ## Option     "XkbKeymap"     "antaresia"
  Option      "XkbKeycodes" "sun(type5)"
  Option      "XkbModel"    "type5"
  # Option      "XkbModel"    "sun"
  Option      "XkbRules"    "sun"
  Option      "XkbLayout"   "en_US"
  Option      "XkbTypes"     "types/complete"
  Option      "XkbCompat"   "compat/complete"
  Option      "XkbGeometry" "sun(type5unix)"
  #Option      "XkbSymbols"  "sun/us(sun5)"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
  Option      "Protocol" "MouseSystems"
  Option      "Device" "/dev/sunmouse"
  Option        "Emulate3Buttons"       "false"
EndSection

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Sun Microsystems (Sony)"
  ModelName    "GDM-20E20"
  Option       "DPMS"   "on"
EndSection

Section "Device"
  Identifier  "Card0"
  BoardName   "Sun|AFB2+ Elite 3D (m3) (afb)"
  VendorName  "Sun Microsystems"
  Driver      "sunffb"
EndSection
Section "Device"
  Identifier  "Card0"
  BoardName   "Sun|AFB2+ Elite 3D (m3) (afb)"
  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
        Modes     "1280x1024"
  EndSubSection
  SubSection   "Display"
        Depth     32
  EndSubSection
EndSection

Section "DRI"
 Group          "video"
 Mode           0666
EndSection


Please compare what you are using with that one, use xorg-x11-6.8.2-r6 (upgrade if needed; you'll have to put it into your /etc/portage/package.keywords file thus:
=x11-base/xorg-x11-6.8.2* ~sparc
or something equivalent.
If it still fails, please post your entire /var/log/Xorg.0.log file.

Oh, one more thing: In /etc/portage/package.use, I have this:
Code:

x11-base/xorg-x11 -doc bitmap-fonts dlloader -hardened -insecure-drivers nls opengl pam -static truetype-fonts type1-fonts xaa -xprint xv


Sorry I can't provide more information, but it looks as if your installation is incomplete if you can't find /usr/lib/X11/rgb.txt.

Regards,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum