Both sides previous revisionPrevious revisionNext revision | Previous revision |
software:x [2008/06/08 16:14] – admin | software:x [2018/05/10 21:22] (current) – [X] admin |
---|
====== X ====== | ====== X ====== |
^ Links ^ | ^ Links ^ |
| [[http://wiki.debian.org/XStrikeForce/HowToRandR12|HowToRandR12]]\\ [[http://www.thinkwiki.org/wiki/Xorg_RandR_1.2|Xorg_RandR_1.2]] | | [[http://www.thinkwiki.org/wiki/Xorg_RandR_1.2|Xorg_RandR_1.2]]\\ [[http://keithp.com/blogs/randr_1.2_update/|randr_1.2_update]]\\ [[http://udrepper.livejournal.com/20187.html|magic keywords in the monitor section]]\\ [[https://wiki.ubuntu.com/X/Config|Ubuntu wiki page about basic configuring xorg.conf with randr]] |
| |
===== Find video controller ===== | ===== Find video controller ===== |
| In xorg terminology the video controller is called a device. |
Find your video controller with: | Find your video controller with: |
$ lspci | grep VGA | $ lspci | grep VGA |
Driver "radeon" | Driver "radeon" |
Vendorname "ATI" | Vendorname "ATI" |
EndSection</code> | |
| |
In your Section "Screen" add the following line: | |
<code>Section "Screen" | |
... | |
Monitor "foo" | |
... | |
EndSection</code> | EndSection</code> |
| |
Option "DPMS" | Option "DPMS" |
EndSection</code> | EndSection</code> |
| |
| In your Section "Screen" the monitor and device should be binded together. In this section also the allocation is made, which connector at the graphics card is referenced as screen 0 and which output is referenced as another screen in xorg terminology. Although for some this may seem obvious, screen 0 is not just the always first connector. Where should you start to count for screen 0 for example? And what if for some reason you want to overwrite the detected monitor types, or if a driver makes a false detection? The [[http://www.x.org/archive/X11R6.8.2/doc/radeon.4.html|man-page about the radeon driver]] shows this vital information on this. In the following option: |
| Option "MonitorLayout" "string" |
| |
| | The possible monitor types are:\\ NONE -- Not connected\\ CRT -- Analog CRT monitor\\ TMDS -- Desktop flat panel\\ LVDS -- Laptop flat panel\\ This option can be used in following format:\\ Option "MonitorLayout" "[type on primary], [type on secondary]"\\ For example, Option "MonitorLayout" "CRT, TMDS"\\ \\ Primary/Secondary head for dual-head cards:\\ (when only one port is used, it will be treated as the primary regardless)\\ **Primary head:**\\ DVI port on DVI+VGA cards\\ LCD output on laptops\\ Internal TMDS port on DVI+DVI cards\\ **Secondary head:**\\ VGA port on DVI+VGA cards\\ VGA port on laptops\\ \\ External TMDS port on DVI+DVI cards\\ \\ The default value is **undefined**. | |
| |
| |
| Add the following line: |
| <code>Section "Screen" |
| ... |
| Monitor "foo" |
| ... |
| EndSection</code> |
| |
| In the current setup, the Edid-data which the VGA monitor supplies is incorrect, therefore X does not work instantaneously. A solution in this is to force it to ignore the Edid data. This can be done with: |
| .... |
| |
| |
| |
The following xorg.conf file is my current file, which is not working fine yet. Graphic Controller: Ati Radeon 9700 Pro (R300 chipset), VGA output: Nec MultiSync LCD1830, DVI output: LaCie photon20vision. Default screen is Nec MultiSync LCD1830. | The following xorg.conf file is my current file, which is not working fine yet. Graphic Controller: Ati Radeon 9700 Pro (R300 chipset), VGA output: Nec MultiSync LCD1830, DVI output: LaCie photon20vision. Default screen is Nec MultiSync LCD1830. |
Identifier "Default Layout" | Identifier "Default Layout" |
Screen "Default Screen" | Screen "Default Screen" |
| EndSection</code> |
| |
| [[http://ubuntuforums.org/showthread.php?t=610859|Add the xrandr command to the startup in the system preferences]] |
| ==== Failsafe ==== |
| Result after Failsafe |
| <code> xorg.conf (X.Org X Window System server configuration file) |
| # |
| # This file was generated by failsafeDexconf, using |
| # values from the debconf database and some overrides to use vesa mode. |
| # |
| # You should use dexconf or another such tool for creating a "real" xorg.conf |
| # For example: |
| # sudo dpkg-reconfigure -phigh xserver-xorg |
| Section "InputDevice" |
| Identifier "Generic Keyboard" |
| Driver "kbd" |
| Option "XkbRules" "xorg" |
| Option "XkbModel" "pc105" |
| Option "XkbLayout" "us" |
| EndSection |
| |
| Section "InputDevice" |
| Identifier "Configured Mouse" |
| Driver "mouse" |
| EndSection |
| |
| Section "Device" |
| Identifier "Configured Video Device" |
| Boardname "vesa" |
| Busid "PCI:1:0:1" |
| Driver "vesa" |
| Screen 0 |
| EndSection |
| |
| Section "Monitor" |
| Identifier "Configured Monitor" |
| Vendorname "Samsung" |
| Modelname "Samsung SyncMaster 213T/CX210T" |
| Horizsync 30-81 |
| Vertrefresh 56-75 |
| modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync |
| modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync |
| modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync |
| modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync |
| modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync |
| modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync |
| modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync |
| modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync |
| modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync |
| modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync |
| modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync |
| modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync |
| modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync |
| modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync |
| modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync |
| modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync |
| modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync |
| modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync |
| modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync |
| Gamma 1.0 |
| EndSection |
| |
| Section "Screen" |
| Identifier "Default Screen" |
| Device "Configured Video Device" |
| Monitor "Configured Monitor" |
| Defaultdepth 24 |
| SubSection "Display" |
| Depth 24 |
| Modes "1600x1200@65" "1600x1200@60" "1400x1050@60" "1280x960@75" "1280x1024@60" "1280x960@60" "1280x1024@75" "1152x864@75" "1024x768@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60" |
| EndSubSection |
| EndSection |
| |
| Section "ServerLayout" |
| Identifier "Default Layout" |
| screen 0 "screen1" 0 0 |
| EndSection |
| Section "Module" |
| Load "glx" |
| Load "GLcore" |
| Load "v4l" |
| EndSection |
| Section "device" # |
| Identifier "device1" |
| Boardname "ATI Radeon (fglrx)" |
| Busid "PCI:1:0:0" |
| Driver "radeon" |
| Screen 0 |
| Vendorname "ATI" |
| Option "MergedFB" "off" |
| EndSection |
| Section "screen" # |
| Identifier "screen1" |
| Device "device1" |
| Defaultdepth 24 |
| Monitor "monitor1" |
| SubSection "Display" |
| Depth 24 |
| Modes "1600x1200@60" "1400x1050@60" "1280x960@75" "1280x1024@60" "1280x960@60" "1280x1024@75" "1152x864@75" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60" |
| EndSubSection |
| EndSection |
| Section "monitor" # |
| Identifier "monitor1" |
| Vendorname "LG Electronics Inc." |
| Modelname "LG L2010B (Digital)" |
| Horizsync 28.0-80.0 |
| Vertrefresh 56.0-85.0 |
| modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync |
| modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync |
| modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync |
| modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync |
| modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync |
| modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync |
| modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync |
| modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync |
| modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync |
| modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync |
| modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync |
| modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync |
| modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync |
| modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync |
| modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync |
| modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync |
| modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync |
| modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync |
| modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync |
| modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync |
| modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync |
| Gamma 1.0 |
| EndSection |
| Section "ServerFlags" |
EndSection</code> | EndSection</code> |