PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Hilfe gesucht] Keine Maus bei nVidia TV-Out auf Fernseher!



CyrusQ
20.07.05, 09:26
Hallo Leute,

ich habe nach der Anleitung von http://www.iofcea.de den TV-Out aktivieren können, das Bild scheint wunderbar zu sein. Nur: Der Mauszeiger wird in der Mitte des Fernsehers angezeigt, aber wenn ich die Maus bewege, tut sich nichts. Beim Umschalten auf den Monitor kann ich ganz normal arbeiten. Außerdem: der TV-Out soll sich automatisch beenden, wenn man das gestartete Xine auf dem TV beendet. Mit Alt-F4 tut sich jedoch nichts, daher vermute ich, dass auch die Tastatur nicht bedienbar ist auf dem Fernseher.

Was kann ich tun bzw. welche Infos braucht ihr, um mir weiterzuhelfen?

Danke schonmal
Robert

surfmasta
20.07.05, 09:39
Ich vermute mal, dass du in deinem X-Server Layout für den TV-out vergessen hast das Mausdevice hinzuzufügen. Könntest ja mal deine /etc/X11/xorg.conf oder /etc/X11/XF86Config, je nachdem was du benutzt posten.

zyrusthc
20.07.05, 09:43
Dies hat unter anderem einen logischen Grund: der Rechner kann nicht erahnen ob die Maus- oder Tastatureingabe dem ersten oder dem zweiten X-Server gilt.
Mit TwinView habe ich mich nicht befasst (kann dazu leider keine Hilfestellung geben), weil ich eben (wie oben schon erwähnt habe) nicht den Desktop auf meinem Fernseher sehen will, sondern nur einen Movieplayer um dann möglichst schnell mit dem Filmvergnügen loslegen zu können. Für Infos zur TwinView Konfiguration muss ich an dieser Stelle auf die nVidia Readme.txt verweisen.
Das wird bei dir der Fall sein , die Maus wird immer noch auf dem ersten X-Server laufen!

CyrusQ
20.07.05, 09:52
Ich werde meine X86config heute abend mal posten.

Aber wie gesagt: auch die Tastatur scheint nicht zu funktionieren. Es muss aber funktionieren (auch ohne TwinView), sonst könnte man ja weder einen Film starten, noch Xine beenden.

AceTheFace
20.07.05, 09:56
Ich werde meine X86config heute abend mal posten.

Aber wie gesagt: auch die Tastatur scheint nicht zu funktionieren. Es muss aber funktionieren (auch ohne TwinView), sonst könnte man ja weder einen Film starten, noch Xine beenden.

Na ja, nicht unbedingt, du könntest auch das Abspielprogramm auf deinem 1. X starten und lediglich die Ausgabe auf den 2. X-Server umlenken.

Gruß,
Ace

CyrusQ
20.07.05, 10:00
Könntest Du mir detailliert beschreiben, wie ich das machen muss? Und vor allem sollte der 2. X-Server nach dem Ende des Films automatisch beendet werden. :confused:

surfmasta
20.07.05, 10:33
Du kannst jede I/O Komponente im XServerlayout ein- bzw. austragen. Bei dir fehlen wahrscheinlich die Tastatur und die Maus, da der Autor der Seite wie gesagt den 2.ten XServer nur für die Umleitung eines Videoplayers nutzt.
Dann kannst du mit folgenden Befehlen das Video umleiten:


mplayer --display localhost:1.0 movie.mpg

Auf dem zweiten XServer sollte das Kommando "xhost +localhost" aufgerufen werden, was ohne Tastatur ein wenig schwer wird, deshalb musst du dieses Kommando irgendwo automatisch mitstarten oder deinem "startx"-Befehl mitübergeben.
Mit


ps aux | grep X

erhältst du die laufenden XServerprozesse und kannst sie mit "kill <PID>" oder "kill -9 <PID>" beenden.

CyrusQ
20.07.05, 12:25
Danke erstmal für die konstruktive Hilfe :)

Da ich mich leider mit den ganzen Befehlen nicht so auskenne, weiß ich jetzt zwar was aber nicht wo ich das machen muss (besonders das mit dem xserver aufrufen)...

Könntest Du dafür irgendwie ein Skript oder sowas schreiben, so dass ich mit der rechten Maustaste und dann z.B. "auf TV gucken" auf eine Filmdatei diesen automatisch auf dem TV anschauen kann (ohne weiteres zutun, außer auf dem TV auf AV zu schalten) und nach Anschauen des Films das ganze automatisch beendet wird?! Wäre genial und würde sicher vielen außer mir weiterhelfen!!

zyrusthc
20.07.05, 16:37
Danke erstmal für die konstruktive Hilfe :)

Da ich mich leider mit den ganzen Befehlen nicht so auskenne, weiß ich jetzt zwar was aber nicht wo ich das machen muss (besonders das mit dem xserver aufrufen)...

Könntest Du dafür irgendwie ein Skript oder sowas schreiben, so dass ich mit der rechten Maustaste und dann z.B. "auf TV gucken" auf eine Filmdatei diesen automatisch auf dem TV anschauen kann (ohne weiteres zutun, außer auf dem TV auf AV zu schalten) und nach Anschauen des Films das ganze automatisch beendet wird?! Wäre genial und würde sicher vielen außer mir weiterhelfen!!
Der Autor des Howto`s hat ein Script bei gelegt , wenn du richtig gelesen hättest !

#!/bin/sh

# Author: Markus Iofcea
# Copyright: 2002
# This document is released under the terms of GPL (http://www.fsf.org/copyleft/gpl.html).

X -screen TV :1 -ac & sleep 2; DISPLAY=:1 xine -f && kill `ps aux | awk '/X\ -screen/ {print $2}' `

Sobald Xine beendet wird , wird auch der dazugehörige X-Server gekillt.

CyrusQ
21.07.05, 08:55
Genau dieses Skript habe ich auch verwendet. Das löst daher meine Frage nach der Verwendung von Maus und Tastatur auf dem 2. X-Server für den TV nicht...

CyrusQ
23.07.05, 17:06
Könnt Ihr nachfolgend einen Fehler in der XF86config finden, die die Ursache für meine fehlende Maus- und Tastaturunterstützung auf dem TV sein könnte?

-------XF86Config----------
Section "Monitor"
Identifier "Monitor[1]"
ModelName "PAL TV"
VendorName "SONY"
VertRefresh 60
HorizSync 30-50
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
Device "Device[1]"
Identifier "TV"
Monitor "Monitor[1]"
EndSection

Section "Device"
BoardName "GeForce-2"
Driver "nvidia"
Identifier "Device[1]"
Screen 0
VendorName "Nvidia"
Option "NoLogo" "on"
Option "CursorShadow" "on"
Option "CursorShadowAlpha" "32"
Option "CursorShadowXOffset" "2"
Option "CursorShadowYOffset" "2"
Option "TVOutFormat" "COMPOSITE"
Option "TVStandard" "PAL-B"
Option "ConnectedMonitor" "TV"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
Protocol "Standard"
AutoRepeat 500 5
LeftAlt Meta
RightAlt Meta
ScrollLock Compose
RightCtl Control
# This is just the default keymap for X.
# May be changed with the KDE international keyboard tool.
XkbModel "pc105"
XkbLayout "de"
XkbVariant "nodeadkeys"
# XkbOptions "ctrl:swapcaps"
# XkbKeycodes "xfree86"
# XkbTypes "default"
# XkbCompat "default"
# XkbSymbols "us(pc101)"
# XkbGeometry "pc"
# XkbRules "xfree86"
# XkbModel "pc101"
# XkbLayout "de"
EndSection

Section "Pointer"
Protocol "PS/2"
Device "/dev/mouse"
Emulate3Buttons
Emulate3Timeout 70
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
Identifier "Monitor0"
VendorName "ACR"
ModelName "ACRad18"
HorizSync 30 - 82 # DDC-probed
VertRefresh 50 - 75 # DDC-probed
# These are the DDC-probed settings reported by your monitor.
# 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
ModeLine "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
# 1152x864, 75.0Hz; hfreq=67.50, vfreq=75.00
ModeLine "1152x864" 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
# 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
ModeLine "1024x768" 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
# 1024x768, 70.0Hz; hfreq=56.48, vfreq=70.07
ModeLine "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
# 800x600, 75.0Hz; hfreq=46.88, vfreq=75.00
ModeLine "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
# 800x600, 72.0Hz; hfreq=48.08, vfreq=72.19
ModeLine "800x600" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
# 800x600, 60.0Hz; hfreq=37.88, vfreq=60.32
ModeLine "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
# 640x480, 75.0Hz; hfreq=37.50, vfreq=75.00
ModeLine "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
# 640x480, 72.0Hz; hfreq=37.86, vfreq=72.81
ModeLine "640x480" 31.50 640 656 696 816 480 481 484 504 -hsync -vsync
# 640x480, 60.0Hz; hfreq=31.47, vfreq=59.94
ModeLine "640x480" 25.17 640 648 744 784 480 482 484 509 -hsync -vsync
# Extended modelines with GTF timings
# 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
ModeLine "640x480" 43.16 640 680 744 848 480 481 484 509 -HSync +Vsync
# 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
ModeLine "768x576" 34.96 768 792 872 976 576 577 580 597 -HSync +Vsync
# 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
ModeLine "768x576" 42.93 768 800 880 992 576 577 580 601 -HSync +Vsync
# 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
ModeLine "768x576" 45.51 768 808 888 1008 576 577 580 602 -HSync +Vsync
# 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
ModeLine "768x576" 51.84 768 808 888 1008 576 577 580 605 -HSync +Vsync
# 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
ModeLine "768x576" 62.57 768 816 896 1024 576 577 580 611 -HSync +Vsync
# 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
ModeLine "800x600" 68.18 800 848 936 1072 600 601 604 636 -HSync +Vsync
# 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
ModeLine "1024x768" 113.31 1024 1096 1208 1392 768 769 772 814 -HSync +Vsync
# 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
ModeLine "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895 -HSync +Vsync
# 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
ModeLine "1152x864" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync
# 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
ModeLine "1152x864" 143.47 1152 1232 1360 1568 864 865 868 915 -HSync +Vsync
# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
ModeLine "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
# 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
ModeLine "1280x960" 124.54 1280 1368 1504 1728 960 961 964 1001 -HSync +Vsync
# 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
ModeLine "1280x960" 129.86 1280 1368 1504 1728 960 961 964 1002 -HSync +Vsync
# 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
ModeLine "1280x960" 178.99 1280 1376 1520 1760 960 961 964 1017 -HSync +Vsync
# 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
ModeLine "1280x1024" 190.96 1280 1376 1520 1760 1024 1025 1028 1085 -HSync +Vsync
# 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
ModeLine "1368x768" 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync
# 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
ModeLine "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -HSync +Vsync
# 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
ModeLine "1400x1050" 149.34 1400 1496 1648 1896 1050 1051 1054 1094 -HSync +Vsync
# 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
ModeLine "1400x1050" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -HSync +Vsync
# 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
ModeLine "1400x1050" 179.26 1400 1504 1656 1912 1050 1051 1054 1103 -HSync +Vsync
# 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
ModeLine "1400x1050" 214.39 1400 1512 1664 1928 1050 1051 1054 1112 -HSync +Vsync
# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
ModeLine "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
# 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
ModeLine "1600x1200" 280.64 1600 1728 1904 2208 1200 1201 1204 1271 -HSync +Vsync
# 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
ModeLine "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
# 1920x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 193.16 MHz
ModeLine "1920x1200" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync
EndSection

Section "Device"
Identifier "My Video Card"
VendorName "Unknown"
BoardName "Unknown"
# TextClockFreq 22.175
EndSection

Section "Device"
Identifier "fbdev"
VendorName "Unknown"
BoardName "Unknown"
EndSection


# Standard Server
Section "Screen"
Driver "svga"
Device "My Video Card"
Monitor "Monitor0"
Subsection "Display"
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# Accel. Server(s)
Section "Screen"
Driver "accel"
Device "My Video Card"
Monitor "Monitor0"
Subsection "Display"
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# Fallback
Section "Screen"
Driver "vga16"
Device "My Video Card"
Monitor "Monitor0"
Subsection "Display"
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "Screen"
Driver "fbdev"
Device "fbdev"
Monitor "Monitor0"
SubSection "Display"
Depth 32
Modes "default"
EndSubSection
SubSection "Display"
Depth 24
Modes "default"
EndSubSection
SubSection "Display"
Depth 16
Modes "default"
EndSubSection
SubSection "Display"
Depth 15
Modes "default"
EndSubSection
SubSection "Display"
Depth 8
Modes "default"
EndSubSection
EndSection
-------XF86Config----------