Re: konfigurace X window
To |
CZ Debian <czdebian-l zavinac debian bod cz> |
From |
Hans Ginzel <hans zavinac matfyz bod cz> |
Date |
Sun, 5 Jan 2003 03:51:22 +0100 |
Mail-followup-to |
CZ Debian <czdebian-l zavinac debian bod cz> |
User-agent |
Mutt/1.4i |
On Sun, Jan 05, 2003 at 12:12:39AM +0000, Pave Bařina wrote:
> > # dpkg-reconfigure xserver-xfree86
> (EE) VGA(0): No Display subsection in Screen section "Screen 1" for
> depth/fbbpp 4/4
> Dekuji moc za jakoukoliv pomoc.
# mv /etc/XF86Config /etc/XF86Config.20030106
# mv /etc/XF86Config-4 /etc/XF86Config.20030106
# mv /etc/X11/XF86Config /etc/XF86Config.20030106
# mv /etc/X11/XF86Config-4 /etc/XF86Config.20030106
# ls -l /etc/X11/X
Ujkazuje na spravny server (/usr/bin/X11/XFree86)?
Predpokladam, ze chcete ctyrkovy.
# dpkg-reconfigure xserver-xfree86
# man XF86Config-4
# vi /etc/X11/XF86Config-4
Podle chybove hlasky soudim, ze Vam nekoresponduje nastaveni hloubky
barev (DefaultDepth v sekci "Screen").
Prikladam svuj konfigurak pro Matrox G200, treba Vas muze inspirovat.
Zvolte spravny driver v sekci Device,
# ls /usr/X11R6/lib/modules/drivers/
# ls /usr/X11R6/man/man4/
# zless /usr/share/doc/xserver-xfree86/README.ati.gz
Format /etc/X11/XF86Config-4 je docela jednoduchy, je to takovy "spojovy
seznam". Zacnete ho cist odspodu sekci Layout. Ja mam tri, vam staci
jedna, defaultni; v ni jsou odkazy vyse na screen, klav a mys;
ve sekci Screen je odkaz na monitor a grafickou kartu, atd.
Snad vam to pomuze.
Az rozchodite z server, muze zacit vytahovat maximu z Vaseho
monitoru:
/usr/share/doc/HOWTO/en-txt/XFree86-Video-Timings-HOWTO.gz
Zdravi
Hans Ginzel
--
You can find a Vim desktop calendar here: http://www.moolenaar.net/
Happy Vimming in 2003!
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
Section "Files"
#FontPath "unix/:7100" # local font server
#FontPath "unix/:7101" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "ServerFlags"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
#Load "xtt"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Keyboard"
Driver "keyboard"
#Option "CoreKeyboard" "true"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "czsk(us_cz_prog)"
Option "XkbCompat" "group_led"
##Option "XkbKeymap" "xfree86(cz_qwerty)"
##Option "XkbOptions" "grp:shift_toggle"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Accel" "On"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
#Option "CorePointer" "true"
#Option "SendCoreEvents" "true"
Option "Device" "/dev/mouse"
#Option "Device" "/dev/ttyS1"
#Option "Device" "/dev/psaux"
#Option "Device" "/dev/input/mice"
#Option "Protocol" "Auto"
#Option "Protocol" "MouseSystems"
#Option "Protocol" "Microsoft"
#Option "Protocol" "IntelliMouse"
#Option "Protocol" "PS/2"
Option "Protocol" "ImPS/2"
#Option "Protocol" "Microsoft"
Option "ZAxisMapping" "4 5"
Option "Accel" "On"
Option "Resolution" "500"
#Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
#Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Accel" "On"
EndSection
Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
#Option "SendCoreEvents" "true"
Option "Device" "/dev/ttyS0"
Option "Protocol" "MouseSystems"
Option "Accel" "On"
EndSection
Section "Device"
Identifier "Cirrus Logic"
Driver "cirrus"
#VideoRam 2048
#Option "UseFBDev" "true"
# Identifier "CL GD5480"
# VendorName "Cirrus Logic"
# BoardName "GD5428"
# #VideoRam 1024
# Clockchip "Cirrus"
# #MemBase 0x00e00000
# #MemBase 0x04e00000
# #Option "linear"
EndSection
Section "Device"
Identifier "ATI Rage 128"
Driver "r128"
EndSection
Section "Device"
Identifier "Matrox G200"
Driver "mga"
EndSection
Section "Device"
Identifier "Trident 9000B"
VendorName "Trident"
BoardName "Unknown"
Driver "trident"
Chipset "tvga8900d"
VideoRam 2048
# Insert Clocks lines here if appropriate
EndSection
Section "Monitor"
Identifier "EIZO F35"
HorizSync 27 - 70
VertRefresh 50 - 120
Option "DPMS"
# 73.8 Hz, 37.86 kHz
#ModeLine "640x480" 31.50 640 720 760 832 480 484 487 513
# 115.51 Hz, 58.22 kHz
#ModeLine "640x480" 51.00 640 696 744 876 480 484 488 504
# 110.53 Hz, 69.85 kHz
#ModeLine "800x600" 76.00 800 848 968 1088 600 604 612
632 +hsync +vsync
#ModeLine "800x600" 72.00 800 848 968 1088 600 604 612 632
#ModeLine "800x600" 72.00 800 852 972 1072 600 608 616 636
# 87.72 Hz, 70.17kHz
ModeLine "1024x768" 96.00 1024 1072 1152 1368 768 772 776
800 +hsync +vsync
# 73.90 Hz, 68.29kHz
#ModeLine "1184x884" 106.80 1184 1228 1416 1564 884 886 904
924 +hsync +vsync
# 64.49 Hz, 68.23 kHz
#ModeLine "1280x1024" 116.00 1280 1336 1520 1700 1024 1028 1036 1058
# 56.13Hz, 69.83Hz
#ModeLine "1600x1200" 150.00 1600 1676 1840 2148 1200 1204 1212 1244
#ModeLine "1600x1200" 152.00 1600 1676 1840 2148 1200 1204 1212 1244
#### detect by xfree86-4
## 85.10 Hz, 43.27 kHz
Modeline "640x480" 36.00 640 696 752 832 480 481 484
509 -hsync -vsync
## 85.14 Hz, 53.72 kHz
Modeline "800x600" 56.30 800 832 896 1048 600 601 604
631 +hsync +vsync
## 85.00 Hz, 68.68 kHz
#Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772
808 +hsync +vsync
## 75.00 Hz, 67.50 kHz
Modeline "1152x864" 111.00 1152 1216 1344 1580 864 866 868
892 +hsync +vsync
#Modeline "1152x864" 108.00 1152 1216 1344 1600 864 865 868
900 +hsync +vsync
EndSection
Section "Monitor"
Identifier "HP 1280"
VendorName "HWP"
ModelName "HWP:020c"
Option "CalcAlgorithm" "IteratePrecisely"
Option "DPMS"
HorizSync 32 - 64
VertRefresh 50 - 85
DisplaySize 320 250
Modeline "640x480" 27.96 640 656 720 864
480 480 485 501
Modeline "800x600" 43.68 800 816 928 1072
600 600 606 626
#Modeline "1024x768" 79.55 1024 1040 1216 1328 768 768
777 802
Modeline "1024x768" 85.00 1024 1036 1212 1328 768 768
777 802
EndSection
Section "Monitor"
Identifier "ADI 15"
VendorName "ADI"
ModelName "ProVista E40"
HorizSync 30 - 69
VertRefresh 50 - 100
# 73.80 Hz, 37.86 kHz
ModeLine "640x480" 31.50 640 720 760 832 480 484
487 513
# 96.63 Hz, 61.07 kHz
ModeLine "800x600" 64.98 800 840 932 1064 600 604
616 632
# 74.23 Hz, 59.53 kHz
ModeLine "1024x768" 80.01 1024 1052 1188 1344 768 771
777 802
EndSection
Section "Monitor"
Identifier "Elonex"
HorizSync 30-55
VertRefresh 60-78
Option "DPMS"
#ModeLine "800x600" 49.50 800 880 960 1056 600 633
636 665 +hsync +vsync
ModeLine "800x600" 54.50 800 864 944 1072 600 637
640 669 +hsync +vsync
EndSection
Section "Monitor"
Identifier "ACER"
VendorName "7156E"
ModelName "Unknown"
HorizSync 30-66
VertRefresh 50-110
Modeline "1280x1024" 110.00 1280 1328 1512 1712 1024 1025 1028 1054
Modeline "1152x864" 92.00 1152 1208 1368 1474 864 865 875 895
Modeline "1024x768" 85.00 1024 1032 1152 1360 768 784 787 823
Modeline "800x600" 69.65 800 864 928 1088 600 604 610 640 -hsync -vsync
Modeline "640x480" 45.80 640 672 768 864 480 488 494 530 -hsync -vsync
Modeline "640x400" 31.50 640 672 736 832 400 401 404 445 -hsync +vsync
Modeline "512x384" 22.00 512 528 592 640 384 385 388 404 -hsync -vsync
Modeline "480x300" 29.95 480 504 584 624 300 319 322 333 doublescan
Modeline "400x300" 25.00 400 424 488 520 300 319 322 333 doublescan
Modeline "320x240" 15.75 320 336 384 400 240 244 246 262 doublescan
Modeline "320x200" 12.59 320 336 384 400 200 204 205 225 doublescan
EndSection
Section "Screen"
Identifier "Default Screen"
#Device "Cirrus Logic"
Device "Matrox G200"
#Device "ATI Rage 128"
Monitor "EIZO F35"
#Monitor "HP 1280"
#Monitor "ACER"
#Monitor "ADI 15"
#Monitor "Elonex"
DefaultDepth 24
#DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1184x884" "1152x864" "1024x768" "800x600"
"640x480"
# Virtual 2048 1024
# Virtual 2040 884
Virtual 1152 864
#Virtual 1024 768
#Virtual 1360 768
# Virtual 1280 768
# Virtual 1536 600
# Virtual 884 480
# Virtual 640 480
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
#Virtual 2688 768
#Virtual 2700 768
#Virtual 800 600
#Virtual 1152 864
EndSubSection
EndSection
Section "Screen"
Identifier "PFC"
Device "Matrox G200"
Monitor "HP 1280"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1184x884" "1152x864" "1024x768" "800x600"
"640x480"
#Virtual 2688 768
EndSubSection
EndSection
Section "Screen"
Identifier "K6"
Device "Trident 9000B"
Monitor "EIZO F35"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
Virtual 640 480
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Configured Keyboard" "CoreKeyboard"
#InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
#InputDevice "Serial Mouse" "CorePointer"
#InputDevice "Generic Mouse" "CorePointer"
#InputDevice "Generic Mouse" "SendCoreEvents"
EndSection
Section "ServerLayout"
Identifier "PFC"
Screen "PFC"
InputDevice "Configured Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
EndSection
Section "ServerLayout"
Identifier "K6"
Screen "K6"
InputDevice "Configured Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
EndSection
Section "DRI"
Mode 0666
EndSection
### vi: set ts=4 sw=4 nowrap:
### END DEBCONF SECTION
Partial thread listing:
- Re: konfigurace X window, (pokračuje)