* LinuxPPC-DR-1.0: X11 config for Powerbook G3 series?
@ 1999-05-16 22:53 Wolfgang Denk
1999-05-17 0:50 ` Tom Rini
1999-05-25 9:49 ` Geert Uytterhoeven
0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 1999-05-16 22:53 UTC (permalink / raw)
To: linuxppc-dev; +Cc: dev
Hi,
I cannot get X11 running on my G3 series; I'm using `fbset' as
documented, and get:
Mode "name"
# D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz
DotClock 100.001
HTimings 1024 1040 1048 1064
VTimings 768 784 792 808
Flags "-HSync" "-VSync"
EndMode
However, the Xserver complains
...
(--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted.
(**) FontPath set to "unix/:-1"
(**) FBDev: Using XF86Config video mode database
Fatal server error:
No valid modes found.
What am I missing? [Full logs attached below.]
Wolfgang
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"How is this place run - is it an anarchy?"
"No, I wouldn't say so; it is not that well organised..."
...
[root@luke X11]# fbset -xres 1024 -yres 768 -depth 16
[root@luke X11]# fbset -x
Mode "name"
# D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz
DotClock 100.001
HTimings 1024 1040 1048 1064
VTimings 768 784 792 808
Flags "-HSync" "-VSync"
EndMode
[root@luke X11]# cat XF86Config
# File generated by XConfigurator.
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#NoTrapSignals
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#DontZap
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
#DontZoom
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Keyboard section
# **********************************************************************
Section "Keyboard"
Protocol "Standard"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
#Protocol "Xqueue"
AutoRepeat 500 5
# Let the server do the NumLock processing. This should only be
# required when using pre-R6 clients
#ServerNumLock
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#Xleds 1 2 3
#To set the LeftAlt to Meta, RightAlt key to ModeShift,
#RightCtl key to Compose, and ScrollLock key to ModeLock:
LeftAlt Meta
RightAlt Meta
ScrollLock Compose
RightCtl Control
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# XkbDisable
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# XkbModel "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# XkbModel "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# XkbLayout "de"
# or:
# XkbLayout "de"
# XkbVariant "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# XkbOptions "ctrl:swapcaps"
# These are the default XKB settings for XFree86
# XkbRules "xfree86"
# XkbModel "pc101"
# XkbLayout "us"
# XkbVariant ""
# XkbOptions ""
XkbKeycodes "macintosh"
XkbTypes "default"
XkbCompat "default"
XkbSymbols "macintosh/us"
XkbGeometry "macintosh"
XkbRules "xfree86"
XkbModel "pc101"
EndSection
# **********************************************************************
# Pointer section
# **********************************************************************
Section "Pointer"
Protocol "BusMouse"
Device "/dev/mouse"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Protocol "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice
# BaudRate 9600
# SampleRate 150
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
Emulate3Buttons
Emulate3Timeout 50
# ChordMiddle is an option for some 3-button Logitech mice
# ChordMiddle
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Apple PowerBook G3"
VendorName "Apple"
ModelName "Powerbook G3 Series"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 119
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 196
# Modes can be specified in two formats. A compact one-line format, or
# a multi-line format.
# These two are equivalent
# ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
# Mode "1024x768i"
# DotClock 45
# HTimings 1024 1048 1208 1264
# VTimings 768 776 784 817
# Flags "Interlace"
# EndMode
# Apple PowerBook G3
Mode "1024x768"
# D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz
DotClock 100.001
HTimings 1024 1040 1048 1064
VTimings 768 784 792 808
Flags "-HSync" "-VSync"
EndMode
### Modeline "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
Section "Device"
Identifier "Generic VGA"
VendorName "Unknown"
BoardName "Unknown"
Chipset "generic"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
# Device configured by Xconfigurator:
Section "Device"
Identifier "OFfb ATY,RageLT"
VendorName "Unknown"
BoardName "Unknown"
#VideoRam 3145
# Insert Clocks lines here if appropriate
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Driver "fbdev"
Device "OFfb ATY,RageLT"
Monitor "Apple PowerBook G3"
Subsection "Display"
Depth 8
Modes "1024x768"
ViewPort 0 0
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
Virtual 1024 768
EndSubsection
EndSection
[root@luke X11]# startx
XFree86 Version 3.3.3.1 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 4 1999
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.6-15apmac ppc [ELF]
Configured drivers:
FBDev: Server for frame buffer device
(Patchlevel 10): mfb, afb, cfb8, cfb16, cfb32, NCR 77C32BLT (accel), ATI Mach64 (accel), IMS TwinTurbo (accel)
(using VT number 7)
XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keycodes: "macintosh"
(**) XKB: types: "default"
(**) XKB: compat: "default"
(**) XKB: symbols: "macintosh/us"
(**) XKB: geometry: "macintosh"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) Mouse: type: BusMouse, device: /dev/mouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) FBDev: Graphics device ID: "OFfb ATY,RageLT"
(**) FBDev: Monitor ID: "Apple PowerBook G3"
(--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted.
(**) FontPath set to "unix/:-1"
(**) FBDev: Using XF86Config video mode database
Fatal server error:
No valid modes found.
When reporting a problem related to a server crash, please send
the full server output, not just the last messages
X connection to :0.0 broken (explicit kill or server shutdown).
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: LinuxPPC-DR-1.0: X11 config for Powerbook G3 series?
1999-05-16 22:53 LinuxPPC-DR-1.0: X11 config for Powerbook G3 series? Wolfgang Denk
@ 1999-05-17 0:50 ` Tom Rini
1999-05-17 7:28 ` Wolfgang Denk
1999-05-25 9:49 ` Geert Uytterhoeven
1 sibling, 1 reply; 6+ messages in thread
From: Tom Rini @ 1999-05-17 0:50 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-dev, dev
On Mon, 17 May 1999, Wolfgang Denk wrote:
> (--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted.
^^^^^
> (**) FontPath set to "unix/:-1"
> (**) FBDev: Using XF86Config video mode database
...
> [root@luke X11]# cat XF86Config
...
> # HorizSync is in kHz unless units are specified.
> # HorizSync may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>
> HorizSync 119
Change that.
---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: LinuxPPC-DR-1.0: X11 config for Powerbook G3 series?
1999-05-17 0:50 ` Tom Rini
@ 1999-05-17 7:28 ` Wolfgang Denk
1999-05-17 12:30 ` Mark Hatle
1999-05-17 14:39 ` Tom Rini
0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 1999-05-17 7:28 UTC (permalink / raw)
To: Tom Rini; +Cc: linuxppc-dev, dev
Hi,
in message <Pine.LNX.4.05.9905162049010.651-100000@pc.wackyland.com> you write:
>
> > (--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted.
> ...
> > [root@luke X11]# cat XF86Config
> ...
> > HorizSync 119
>
> Change that.
Doing this, the next error message is "needs vsync freq of 116.32 Hz".
Changing this parameter also gives:
XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keycodes: "macintosh"
(**) XKB: types: "default"
(**) XKB: compat: "default"
(**) XKB: symbols: "macintosh/us"
(**) XKB: geometry: "macintosh"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) Mouse: type: BusMouse, device: /dev/mouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) FBDev: Graphics device ID: "OFfb ATY,RageLT"
(**) FBDev: Monitor ID: "Apple PowerBook G3"
(**) FontPath set to "unix/:-1"
(**) FBDev: Using XF86Config video mode database
Fatal server error:
No valid modes found.
Sigh... as long as X11 configuration stays this error prone Linux
will have hard times to beat M$.
Wolfgang
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"I haven't lost my mind - it's backed up on tape somewhere."
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: LinuxPPC-DR-1.0: X11 config for Powerbook G3 series?
1999-05-17 7:28 ` Wolfgang Denk
@ 1999-05-17 12:30 ` Mark Hatle
1999-05-17 14:39 ` Tom Rini
1 sibling, 0 replies; 6+ messages in thread
From: Mark Hatle @ 1999-05-17 12:30 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: Tom Rini, linuxppc-dev, dev
(I'll let Tom keep helping you, but...)
On Mon, 17 May 1999, Wolfgang Denk wrote:
> Sigh... as long as X11 configuration stays this error prone Linux
> will have hard times to beat M$.
Only on laptops is this an issue.. to my knowledge all desktops currently
work. Just those LCD controller/screen are an issue because they really
don't have a refresh rate like a CRT.
--Mark
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: LinuxPPC-DR-1.0: X11 config for Powerbook G3 series?
1999-05-17 7:28 ` Wolfgang Denk
1999-05-17 12:30 ` Mark Hatle
@ 1999-05-17 14:39 ` Tom Rini
1 sibling, 0 replies; 6+ messages in thread
From: Tom Rini @ 1999-05-17 14:39 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-dev, dev
On Mon, 17 May 1999, Wolfgang Denk wrote:
> Hi,
>
> in message <Pine.LNX.4.05.9905162049010.651-100000@pc.wackyland.com> you write:
> >
> > > (--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted.
> > ...
> > > [root@luke X11]# cat XF86Config
> > ...
> > > HorizSync 119
> >
> > Change that.
>
> Doing this, the next error message is "needs vsync freq of 116.32 Hz".
>
> Changing this parameter also gives:
>
> XF86Config: /usr/X11R6/lib/X11/XF86Config
> (**) stands for supplied, (--) stands for probed/default values
> (**) XKB: keycodes: "macintosh"
> (**) XKB: types: "default"
> (**) XKB: compat: "default"
> (**) XKB: symbols: "macintosh/us"
> (**) XKB: geometry: "macintosh"
> (**) XKB: rules: "xfree86"
> (**) XKB: model: "pc101"
> (**) Mouse: type: BusMouse, device: /dev/mouse, buttons: 3
> (**) Mouse: 3 button emulation (timeout: 50ms)
> (**) FBDev: Graphics device ID: "OFfb ATY,RageLT"
> (**) FBDev: Monitor ID: "Apple PowerBook G3"
> (**) FontPath set to "unix/:-1"
> (**) FBDev: Using XF86Config video mode database
>
> Fatal server error:
> No valid modes found.
>
> Sigh... as long as X11 configuration stays this error prone Linux
> will have hard times to beat M$.
Now, change the Vsync line that was just below the horiz one in
XF86Config. And the reason X configuration on the PBG3 is so wacky is we
could not find the proper specs on the monitor. Just wait till you see
what R5 does tho (/me shuts his mouth)
---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: LinuxPPC-DR-1.0: X11 config for Powerbook G3 series?
1999-05-16 22:53 LinuxPPC-DR-1.0: X11 config for Powerbook G3 series? Wolfgang Denk
1999-05-17 0:50 ` Tom Rini
@ 1999-05-25 9:49 ` Geert Uytterhoeven
1 sibling, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 1999-05-25 9:49 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-dev, dev
On Mon, 17 May 1999, Wolfgang Denk wrote:
>
> I cannot get X11 running on my G3 series; I'm using `fbset' as
> documented, and get:
>
> Mode "name"
> # D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz
> DotClock 100.001
> HTimings 1024 1040 1048 1064
> VTimings 768 784 792 808
> Flags "-HSync" "-VSync"
> EndMode
>
>
> However, the Xserver complains
>
> ...
> (--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted.
> (**) FontPath set to "unix/:-1"
> (**) FBDev: Using XF86Config video mode database
>
> Fatal server error:
> No valid modes found.
>
> What am I missing? [Full logs attached below.]
>
> Wolfgang
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
> "How is this place run - is it an anarchy?"
> "No, I wouldn't say so; it is not that well organised..."
>
> ...
> [root@luke X11]# fbset -xres 1024 -yres 768 -depth 16
> [root@luke X11]# fbset -x
Either use
startx -- -bpp 16
or add
DefaultColorDepth 16
to `Section "Screen"' of XF86Config.
Greetings,
Geert
--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-05-25 9:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-16 22:53 LinuxPPC-DR-1.0: X11 config for Powerbook G3 series? Wolfgang Denk
1999-05-17 0:50 ` Tom Rini
1999-05-17 7:28 ` Wolfgang Denk
1999-05-17 12:30 ` Mark Hatle
1999-05-17 14:39 ` Tom Rini
1999-05-25 9:49 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).