[Grml] fun with x
Martin Yazdzik
yazdzik at nyct.net
Thu Aug 3 19:33:01 CEST 2006
dear m and friends,
just for fun, i tried the rc on an older pc without the need for wireless
card.
grml-x issue - no screen found
now, if I copy the xorg.conf that I always use for that machine, then issue
grml-x fluxbox, it is gorgeous, screen, colous, resolution.
I am attaching the corresponding files, the ln one and grml one, but the most
interesting thing is that get-edid | parse-edid provides the correct
information, matching exactly the one in my own file, to wit:
Section "Monitor"
VendorName "Dell"
ModelName "Dell M781p"
Identifier "Dell M781p"
HorizSync 30-85
VertRefresh 50-160
Option "DPMS"
EndSection
whilst, in spite of edid being correct, in se et sine alium, the grml
generated file remains:
Section "Monitor"
Identifier "Monitor0"
# ModelName "Old Monitor (no DDC)"
Option "DPMS" "true"
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
# HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
HorizSync 30.0 - 85.0
30.0 - 85.0
30.0 - 85.0
30.0 - 85.0
# VertRefresh 50.0 - 76.0 # Very conservative. May flicker.
# VertRefresh 50.0 - 60.0 # Extreme conservative. Will flicker. TFT
default.
VertRefresh 50.0 - 160.0
50.0 - 160.0
50.0 - 160.0
50.0 - 160.0
# Need more information?
# http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
# http://en.tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/
EndSection
I hope it is my own inability to figure out what is wrong, but whether I
use -module vesa or -module radeon, or no options, there is something wrong.
Sorry to bother you all, but hope this may be of interest.
Best,
martin
--
"...children and young people feel instinctively the difference between those
who genuinely wish them well and those who regard them
merely as raw material for some scheme." --Russell
-------------- next part --------------
################################################################################
# X.org configuration
#
# Configuration created by Libranet Adminmenu
################################################################################
Section "Files"
#FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/75dpi"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/TrueType"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/share/fonts/truetype"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "ServerFlags"
EndSection
Section "Module"
Load "ddc"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "bitmap"
Load "freetype"
Load "speedo"
Load "type1"
Load "vbe"
Load "int10"
EndSection
Section "InputDevice"
Identifier "Default Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Default Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]"
Driver "ati"
EndSection
Section "Monitor"
VendorName "Dell"
ModelName "Dell M781p"
Identifier "Dell M781p"
HorizSync 30-85
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]"
Monitor "Dell M781p"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Default Keyboard"
InputDevice "Default Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
-------------- next part --------------
################################################################################
# Filename: /etc/X11/xorg.conf
# Purpose: config file for xserver - generated by grml-x
# Bug-Reports: see http://grml.org/bugs/
# Latest change: Thu Aug 3 12:57:30 CEST 2006
# See also:
# /usr/share/doc/xserver-xorg/ and
# http://wiki.x.org/wiki/Home and
# http://ftp.x.org/pub/X11R7.0/doc/html/index.html for information on Xorg
# /usr/share/doc/xfree86-common/ for information on XFree86
# Refer to the xorg.conf man page and to
# http://ftp.x.org/pub/X11R7.0/doc/html/xorg.conf.5.html
# for details about the format of this file.
#
# If you would like this file to be automatically reconfigured by debian,
# run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
################################################################################
Section "ServerLayout"
Identifier "XServer Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB Mouse" "CorePointer"
InputDevice "PS/2 Mouse" "CorePointer"
# No alps touchpad present.
# No generic mouse configured.
# No serial mouse detected.
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true" # allows the server to start up even if the mouse does not work
Option "DontVTSwitch" "false" # allow switching between virtual terminal
# Option "DontZap" "true" # disable <Crtl><Alt><BS> (server abort)
# Option "DontZoom" "true" # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Files"
# RgbPath "/usr/X11R6/lib/X11/rgb"
# ModulePath "/usr/X11R6/lib/modules"
# More information: http://ftp.x.org/pub/X11R7.0/doc/html/fonts.html
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
# check:
# FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
# FontPath "/usr/X11R6/lib/X11/fonts/PEX"
# FontPath "/usr/X11R6/lib/X11/fonts/encodings"
# FontPath "/usr/X11R6/lib/X11/fonts/Type1
# FontPath "/usr/X11R6/lib/X11/fonts/util
# Additional fonts: Locale, Gimp, TTF...
# FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
# FontPath "/usr/share/fonts/truetype"
# FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
# FontPath "/usr/share/fonts/truetype/latex-xft-fonts"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
# FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
EndSection
# Modules - see /usr/X11R6/lib/modules/fonts and /usr/X11R6/lib/modules/extensions
Section "Module"
Load "dbe" # double buffer extension
Load "dri" # direct rendering
Load "glx" # 3D layer
Load "type1" # font module
Load "freetype" # font rendering
Load "extmod" # some commonly used server extensions (e.g. shape extension)
Load "record" # recording extension
# Load "vbe" # Vesa BIOS Extension
# Load "ddc" # ddc probing of monitor
# Load "bitmap" # bitmap fonts
# Load "GLcore" # render OpenGL in software
# Load "i2c" # I2C bus
# Load "int10" # initialize graphics cards via int10 call to the BIOS
# Load "speedo" # font module
# Load "v4l" # Video for Linux
# Load "evdev" # generic input handling driver on Linux
# Valid entries - see /usr/lib/xorg/modules/[extensions/]
# afb bitmap cfb cfb16 cfb24 cfb32 cw damage dbe ddc dri drm extmod fb
# fbdevhw freetype GLcore glx i2c int10 int10 layer mfb pcidata rac ramdac
# record scanpci shadow shadowfb type1 vbe vgahw xaa xf1bpp xf24_32bpp xf4bpp
# xf8_16bpp xf8_32bpp xtrap
EndSection
# If you'd like to switch the positions of your capslock and control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
# More information: http://ftp.x.org/pub/X11R7.0/doc/html/XKB-Config.html
Section "InputDevice"
Identifier "Keyboard0"
Option "CoreKeyboard"
Driver "kbd"
#Option "XkbRules" "xfree86"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" "nodeadkeys"
EndSection
# More information: http://ftp.x.org/pub/X11R7.0/doc/html/mouse.html
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
# Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "Monitor"
Identifier "Monitor0"
# ModelName "Old Monitor (no DDC)"
Option "DPMS" "true"
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
# HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
HorizSync 30.0 - 85.0
30.0 - 85.0
30.0 - 85.0
30.0 - 85.0
# VertRefresh 50.0 - 76.0 # Very conservative. May flicker.
# VertRefresh 50.0 - 60.0 # Extreme conservative. Will flicker. TFT default.
VertRefresh 50.0 - 160.0
50.0 - 160.0
50.0 - 160.0
50.0 - 160.0
# Need more information?
# http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
# http://en.tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/
EndSection
Section "Device"
### Available Driver options are:
## sw_cursor is needed for some ati and radeon cards
# Option "sw_cursor"
# Option "hw_cursor"
# Option "NoAccel"
# Option "ShowCache"
# Option "ShadowFB"
# Option "UseFBDev"
# Option "Rotate"
## xorg + nvidia:
# Option "RenderAccel" "true"
# Option "AllowGLXWithComposite" "true"
Identifier "Card0"
# The following line is auto-generated by grml-x
Driver "radeon"
VendorName "All"
BoardName "All"
## Workaround for drivers which send output to wrong device:
# Option "MonitorLayout" "LVDS, AUTO"
# Option "MonitorLayout" "LVDS, CRT"
# Option "MonitorLayout" "NONE, STV"
# Option "MonitorLayout" "LVDS"
## Specify BusID:
# BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 1
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 32
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection
## END OF FILE #################################################################
More information about the Grml
mailing list