Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Framebuffer and module errors with startx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
senecalakemonster
n00b
n00b


Joined: 27 Oct 2004
Posts: 15

PostPosted: Thu Apr 09, 2009 12:04 am    Post subject: [Solved] Framebuffer and module errors with startx Reply with quote

Greetings! I had really hoped not to end up posting, but my searches of the forums and elsewhere online haven't revealed anyone else with quite the same problem I'm having. I recently upgraded xorg-server and now startx fails with the errors shown in the Xorg.0.log below. Initially I made the mistake of not rebuilding my X11 drivers, but even after doing that I'm still seeing a problem related to a couple of modules and a different problem related to framebuffer device. Note that xorg.conf is auto-generated with Xorgautoconfig.

This poster https://forums.gentoo.org/viewtopic-t-750740-highlight-dev+fb1.html solved his own problem by adding a line to xorg.conf not to use a framebuffer device, but is that the correct solution in my case? I can cause the module errors to go away by commenting out those lines in xorg.conf, but that doesn't seem quite right either.

Thanks for any help you can provide.

Code:
# emerge --info

Portage 2.1.6.7 (default/linux/powerpc/ppc32/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 ppc)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-ppc-7410,_altivec_supported-with-glibc2.0
Timestamp of tree: Wed, 08 Apr 2009 04:15:03 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acl alsa altivec bash-completion berkdb bzip2 cli cracklib crypt cups dga dri dvd ffmpeg fortran gdbm gpm hal iconv ipv6 isdnlog kde matroska midi mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl ppc pppd python qt3 qt4 readline reflection session spl ssl sysfs tcpd truetype unicode vorbis xorg xv zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="r128"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Code:
Xorg.0.log

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 ppc
Current Operating System: Linux Jupiter 2.6.27-gentoo-r8 #2 Mon Apr 6 01:12:28 EDT 2009 ppc
Build Date: 07 April 2009  02:14:29AM
 
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr  8 22:04:15 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.Org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "BlankTime" "10"
(**) Option "StandbyTime" "20"
(**) Option "SuspendTime" "30"
(**) Option "OffTime" "60"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/cyrillic/".
   Entry deleted from font path.
   (Run 'mkfontdir' on "/usr/share/fonts/cyrillic/").
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/default/".
   Entry deleted from font path.
   (Run 'mkfontdir' on "/usr/share/fonts/default/").
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/util/".
   Entry deleted from font path.
   (Run 'mkfontdir' on "/usr/share/fonts/util/").
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/encodings/".
   Entry deleted from font path.
   (Run 'mkfontdir' on "/usr/share/fonts/encodings/").
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
   Entry deleted from font path.
   (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
   Entry deleted from font path.
   (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
   Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
   Entry deleted from font path.
   (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
(**) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/75dpi/,
   /usr/share/fonts/75dpi/:unscaled,
   /usr/share/fonts/misc/,
   /usr/share/fonts/75dpi/,
   built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Open APM successful
(II) Loader magic: 0xb90
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 4.1
   X.Org XInput driver : 2.1
   X.Org Server Extension : 1.1
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0@0:16:0) ATI Technologies Inc Rage Mobility M3 AGP 2x rev 2, Mem @ 0x0f8b7834/0, 0x0f8b7834/0, I/O @ 0x0f8b7834/0, BIOS @ 0x????????/260798516
(II) System resource ranges:
   [0] -1   2   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [1] -1   2   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [2] -1   2   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [3] -1   2   0x0000f932 - 0x00000000 (0x0) MX[B]
   [4] -1   1   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [5] -1   1   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [6] -1   1   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [7] -1   1   0x0000f932 - 0x00000000 (0x0) MX[B]
   [8] -1   0   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [9] -1   0   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [10] -1   0   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [11] -1   0   0x0000f932 - 0x00000000 (0x0) MX[B]
   [12] -1   2   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [13] -1   2   0x0000f932 - 0x00000000 (0x0) IX[B]
   [14] -1   1   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [15] -1   1   0x0000f932 - 0x00000000 (0x0) IX[B]
   [16] -1   0   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [17] -1   0   0x0000f932 - 0x00000000 (0x0) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "extmod"

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dri"

(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.0.0
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "dbe"

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "record"

(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension RECORD
(II) LoadModule: "glx"

(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.0.0
   ABI class: X.Org Server Extension, version 1.1
(==) AIGLX enabled
(==) Exporting typical set of GLX visuals
(II) Loading extension GLX
(II) LoadModule: "type1"

(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "freetype"

(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "r128"

(II) Loading /usr/lib/xorg/modules/drivers//r128_drv.so
(II) Module r128: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 6.8.0
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 4.1
(II) R128: Driver for ATI Rage 128 chipsets:
   ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
   ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
   ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
   ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
   ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
   ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
   ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
   ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
   ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
   ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
   ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
   ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
   ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
   ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
   ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
   ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
   ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
   ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
   ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
   ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
   ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
   ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
   ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
   ATI Rage 128 Pro ULTRA TU (AGP?)
(II) Primary Device is: PCI 00@00:10:0
(II) resource ranges after xf86ClaimFixedResources() call:
   [0] -1   2   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [1] -1   2   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [2] -1   2   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [3] -1   2   0x0000f932 - 0x00000000 (0x0) MX[B]
   [4] -1   1   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [5] -1   1   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [6] -1   1   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [7] -1   1   0x0000f932 - 0x00000000 (0x0) MX[B]
   [8] -1   0   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [9] -1   0   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [10] -1   0   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [11] -1   0   0x0000f932 - 0x00000000 (0x0) MX[B]
   [12] -1   2   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [13] -1   2   0x0000f932 - 0x00000000 (0x0) IX[B]
   [14] -1   1   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [15] -1   1   0x0000f932 - 0x00000000 (0x0) IX[B]
   [16] -1   0   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [17] -1   0   0x0000f932 - 0x00000000 (0x0) IX[B]
(II) resource ranges after probing:
   [0] -1   2   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [1] -1   2   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [2] -1   2   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [3] -1   2   0x0000f932 - 0x00000000 (0x0) MX[B]
   [4] -1   1   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [5] -1   1   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [6] -1   1   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [7] -1   1   0x0000f932 - 0x00000000 (0x0) MX[B]
   [8] -1   0   0x0000f932 - 0x00000000 (0xffffffff) MX[B]
   [9] -1   0   0x0000f932 - 0x00000000 (0xf0000) MX[B]
   [10] -1   0   0x0000f932 - 0x00000000 (0xc0000) MX[B]
   [11] -1   0   0x0000f932 - 0x00000000 (0x0) MX[B]
   [12] 0   0   0x0000f932 - 0x00000000 (0xa0000) MS[B]
   [13] 0   0   0x0000f932 - 0x00000000 (0xb0000) MS[B]
   [14] 0   0   0x0000f932 - 0x00000000 (0xb8000) MS[B]
   [15] -1   2   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [16] -1   2   0x0000f932 - 0x00000000 (0x0) IX[B]
   [17] -1   1   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [18] -1   1   0x0000f932 - 0x00000000 (0x0) IX[B]
   [19] -1   0   0x0000f932 - 0x00000000 (0xffff) IX[B]
   [20] -1   0   0x0000f932 - 0x00000000 (0x0) IX[B]
   [21] 0   0   0x0000f932 - 0x00000000 (0xf00003b0) IS[B]
   [22] 0   0   0x0000f932 - 0x00000000 (0xf00003c0) IS[B]
(II) R128(0): PCI bus 0 card 16 func 0
(**) R128(0): Depth 16, (--) framebuffer bpp 16
(II) R128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) R128(0): Default visual is TrueColor
(**) R128(0): Option "DMAForXv" "true"
(II) R128(0): VGAAccess option set to FALSE, VGA module load skipped
(==) R128(0): RGB weight 565
(II) R128(0): Using 6 bits per RGB (8 bit DAC)
(**) R128(0): Using framebuffer device
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"

(II) Loading /usr/lib/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 0.0.2
   ABI class: X.Org Video Driver, version 4.1
(WW) open /dev/fb1: No such file or directory
(WW) open /dev/fb2: No such file or directory
(WW) open /dev/fb3: No such file or directory
(WW) open /dev/fb4: No such file or directory
(WW) open /dev/fb5: No such file or directory
(WW) open /dev/fb6: No such file or directory
(WW) open /dev/fb7: No such file or directory
(EE) Unable to find a valid framebuffer device
(EE) R128(0): Failed to open framebuffer device, consult warnings and/or errors above for possible reasons
   (you may have to look at the server log to see warnings)
(II) UnloadModule: "r128"
(II) UnloadModule: "fbdevhw"
(II) Unloading /usr/lib/xorg/modules/linux//libfbdevhw.so
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found


Code:
xorg.conf

# This file was generated by Xorgautoconfig v0.2.2.
Section "ServerLayout"
   Identifier   "X.Org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice   "Mouse0" "CorePointer"
   InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

# For X Font Server support, uncomment this and comment the other FontPaths
# Note that this is not required for most configurations
#       FontPath   "unix/:-1"
   FontPath   "/usr/share/fonts/cyrillic/"
   FontPath   "/usr/share/fonts/default/"
   FontPath   "/usr/share/fonts/misc/"
   FontPath   "/usr/share/fonts/util/"
   FontPath   "/usr/share/fonts/encodings/"
   FontPath   "/usr/share/fonts/100dpi/"
   FontPath   "/usr/share/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/fonts/75dpi/"
   FontPath   "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
   Load   "extmod"
   Load   "dri"
   Load   "dbe"
   Load   "record"
   Load   "glx"
   Load   "type1"
   Load   "freetype"
EndSection

Section "Extensions"
#    Option "Composite"   "Disable"   # Experimental
EndSection

Section "ServerFlags"
    Option    "blank time"   "10"   # 10 minutes
    Option    "standby time"   "20"
    Option    "suspend time"   "30"
    Option    "off time"   "60"
### Uncomment this Server flag if X should not change resolutions.
### This is useful if mode changing crashes / corrupts the X server
#   Option  "DisableVidModeExtensions"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver      "kbd"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "us"
    Option       "XkbOptions"    "compose:rwin"
### Uncomment this if your layout uses nodeadkeys
   #Option      "XkbVariant"   "nodeadkeys"
EndSection

Section "InputDevice"
   Identifier   "Mouse0"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Protocol"     "auto"
   Option      "Device"    "/dev/input/mice"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   UseModes   "Modes0"
   ModelName   "Monitor Model"
   Option      "DPMS"
   HorizSync   30-100
   VertRefresh   50-160
EndSection

Section "Modes"
   Identifier   "Modes0"

   # Generated
   # D: 64.994 MHz, H: 44.154 kHz, V: 54.781 Hz
   Modeline "1152x768" 64.994 1152 1178 1314 1472  768 771 777 806  +HSync +VSync
EndSection

Section "Device"
   Identifier   "Card0"
   ### Available Driver options:
   Option "DMAForXv"   "true"  # Use DMA for XV, reduces CPU usage
               # Can cause stability problems
   #Option "SWcursor"   "false" # Use Software Cursor
   #Option "NoAccel"   "false" # Disable Hardware Acceleration
   #Option "Display"   "FP"   # Display mode for devices which
               # support Flat Panels.  Modes:
               # "FP" - Use Flat Panel
               # "CRT" - Use CRT
               # "Mirror" - Use both FP and CRT
   ### See "man r128" for additional options

   ### Warning: If your r128 has less than 10MB of ram, you will only be
   ###         able to use dri in 16bit color.
   Driver   "r128"
#   BusID   "PCI:0:16:0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device      "Card0"
   Monitor      "Monitor0"
   DefaultDepth   16
   SubSection "Display"
      Depth      8
      Modes       "1152x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes       "1152x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes       "1152x768"
   EndSubSection
EndSection

Section "DRI"
   Group 0
   Mode 0666
EndSection

_________________
"We have choices. Some people like to stand in the rain without an umbrella. That's what it means to live free." --Roger Smith


Last edited by senecalakemonster on Tue Apr 14, 2009 11:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Apr 09, 2009 3:40 am    Post subject: Reply with quote

Most likely, the changes ndansmith posted about will work for you. Are you sure that you're using the r128 framebuffer device as your console video? I suspect using the generic OF framebuffer was his problem as well.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
senecalakemonster
n00b
n00b


Joined: 27 Oct 2004
Posts: 15

PostPosted: Fri Apr 10, 2009 1:06 am    Post subject: Reply with quote

This is an excerpt from dmesg:

Code:
aty128fb 0000:00:10.0: enabling device (0086 -> 0087)
aty128fb: Invalid ROM signature 0 should  be 0xaa55
aty128fb: BIOS not located, guessing timings.
aty128fb: Rage128 LF M3 AGP [chip rev 0x0] 8M 128-bit SDR SGRAM (1:1)
aty128: Backlight initialized (aty128bl0)
Console: switching to colour frame buffer device 144x48
fb0: ATY Rage128 frame buffer device on Rage128 LF M3 AGP


It appears that in the case of the console the framebuffer device at /dev/fb0 suffices. The aty128fb is built into the kernel. I guess I don't understand why this doesn't work with the new Xorg. Before I upgraded X seemed to have no trouble finding and using the framebuffer device, and it had no trouble loading the freetype and type1 modules (which now don't exist at the specified paths). Would there be any benefit to me posting the Xorg log from before the upgrade? Maybe I'm missing something fundamental here?

If I use the solution ndansmith proposed X will start, but many of the fonts displayed in X are large and unpleasant to view. It appears that the errors related to the freetype and type1 modules don't prevent X from starting. It's only the framebuffer error that inhibits X.
_________________
"We have choices. Some people like to stand in the rain without an umbrella. That's what it means to live free." --Roger Smith
Back to top
View user's profile Send private message
senecalakemonster
n00b
n00b


Joined: 27 Oct 2004
Posts: 15

PostPosted: Tue Apr 14, 2009 11:30 pm    Post subject: Framebuffer and module errors with startx Reply with quote

It must be that the font settings were simply a return to defaults for X, since I seem to have been able to get them under control. I'm seeing some other oddities such as the caps lock setting being detected backwards (only by X it seems), but those aren't related to this issue.
_________________
"We have choices. Some people like to stand in the rain without an umbrella. That's what it means to live free." --Roger Smith
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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