ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] twinview mplayer tv full-screen
@ 2006-04-29  3:02 Alexander Kubatkin
  2006-04-29 12:55 ` Denis Pynkin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexander Kubatkin @ 2006-04-29  3:02 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list


[-- Attachment #1.1: Type: text/plain, Size: 1626 bytes --]

Привет.

Может кому будет интересно.

Задача: 
Смотреть фильмы с компа на TV через TV-out видеокарт от NVidia.

Решение:
1. Separate-режим, когда запускаются 2 X-сервера и с tv-out'а картинка идет на 
tv. После драйверов nvidia 8756 этот режим перестал работать, т.к. перестал 
определяться NV TV-Encoder.

2. Twinview. В этом режиме, как это ни странно, NV TV-Encoder определяется и 
картинка на TV идет. Рабочий конфиг представлен в атаче.

основная проблема, почему twinview не использовался лично мной раньше - не 
получалось корректно переключить mplayer в full-screen, при этом как 
оказалось, xine переключается на весь экран что на большом мониторе, что на 
tv-картинке как и положено.

но из-за отсутствия решения N1, пришлось помучить гугл и оказывается есть 
штатное решение "проблемы", используя опцию -xineramascreen.
При наличии основного монитора на экране 0 и tv на экране 1, достаточно 
запустить mplayer -xineramascreen 1 film.avi и при переходе в full-screen 
режим mplayer возьмет разрешение tv, а не часть виртуального.
чтобы упростить запуск , можно добавить этот параметр сюда:
/etc/bashrc.d/mplayer.sh
alias mplayer='/usr/bin/soundwrapper /usr/bin/mplayer'
alias mplayertv='/usr/bin/soundwrapper /usr/bin/mplayer -xineramascreen 1'

но этот скрипт наверняка заменится при обновлении mplayer'а

или в ~/.bashrc:
alias mplayertv='mplayer -xineramascreen 1'

В итоге смотрим mplayer'ом фильмы на tv на полный экран.

xorg 7.0.0-alt9
nvidia_glx_1.0.8756-1.0.8756-alt17
MPlayer-1.0-alt23.pre7try2
kernel-image-wks26-up-2.6.16-alt3


-- 
__________________________________________________
Alexander Kubatkin

[-- Attachment #1.2: xorg.conf --]
[-- Type: text/plain, Size: 3895 bytes --]

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (builder@sadist.office.altlinux.org)  Mon Apr 17 21:32:02 MSD 2006

Section "ServerLayout"
    Identifier     "layout1"
    Screen         "S-DFP" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "IR-Mouse" "SendCoreEvents"
    InputDevice    "Keyboard1" "CoreKeyboard"
    Option         "Clone" "off"
    Option         "Xinerama" "off"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    FontPath        "unix/:-1"
EndSection

Section "Module"
    Load           "dbe"
    Load           "type1"
    Load           "freetype"
    Load           "v4l"
    Load           "extmod"
    Load           "glx"
    Load           "xtrap"
    Load           "extmod"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail"
    Option         "RandR" "on"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "250 30"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us,ru"
    Option         "XkbVariant" ",winkeys"
    Option         "XkbOptions" "grp:rctrl_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
    Option         "Resolution" "800"
EndSection

Section "InputDevice"
    Identifier     "IR-Mouse"
    Driver         "mouse"
    Option         "Device" "/dev/lircm"
    Option         "Protocol" "auto"
    Option         "Buttons" "6"
    Option         "YAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "DFP1"
    VendorName     "BenQ"
    ModelName      "FP2071"
    HorizSync       30.0 - 85.0
    VertRefresh     50.0 - 76.0
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "NVidia"
    BoardName      "GeForce6600"
EndSection

Section "Screen"
    Identifier     "S-DFP"
    Device         "Card0"
    Monitor        "DFP1"
    DefaultDepth    24
    Option         "DPMS" "on"
    Option         "NoLogo" "1"
    Option         "RenderAccel" "True"
    Option         "Backingstore" "True"
    Option         "HWcursor" "True"
    Option         "CursorShadow" "1"
    Option         "CursorShadowAlpha" "64"
    Option         "CursorShadowXOffset" "2"
    Option         "CursorShadowYOffset" "4"
    Option         "XvmcUsesTextures" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "Coolbits" "1"
    Option         "AllowDDCCI" "True"
    Option         "MultisampleCompatibility" "true"
    Option         "RandRRotation" "true"
    Option         "ConnectedMonitor" "DFP, TV"
    Option         "DigitalVibrance" "10"
    Option         "IgnoreDisplayDevices" "TV"
    Option         "TVOutFormat" "SVIDEO"
    Option         "TVOverScan" "1.0"
    Option         "SecondMonitorHorizSync" "30-50"
    Option         "SecondMonitorVertRefresh" "60"
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "LeftOf"
    Option         "UseEdidFreqs" "True"
    Option         "MetaModes" "1600x1200, 1024x768@640x480"
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "640x400"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1024x768" "800x600" "640x480" "1280x1024"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600" "640x480" "1280x1024"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" "512x384" "320x240"
    EndSubSection
EndSection


[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] twinview mplayer tv full-screen
  2006-04-29  3:02 [sisyphus] twinview mplayer tv full-screen Alexander Kubatkin
@ 2006-04-29 12:55 ` Denis Pynkin
  2006-05-02  8:18 ` Alexey Morsov
  2007-09-18  8:20 ` [sisyphus] [FAQ] " Michael Shigorin
  2 siblings, 0 replies; 5+ messages in thread
From: Denis Pynkin @ 2006-04-29 12:55 UTC (permalink / raw)
  To: _kaa_, ALT Linux Sisyphus discussion list

В сообщении от 29 апреля 2006 06:02 Alexander Kubatkin написал(a):
> Может кому будет интересно.
>
> Задача:
> Смотреть фильмы с компа на TV через TV-out видеокарт от NVidia.

в faq куда-нить закинуть - полезно будет, что б не копаться в man mplayer и 
nvidia-readme

PS так смотрел с появления у меня TV-out'a - глюков с mplayer не было 

-- 
WBR, d4s

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] twinview mplayer tv full-screen
  2006-04-29  3:02 [sisyphus] twinview mplayer tv full-screen Alexander Kubatkin
  2006-04-29 12:55 ` Denis Pynkin
@ 2006-05-02  8:18 ` Alexey Morsov
  2006-05-02  9:01   ` Alexander Kubatkin
  2007-09-18  8:20 ` [sisyphus] [FAQ] " Michael Shigorin
  2 siblings, 1 reply; 5+ messages in thread
From: Alexey Morsov @ 2006-05-02  8:18 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

On Sat, Apr 29, 2006 at 07:02:06AM +0400, Alexander Kubatkin wrote:
> но из-за отсутствия решения N1, пришлось помучить гугл и оказывается есть 
> штатное решение "проблемы", используя опцию -xineramascreen.
> При наличии основного монитора на экране 0 и tv на экране 1, достаточно 
> запустить mplayer -xineramascreen 1 film.avi и при переходе в full-screen 
А повесте на freesource.info


-- 

С уважением,
Алексей Морсов
системный администратор ЗАО "ИК "Риком-Траст"

ICQ: 196-766-290
Jabber: samurai@www.fondmarket.ru
www.ricom.ru
www.fondmarket.ru

[playing] Yoko Kanno - Cowboy Bebop OST 1 - Bad Dog No Biscuits (1998)

А bugzilla об этом уже знает?
		-- ldv in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] twinview mplayer tv full-screen
  2006-05-02  8:18 ` Alexey Morsov
@ 2006-05-02  9:01   ` Alexander Kubatkin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kubatkin @ 2006-05-02  9:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

В сообщении от 2 мая 2006 12:18 Alexey Morsov написал(a):
> А повесте на freesource.info

а уже там...
http://www.freesource.info/wiki/Stat'i/NvidiaTv

-- 
__________________________________________________
Alexander Kubatkin


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [sisyphus] [FAQ] Re:  twinview mplayer tv full-screen
  2006-04-29  3:02 [sisyphus] twinview mplayer tv full-screen Alexander Kubatkin
  2006-04-29 12:55 ` Denis Pynkin
  2006-05-02  8:18 ` Alexey Morsov
@ 2007-09-18  8:20 ` Michael Shigorin
  2 siblings, 0 replies; 5+ messages in thread
From: Michael Shigorin @ 2007-09-18  8:20 UTC (permalink / raw)
  To: _kaa_, ALT Linux Sisyphus discussion list

On Sat, Apr 29, 2006 at 07:02:06AM +0400, Alexander Kubatkin wrote:
> Может кому будет интересно.  Задача: 
> Смотреть фильмы с компа на TV через TV-out видеокарт от NVidia.

Спасибо, занесено в FAQ:
http://faq.altlinux.ru/index.php?action=single&nf=1&qid=907

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-18  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-29  3:02 [sisyphus] twinview mplayer tv full-screen Alexander Kubatkin
2006-04-29 12:55 ` Denis Pynkin
2006-05-02  8:18 ` Alexey Morsov
2006-05-02  9:01   ` Alexander Kubatkin
2007-09-18  8:20 ` [sisyphus] [FAQ] " Michael Shigorin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git