Tv Out Nvidia (конфигурации иксорга)

nVidia, ATI, SIS, VIA и др.

Модератор: Модераторы разделов

Ответить
Аватара пользователя
drujebober
Сообщения: 179
ОС: Debian GNU/Linux lenny

Tv Out Nvidia

Сообщение drujebober »

вобщем то все работает, но не так как хотелось бы.
работает с таким иксоргом (привожу только измененные секции):
...
Section "Screen"
Identifier "Screen0"
Device "Универсальная видеокарта"
DefaultDepth 24
Option "TwinView"
Option "ConnectedMonitor" "CRT,TV"
Option "TwinViewOrientation" "RightOf"
Option "TVOverScan" "0.7"
Option "MetaModes" "CRT:1280x1024,TV:640x480"
Option "TVStandard" "PAL-B"
Option "SecondMonitorHorizSync" "48.4"
Option "SecondMonitorVertRefresh" "60"
....
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "true"
EndSection
.....

работает так: создается еще по дисплею на каждоп рабочем столе, с заданным разрешением, справа, которые и выводятся на тевилизор. все бы гуд да вот только при переключении рабочих столов картинка на телевизоре соответственно переключается sad.gif.

хотелось бы, в идеале: чтобы на телик выводился какой нибудь один из моих рабочих столов ну или что то в этом роде, вобщем предлагайте свои конфиги, если можно то с кратким описанием как оно работает.
Спасибо сказали:
Аватара пользователя
zer0n
Сообщения: 37
ОС: Mandriva 2008

Re: Tv Out Nvidia

Сообщение zer0n »

Собcтвено у меня работает таким образом:

на компе два ра,очих стола, можно их изменять по любому совершено независимо от TV.

на ящике отдельный рабочий стол со своими настройками (точнее 4, почему-то)

смотри xorg.conf

Код:

Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" 1280 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" RgbPath "/usr/lib/X11/rgb" FontPath "unix/:-1" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection Section "ServerFlags" Option "Xinerama" "0" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" # HorizSync source: twinview, VertRefresh source: twinview Identifier "Monitor1" VendorName "Unknown" ModelName "TV-0" HorizSync 30.0 - 50.0 VertRefresh 60.0 Option "DPMS" EndSection Section "Monitor" # HorizSync source: edid, VertRefresh source: edid Identifier "Monitor0" VendorName "Unknown" ModelName "LG T710PH" HorizSync 30.0 - 85.0 VertRefresh 50.0 - 160.0 Option "DPMS" EndSection Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 6600 GT" BusID "PCI:1:0:0" Screen 0 EndSection Section "Device" Identifier "Videocard1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 6600 GT" BusID "PCI:1:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen1" Device "Videocard0" Monitor "Monitor1" DefaultDepth 24 Option "metamodes" "TV: 640x480 +0+0" SubSection "Display" Depth 24 Modes "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen0" Device "Videocard1" Monitor "Monitor0" DefaultDepth 24 Option "metamodes" "CRT: 1280x1024 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0" SubSection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection
Спасибо сказали:
Аватара пользователя
FarmukanX
Сообщения: 31

Re: Tv Out Nvidia

Сообщение FarmukanX »

конфигурация для просмотра фильмов на ТВ. При просмотре фильм воспроизводится только на телевизоре, рабочий стол остается свободным.

user@linux> DISPLAY=:0.1 mplayer "/home/user/Die Die My Darling.mpg"

xorg.conf

Код:

# Xorg configuration created by system-config-display Section "ServerLayout" Identifier "Multihead layout" Screen 0 "Screen0" LeftOf "Screen1" Screen 1 "Screen1" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "off" Option "Clone" "on" EndSection Section "Files" InputDevices "/dev/gpmdata" InputDevices "/dev/input/mice" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/URW" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/PEX" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1" FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/kwintv" FontPath "/usr/X11R6/lib/X11/fonts/truetype" FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1" FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/xtest" FontPath "/opt/kde3/share/fonts" EndSection Section "Module" Load "dbe" Load "type1" Load "freetype" Load "extmod" Load "glx" Load "v4l" EndSection Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "record" # Load "xie" Load "v4l" Load "type1" Load "glx" EndSection Section "ServerFlags" Option "allowmouseopenfail" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "Protocol" "Standard" Option "XkbLayout" "us" Option "XkbModel" "pc104" Option "XkbRules" "xfree86" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Buttons" "12" Option "Device" "/dev/input/mice" Option "Name" "A4 Tech PS/2+USB Mouse" Option "Protocol" "explorerps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor" VendorName "SAM" ModelName "Samsung SyncMaster 550(M)s" HorizSync 30.0 - 62.0 VertRefresh 50.0 - 121.0 ModeLine "1024x768" 79.5 1024 1080 1192 1360 768 769 772 801 ModeLine "1024x768" 78.4 1024 1080 1192 1360 768 769 772 801 EndSection Section "Monitor" #!Description "Super VGA 1024x768 @ 60Hz" # 1024x768 @ 60 Hz, 48.4 kHz hsync Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Super VGA" HorizSync 31.5 - 48.5 VertRefresh 50.0 - 90.0 ModeLine "1024x768" 65.0 1024 1032 1176 1344 768 771 777 806 -hsync -vsync EndSection Section "Modes" Identifier "Modes[0]" ModeLine "1024x768" 79.5 1024 1080 1192 1360 768 769 772 801 ModeLine "1024x768" 78.4 1024 1080 1192 1360 768 769 772 801 ModeLine "1024x600" 61.4 1024 1080 1184 1344 600 601 604 626 ModeLine "1024x600" 59.9 1024 1072 1176 1328 600 601 604 626 ModeLine "1024x600" 58.9 1024 1072 1176 1328 600 601 604 625 ModeLine "800x600" 47.5 800 840 920 1040 600 601 604 626 ModeLine "800x600" 46.9 800 840 920 1040 600 601 604 626 ModeLine "800x600" 46.1 800 840 920 1040 600 601 604 625 ModeLine "768x576" 43.5 768 800 880 992 576 577 580 601 ModeLine "768x576" 42.9 768 800 880 992 576 577 580 601 ModeLine "768x576" 42.3 768 800 880 992 576 577 580 600 ModeLine "640x480" 29.8 640 664 728 816 480 481 484 501 ModeLine "640x480" 29.4 640 664 728 816 480 481 484 501 ModeLine "640x480" 29.0 640 664 728 816 480 481 484 501 EndSection Section "Device" # Option "NoAccel" Identifier "Card:NVIDIA GeForce 4 MX (generic)" Driver "nvidia" BoardName "NVIDIA GeForce 4 MX (generic)" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Videocard1" Driver "nvidia" VendorName "Videocard Vendor" BoardName "NVIDIA GeForce 4 MX (generic)" Option "TVStandard" "PAL-B" BusID "PCI:1:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Card:NVIDIA GeForce 4 MX (generic)" Monitor "Monitor" DefaultDepth 24 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 SubSection "Display" Depth 32 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Videocard1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "800x600" EndSubSection EndSection Section "DRI" Mode 0666 EndSection
Спасибо сказали:
Аватара пользователя
ояб
Сообщения: 107
ОС: FreeBSD

Re: Tv Out Nvidia

Сообщение ояб »

Если карточка nvidia, то все настраивается при помощи nvidia-settings без ковыряния xorg.conf руками.
Спасибо сказали:
Аватара пользователя
denel
Сообщения: 497
ОС: Gentoo Linux
Контактная информация:

Re: Tv Out Nvidia

Сообщение denel »

А как добиться высококачественного воспроизведения видео из dv-avi на видеокартах GeForce? имеется ввиду работа с полями. Сколько не ковырял, но так и не удалось сделать стабильным такое воспроизведение... то поля совпадают, то местами путаются, то на пол экрана совпадает на пол экрана не совпадает... на винде однако с этим проблемм не было, неужели тут это не приведено в порядок? НУЖНА СТАБИЛЬНАЯ СИНХРОНИЗИРОВАННАЯ РАБОТА С ПОЛЯМИ! (Еще обращал внимание в винде при использовании overlay fulscreen video скачек изображения при начале воспроизведения и в конце, в линуксе такого я так и не наблюдал) Linux Gentoo Xorg X11 7.3, KDE, GeForce video card. Пробовал плейеры: vlc, medaiplayer, xine
Спасибо сказали:
Virkom
Сообщения: 3

Re: Tv Out Nvidia

Сообщение Virkom »

FarmukanX писал(а):
05.11.2007 11:10
конфигурация для просмотра фильмов на ТВ. При просмотре фильм воспроизводится только на телевизоре, рабочий стол остается свободным.

user@linux> DISPLAY=:0.1 mplayer "/home/user/Die Die My Darling.mpg"

Спасибо огромное! Неужели получилось...
Я пытался настроить свой TV-Out месяца два с половиной. Весь инет обшарил. То вообще не работало, то только верхняя левая часть экрана и всё чёрно-белое. А тут нарвался на этот конфиг и всё отлично пошло и цветное. Вот только есть три проблемки...
1. Разрешение экрана монитора - 1024x768 при том, что я привык на 1280x1024. Знаю, что нужно копать ModeLine в xorg.conf. Но думаю, что у меня опять на телевизоре после этого будет только верхний левый угол, а не весь рабочий стол.
2. При таком воспроизведении изображение выводится не на весь экран. Виден рабочий стол и окошко, в котором идёт видео. Как сделать, чтобы по умолчанию запускалось полноэкранное видео?
3. Как при таком воспроизведении управлять MPlayer`ом? Останавливать, перематывать...

Если кто ответит, буду очень признателен.

P.S.: Ещё раз огромное спасибо. Очень помог.
Спасибо сказали:
Virkom
Сообщения: 3

Re: Tv Out Nvidia

Сообщение Virkom »

Всё, всё узнал, все проблемы решил. Помощь не нужна.
Спасибо сказали:
Аватара пользователя
sspphheerraa
Сообщения: 1375
ОС: Gentoo

Re: Tv Out Nvidia

Сообщение sspphheerraa »

Virkom писал(а):
02.01.2009 20:30
Всё, всё узнал, все проблемы решил. Помощь не нужна.

ну так отпишись здесь, как решил то..?
Sspphheerraa
Спасибо сказали:
Virkom
Сообщения: 3

Re: Tv Out Nvidia

Сообщение Virkom »

sspphheerraa писал(а):
03.01.2009 12:04
Virkom писал(а):
02.01.2009 20:30
Всё, всё узнал, все проблемы решил. Помощь не нужна.

ну так отпишись здесь, как решил то..?

1. На счёт разрешения. В xorg.conf изменил секцию Screen. Вот оригинал:

Код:

Section "Screen" Identifier "Screen0" Device "Card:NVIDIA GeForce FX 5500" Monitor "Monitor" DefaultDepth 24 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 SubSection "Display" Depth 32 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection

Вот, что получилось:

Код:

Section "Screen" Identifier "Screen0" Device "Card:NVIDIA GeForce FX 5500" Monitor "Monitor" DefaultDepth 24 SubSection "Display" Depth 4 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection

Теперь на компе 1280x1024, на телеке так и осталось 800x600.

2 и 3 проблемы:
Управление происходит через терминал. Т.е. сделать терминал, в котором вызвал mplayer активным и можно управлять с помощью горячих клавиш. Для полноэкранного режима - F, для выхода - Q, для перемотки - стрелки, и т.д. Инфу по горячим клавишам можно получить с помощью "волшебной" команды man mplayer :)
Спасибо сказали:
bestSPB
Сообщения: 112
ОС: Debian squeeze

Re: Tv Out Nvidia

Сообщение bestSPB »

Помогите мне плиз. сдела примерно как тут написанно но это не работает вот лог mplayer:

Код: Выделить всё

MPlayer dev-SVN-r26940
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /mnt/docs/movies/movies/Gol_2_[torrents.ru].avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
[aviheader] Audio stream found, -aid 2
VIDEO:  [XVID]  640x272  12bpp  25.000 fps  1375.1 kbps (167.9 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.4.13
 Name: Goal II: Living the Dream (2007)
 Subject: Goal II: Living the Dream (2007)
 Artist: KaMo�
 Copyright: DVDrip_KaMo�
 Comments: Drama / Sport
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
s3fb: Couldn't map S3 registers: Operation not permitted
vo: couldn't open the X11 display (:0.1)!
vo: couldn't open the X11 display (:0.1)!
VO XOverlay need a subdriver
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
vo: couldn't open the X11 display (:0.1)!
vo: couldn't open the X11 display (:0.1)!
vo: couldn't open the X11 display (:0.1)!
[VO_SDL] SDL initialization failed: Unable to open a console terminal.
LibGGI: No explicit target specified.
LibGGI: Try to use display-x...
LibGGI: Try to use display-x:-noshm...
LibGGI: Try to use display-x:-nobuffer...
LibGGI: Try to use display-x:-noaccel...
LibGGI: Try to use display-fbdev...
display-fbdev: ioctl(VT_GETSTATE) failed: Invalid argument
L/vtswitch: You are not running on a virtual console and do not have
        permission to open a new one
Linux-kbd: couldn't get mode: Invalid argument
Linux-kbd: couldn't set raw mode: Invalid argument
display-fbdev: Unable to open linux-kbd, trying stdin input.
Unknown mouse type 'unconfigured'
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 272 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
[swscaler @ 0x87db118]using unscaled yuv420p -> rgb32 special converter
VO: [ggi] 640x272 => 640x272 BGRA
[ggi] input: 640x272x32, output: 1280x1024x32
A: 215.8 V: 215.8 A-V:  0.000 ct:  0.045 5397/5397  5% 28%  2.2% 0 0 0.75x
Exiting... (Quit)


а вот мой xorg.conf

Код: Выделить всё

Section "ServerLayout"
    Identifier     "Multihead Layout"
    Screen     0   "DVI VGA" 0 0
    Screen     1   "TV-Out" 1280 0
    InputDevice    "Keyboard"
    InputDevice    "Mouse"
    Option         "Clone"  "on"
EndSection

Section "ServerFlags"
    Option "Xinerama" "0"
EndSection

Section "Files"

        # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
#    Load           "i2c"
#    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us,ru"
    Option         "XkbVariant" ",winkeys"
    Option         "XkbOptions" "grp_led:caps,grp:caps_toggle"
EndSection

Section "InputDevice"
    Identifier     "Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "L1717S"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier    "TV_out"
    VendorName "Unknown"
    ModelName     "TV-0"
    HorizSync 30.0 - 50.0
    VertRefresh 60.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier     "nvidia0"
    Driver         "nvidia"
EndSection

Section "Device"
    Identifier "nvidia1"
    Driver "nvidia"
    Screen 1
EndSection

Section "Screen"
    Identifier     "DVI VGA"
    Device         "nvidia0"
    Monitor        "L1717S"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1280x1024_75 +0+0; 1280x1024 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier "TV-Out"
    Device "nvidia1"
    Monitor "TV_out"
    DefaultDepth 24
    Option "metamodes" "TV: 640x480 +0+0"
    SubSection "Display"
        Viewport 0 0
        Depth 24
        Modes "640x480"
    EndSubSection
EndSection
Спасибо сказали:
bestSPB
Сообщения: 112
ОС: Debian squeeze

Re: Tv Out Nvidia

Сообщение bestSPB »

вот еще сделал по другому, но все равно не работает
вот что я делал: (оригинал http://en.wikibooks.org/wiki/NVidia/TV-OUT)
исправил файл /etc/X11/Xwrapper.config эту строчку
allowed_users=console
на эту
allowed_users=anybody
Потом исправил xorg.conf до такого состояния:

Код: Выделить всё

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Nov  4 14:07:17 PST 2008

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Multihead Layout"
    Screen     0   "DVI VGA" 0 0
    Screen     1   "TV-Out" RightOf "DVI VGA"
    InputDevice    "Keyboard"
    InputDevice    "Mouse"
EndSection

Section "ServerFlags"
    Option "Xinerama" "0"
EndSection

Section "Files"

    # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
#    Load           "i2c"
#    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us,ru"
    Option         "XkbVariant" ",winkeys"
    Option         "XkbOptions" "grp_led:caps,grp:caps_toggle"
EndSection

Section "InputDevice"
    Identifier     "Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "L1717S"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier    "TV_out"
    HorizSync 30.0 - 50.0
    VertRefresh 60.0
    #Option "DPMS"
EndSection

Section "Device"
    Identifier     "nvidia0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600 LE"
    #BusID          "PCI:1:0:0"
    Screen         0
EndSection

Section "Device"
    Identifier "nvidia1"
    Driver "nvidia"
    #BusID "PCI:1:0:0"
    Screen 1
    #Option "TwinViewOrientation" "Clone"
    Option      "TVOutFormat" "SVIDEO"
    Option      "TVStandard" "PAL-B"
    Option      "ConnectedMonitor" "TV"
EndSection

Section "Screen"
    Identifier     "DVI VGA"
    Device         "nvidia0"
    Monitor        "L1717S"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1280x1024_75 +0+0; 1280x1024 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier "TV-Out"
    Device "nvidia1"
    Monitor "TV_out"
    DefaultDepth 24
    #Option "TVStandard" "PAL-B"
    #Option "UseDisplayDevice" "TV-0"
    #Option "TVOutFormat" "SVIDEO"
    SubSection "Display"
        Depth 24
        Modes "640x480"
    EndSubSection
EndSection

и ввел команду:
xinit mplayer -stop-xscreensaver -fs -vo sdl "$@" -- /usr/X11R6/bin/X :1 -screen TV-Out
и вот что выдает:

Код: Выделить всё

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/best:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10)
Current Operating System: Linux best 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686
Build Date: 09 January 2009  02:57:16AM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Mar 20 01:39:43 2009
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module "ddc" already built-in
(II) Module "ramdac" already built-in
(EE) Screen 0 deleted because of no matching config section.

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x7e) [0x80c91ce]
1: [0xb7f97400]

Fatal server error:
Caught signal 11.  Server aborting

giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

Помогите хоть как нибудь сделать. Пожалуйста!
Спасибо сказали:
Аватара пользователя
Killertester
Сообщения: 86
ОС: Gentoo
Контактная информация:

Re: Tv Out Nvidia

Сообщение Killertester »

На тв картинка черно-белая в чем может быть проблема? Под виндой тестил там на сек 10 становится цветной потом почемутов тож сбрасывает на черно-белое.
Мой конфиг:

Код:

Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "ServerFlags" Option "Xinerama" "0" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" # HorizSync source: xconfig, VertRefresh source: xconfig Identifier "Monitor0" VendorName "Unknown" ModelName "CRT-1" HorizSync 30.0 - 80.0 VertRefresh 60.0 - 75.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 260" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "1" Option "TVOutFormat" "COMPOSITE" Option "TVStandard" "PAL-D" Option "metamodes" "CRT: 1280x1024_75 +0+0, TV: nvidia-auto-select +1280+0" SubSection "Display" Depth 24 EndSubSection EndSection
Спасибо сказали:
Аватара пользователя
Killertester
Сообщения: 86
ОС: Gentoo
Контактная информация:

Re: Tv Out Nvidia

Сообщение Killertester »

Все разобрался.
Спасибо сказали:
Аватара пользователя
VyacheslavS
Сообщения: 8

Re: Tv Out Nvidia

Сообщение VyacheslavS »

Killertester писал(а):
19.08.2009 20:23
Все разобрался.

Если всё заработало, то отпиши как настроил?
Спасибо сказали:
Ответить