Re: TVout на radeon от xorg
On Sun, Jan 13, 2008 at 04:08:32AM +0300, Peter Teslenko wrote:
> Привет, коллеги.
>
> Хочу сделать нормальный TVout.
>
> Сейчас xorg.conf выглядит так.
>
> Section "Files"
> 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"
> # path to defoma fonts
> FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
>
> Section "Module"
> Load "bitmap"
> Load "dbe"
> Load "ddc"
> Load "dri"
> Load "extmod"
> Load "freetype"
> Load "glx"
> Load "int10"
> Load "type1"
> Load "vbe"
> EndSection
>
> Section "Extensions"
> Option "Composite" "Enable"
> Option "RENDER" "Enable"
> EndSection
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> Option "XkbModel" "pc105"
> Option "XkbLayout" "us,ru"
> Option "XkbOptions" "grp:menu_toggle"
> EndSection
>
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/input/mice"
> Option "Protocol" "ImPS/2"
> Option "ZAxisMapping" "4 5"
> Option "Emulate3Buttons" "true"
> EndSection
>
> Section "Device"
> Identifier "ATI Technologies Inc RV280 [Radeon 9200 PRO] rev
> 1"
> Driver "radeon"
> Option "TVOutput" "PAL"
> Option "TVStandard" "PAL"
> Option "ForceTVOut" "true"
> Option "Monitor-VGA-0" "Samsung SyncMaster 710N"
> Option "Monitor-S-video" "SONY"
> Option "BusType" "AGP"
> Option "AGPMode" "4"
> BusID "PCI:1:0:0"
> EndSection
>
> Section "Device"
> Identifier "ATI Technologies Inc RV280 [Radeon 9200 PRO]
> (Secondary) rev 1"
> Driver "radeon"
> Option "TVOutput" "PAL"
> Option "TVStandard" "PAL"
> Option "Monitor-VGA-0" "Samsung SyncMaster 710N"
> Option "Monitor-S-video" "SONY"
> Option "BusType" "AGP"
> Option "AGPMode" "4"
> Option "OverlayOnCRTC1" "on"
> BusID "PCI:1:0:1"
> EndSection
>
> Section "Monitor"
> Identifier "Samsung SyncMaster 710N"
> Option "DPMS"
> EndSection
>
> Section "Monitor"
> Identifier "SONY"
> Option "DPMS"
> Option "Enable" "true"
> Option "TVOutput" "PAL"
> Option "TVStandard" "PAL"
> EndSection
>
> Section "Screen"
> Identifier "LCD Monitor"
> Device "ATI Technologies Inc RV280 [Radeon 9200 PRO] rev
> 1"
> Monitor "Samsung SyncMaster 710N"
> DefaultDepth 24
> SubSection "Display"
> Depth 24
> Modes "1280x1024" "1152x864" "1024x768" "832x624"
> "800x600" "720x400" "640x480"
> EndSubSection
> EndSection
>
> Section "Screen"
> Identifier "TV"
> Device "ATI Technologies Inc RV280 [Radeon 9200 PRO]
> (Secondary) rev 1"
> Monitor "SONY"
> Option "TVOutFormat" "S-VIDEO"
> Option "TVStandard" "PAL"
> Option "TVOutput" "PAL"
> DefaultDepth 24
> SubSection "Display"
> Depth 24
> Modes "800x600"
> ViewPort 0 0
> EndSubSection
> EndSection
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen "LCD Monitor"
> Screen "TV"
> InputDevice "Generic Keyboard"
> InputDevice "Configured Mouse"
> EndSection
>
> Section "DRI"
> Mode 0666
> EndSection
>
> При таком раскладе на телевизоре получаю копию того, что на мониторе, но
> только кусок, который влезает в 800x600,
> т.е. левый верхний угол.
> И mplayer туда может проигрывать, если указать mplayer -vo x11
> Хочется же чтобы на телевизор можно было просто во весь экран крутить
> фильмы.
> Как бы это сделать?
>
на tv не знаю, но на два монитора когда-то работало. на второй выводилось при
-display :0.1. куски из того конфига.
Section "ServerLayout"
Identifier "SL_swp"
Screen 0 "Screen 0"
Screen 1 "Screen 1" RightOf "Screen 0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Monitor"
Identifier "RoverScan 117PS"
HorizSync 30-95
VertRefresh 50-160
ModeLine "1280x1024" 157.50 1280 1344 1504 1728 1024 1025 1028 1072 -hsync -vsync
EndSection
Section "Monitor"
Identifier "ViewSonic G55"
HorizSync 30-70
VertRefresh 50-120
ModeLine "1024x768" 94.5 1024 1080 1176 1376 768 769 772 808 +hsync +vsync
EndSection
Section "Device"
Identifier "Card0"
Driver "ati"
Option "BusType" "AGP"
Option "AGPMode" "4"
Option "DDCMode" "no"
Option "MonitorLayout" "CRT, CRT"
VendorName "ATI Technologies Inc"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Card1"
Driver "ati"
Option "DDCMode" "no"
Option "MonitorLayout" "CRT"
VendorName "ATI Technologies Inc"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen 0"
Device "Card0"
Monitor "RoverScan 117PS"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Card1"
Monitor "ViewSonic G55"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection
только при таком раскладе чем-то пришлось жертвовать ;) не помню чем точно...
/swp
Reply to: