Umschaltung zwischen TV und Beamer - mal wieder ....

  • Hallo,

    es gab ja bereits einige Beschreibungen zu dem Thema, an denen man sich orientieren kann, z.B. hier oder hier. Ich habe mich also daran gemacht und gemäß dieser Darstellungen die entsprechenden Dateien/Verzeichnisse erstellt, jeweils mit der entsprechenden edid.0.yavdr und xorg.conf.yavdr (Dank an Habichthugo !!)

    xorg.conf.yavdr für den TV:

    Display Spoiler


    #################################################################################
    # #
    # The following configuration file is generated automatically by the yaVDR #
    # system. Don't change this file as every update of yaVDR will overwrite #
    # the local changes. Instead put your required customizations #
    # into /etc/yavdr/templates_custom/ based on the original templates #
    # under /usr/share/yavdr/templates. #
    # #
    # http://www.yavdr.org/developer-zone/template-overview/ #
    # #
    # #
    #################################################################################
    #
    # based on
    #
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Oct 20 21:00:15 PDT 2009
    #

    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"

    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection


    Section "Files"

    EndSection

    Section "InputDevice"

    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"

    EndSection


    Section "Monitor"

    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"

    Option "DPMS"
    Option "ExactModeTimingsDVI" "True"

    EndSection

    Section "Device"

    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Screen 0
    Option "DPI" "100x100"
    BusID "PCI:1:0:0"
    Option "NoLogo" "True"
    Option "UseEvents" "True"
    Option "TripleBuffer" "False"
    Option "AddARGBGLXVisuals" "True"
    Option "TwinView" "0"
    Option "DynamicTwinView" "0"
    Option "OnDemandVBlankinterrupts" "on"
    Option "FlatPanelProperties" "Scaling = Native"
    EndSection

    Section "Screen"

    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24

    Modes "1920x1080" "1920x1080_24" "1920x1080_50"

    EndSubSection

    Option "ConnectedMonitor" "DFP-0"
    Option "UseDisplayDevice" "DFP-0"

    Option "CustomEDID" "DFP-0:/etc/X11/edid.0.yavdr"


    Option "MetaModes" "DFP-0: 1920x1080 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"

    Option "MetaModes" "DFP-0: 1920x1080_24 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_50 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    EndSection

    Section "Extensions"

    Option "Composite" "Disable"

    EndSection


    xorg.conf.yavdr für den Beamer:

    Display Spoiler

    #################################################################################
    # #
    # The following configuration file is generated automatically by the yaVDR #
    # system. Don't change this file as every update of yaVDR will overwrite #
    # the local changes. Instead put your required customizations #
    # into /etc/yavdr/templates_custom/ based on the original templates #
    # under /usr/share/yavdr/templates. #
    # #
    # http://www.yavdr.org/developer-zone/template-overview/ #
    # #
    # #
    #################################################################################
    #
    # based on
    #
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Oct 20 21:00:15 PDT 2009
    #

    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"

    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection

    Section "Files"

    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"

    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"

    Option "DPMS"
    Option "ExactModeTimingsDVI" "True"

    EndSection
    Section "Device"

    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Screen 0
    Option "DPI" "100x100"
    BusID "PCI:1:0:0"
    Option "NoLogo" "True"
    Option "UseEvents" "True"
    Option "TripleBuffer" "False"
    Option "AddARGBGLXVisuals" "True"
    Option "TwinView" "0"
    Option "DynamicTwinView" "0"
    Option "OnDemandVBlankinterrupts" "on"
    Option "FlatPanelProperties" "Scaling = Native"
    EndSection

    Section "Screen"

    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24

    Modes "1920x1080" "1920x1080_24" "1920x1080_50"

    EndSubSection

    Option "ConnectedMonitor" "DFP-0"
    Option "UseDisplayDevice" "DFP-0"

    Option "CustomEDID" "DFP-0:/etc/X11/edid.0.yavdr"
    Option "MetaModes" "DFP-0: 1920x1080 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_24 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_50 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    EndSection

    Section "Extensions"

    Option "Composite" "Disable"

    EndSection


    lspci:

    Display Spoiler

    00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    00:02.0 Display controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
    00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
    00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
    00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
    00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation H77 Express Chipset LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
    01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 620] (rev a1)
    01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
    02:00.0 Multimedia controller: Digital Devices GmbH Octopus DVB Adapter
    03:00.0 Network controller: Intel Corporation Centrino Wireless-N 135 (rev c4)
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)


    Die Scripte sind so wie in den entsprechenden Beschreibungen erstellt. Der Beamer ist am HDMI Port angeschlossen, der TV am DisplayPort. Ich verwende yaVDR 0.5a mit der Kernel Version 3.8.0-38 und das Board, was hier besprochen wurde. Kopiere ich die jeweilige Dateien edid.0.yavdr und xorg.conf.yavdr manuell nach etc/X11, mit anschliessendem Reboot, dann funktioniert alles wunderbar., inkl. Sound, aber ich würde halt gerne den Reboot verhindern und mit das/die Script(e) per FB aktivieren.
    Anbei das syslog:

    Display Spoiler

    Apr 21 11:09:32 yaVDR rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="1178" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
    Apr 21 11:09:32 yaVDR rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="1178" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
    Apr 21 11:09:34 yaVDR anacron[1607]: Job `cron.daily' terminated
    Apr 21 11:09:34 yaVDR anacron[1607]: Normal exit (1 job run)
    Apr 21 11:10:24 yaVDR vdr: video: 25:00:27.577 +20 256 0/\ms 59+2 v-buf
    Apr 21 11:11:24 yaVDR vdr: video: 25:01:27.577 +20 320 0/\ms 63+2 v-buf
    Apr 21 11:11:42 yaVDR vdr: [1627] frontend 1/0 timed out while tuning to channel 14, tp 111836
    Apr 21 11:12:01 yaVDR vdr: [1627] frontend 1/0 timed out while tuning to channel 41, tp 111953
    Apr 21 11:12:22 yaVDR vdr: [1627] frontend 1/0 timed out while tuning to channel 16, tp 112109
    Apr 21 11:12:24 yaVDR vdr: video: 25:02:27.577 +20 224 0/\ms 57+2 v-buf
    Apr 21 11:12:44 yaVDR vdr: [1627] frontend 1/0 timed out while tuning to channel 37, tp 112148
    Apr 21 11:13:05 yaVDR vdr: [1627] frontend 1/0 timed out while tuning to channel 23, tp 112187
    Apr 21 11:13:12 yaVDR vdr: [3292] [softhddev]SetPlayMode: 0
    Apr 21 11:13:12 yaVDR vdr: [3292] [softhddev]SetVideoDisplayFormat: 1
    Apr 21 11:13:12 yaVDR vdr: [3292] [softhddev]GetSpuDecoder:
    Apr 21 11:13:12 yaVDR vdr: [3292] [softhddev]SetPlayMode: 1
    Apr 21 11:13:12 yaVDR vdr: [2028] TS buffer on device 1 thread ended (pid=1200, tid=2028)
    Apr 21 11:13:12 yaVDR vdr: [2027] buffer stats: 241392 (4%) used
    Apr 21 11:13:12 yaVDR vdr: [2027] receiver on device 1 thread ended (pid=1200, tid=2027)
    Apr 21 11:13:13 yaVDR acpid: client connected from 3310[0:0]
    Apr 21 11:13:13 yaVDR acpid: 1 client rule loaded
    Apr 21 11:13:13 yaVDR kernel: [ 1613.331035] NVRM: GPU at 0000:01:00: GPU-0a4e4369-b59d-532f-ac40-3fa18191adfe
    Apr 21 11:13:13 yaVDR kernel: [ 1613.331041] NVRM: Xid (0000:01:00): 32, Channel ID 00000000 intr 80024000
    Apr 21 11:13:13 yaVDR kernel: [ 1613.331287] NVRM: Xid (0000:01:00): 32, Channel ID 00000000 intr 80024000
    Apr 21 11:13:17 yaVDR kernel: [ 1617.388964] NVRM: Xid (0000:01:00): 44, 0000 00000000 00000000 00000000 00000000 00000000
    Apr 21 11:13:17 yaVDR kernel: [ 1617.481997] NVRM: Xid (0000:01:00): 56, CMDre 00000000 00000088 0100cb05 00000007 00000000
    Apr 21 11:13:17 yaVDR kernel: [ 1617.482013] NVRM: Xid (0000:01:00): 56, CMDre 00000000 0000008c 00000000 00000005 00000008
    Apr 21 11:13:18 yaVDR vdr: [1600] channel 17 (SR Fernsehen) event Mon 21.04.2014 10:30-12:00 (VPS: 21.04. 10:30) 'Wunderschön!: Im Tal der Tauber - Von Wertheim nach Rothenburg' status 4
    Apr 21 11:13:20 yaVDR acpid: client connected from 3310[0:0]
    Apr 21 11:13:20 yaVDR acpid: 1 client rule loaded
    Apr 21 11:13:20 yaVDR kernel: [ 1620.530380] NVRM: Xid (0000:01:00): 56, CMDre 00000000 00000088 0100cb0c 00000007 00000000
    Apr 21 11:13:20 yaVDR kernel: [ 1620.530395] NVRM: Xid (0000:01:00): 56, CMDre 00000000 0000008c 00000000 00000005 00000008
    Apr 21 11:13:23 yaVDR kernel: [ 1623.527331] NVRM: Xid (0000:01:00): 56, CMDre 00000000 00000080 00000000 00000005 00000008
    Apr 21 11:13:27 yaVDR vdr: [1627] frontend 1/0 timed out while tuning to channel 11, tp 112421
    Apr 21 11:13:28 yaVDR acpid: client 3310[0:0] has disconnected
    Apr 21 11:13:28 yaVDR acpid: client 3310[0:0] has disconnected
    Apr 21 11:13:28 yaVDR acpid: client connected from 3327[0:0]
    Apr 21 11:13:28 yaVDR acpid: 1 client rule loaded
    Apr 21 11:13:28 yaVDR kernel: [ 1628.220603] NVRM: RmInitAdapter failed! (0x27:0xffffffff:1220)
    Apr 21 11:13:28 yaVDR kernel: [ 1628.220613] NVRM: rm_init_adapter(0) failed
    Apr 21 11:13:32 yaVDR acpid: client 3327[0:0] has disconnected
    Apr 21 11:13:32 yaVDR acpid: client connected from 3346[0:0]
    Apr 21 11:13:32 yaVDR acpid: 1 client rule loaded
    Apr 21 11:13:32 yaVDR kernel: [ 1632.029131] NVRM: RmInitAdapter failed! (0x27:0xffffffff:1220)
    Apr 21 11:13:32 yaVDR kernel: [ 1632.029142] NVRM: rm_init_adapter(0) failed

    Was mir auffällt, sind die folgenden Meldungen:

    Code
    Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please check your system's kernel log for additional error
    Screen(s) found, but none have a usable configuration.
    Display Spoiler

    [ 1890.746] ABI class: X.Org Server Extension, version 6.0
    [ 1890.746] (II) Loading extension DOUBLE-BUFFER
    [ 1890.746] (II) LoadModule: "glx"
    [ 1890.746] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
    [ 1890.756] (II) Module glx: vendor="NVIDIA Corporation"
    [ 1890.756] compiled for 4.0.2, module version = 1.0.0
    [ 1890.756] Module class: X.Org Server Extension
    [ 1890.756] (II) NVIDIA GLX Module 304.116 Mon Oct 28 20:59:08 PDT 2013
    [ 1890.756] (II) Loading extension GLX
    [ 1890.756] (II) LoadModule: "record"
    [ 1890.756] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 1890.757] (II) Module record: vendor="X.Org Foundation"
    [ 1890.757] compiled for 1.11.3, module version = 1.13.0
    [ 1890.757] Module class: X.Org Server Extension
    [ 1890.757] ABI class: X.Org Server Extension, version 6.0
    [ 1890.757] (II) Loading extension RECORD
    [ 1890.757] (II) LoadModule: "dri"
    [ 1890.757] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 1890.757] (II) Module dri: vendor="X.Org Foundation"
    [ 1890.757] compiled for 1.11.3, module version = 1.0.0
    [ 1890.757] ABI class: X.Org Server Extension, version 6.0
    [ 1890.757] (II) Loading extension XFree86-DRI
    [ 1890.757] (II) LoadModule: "dri2"
    [ 1890.757] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 1890.757] (II) Module dri2: vendor="X.Org Foundation"
    [ 1890.757] compiled for 1.11.3, module version = 1.2.0
    [ 1890.757] ABI class: X.Org Server Extension, version 6.0
    [ 1890.757] (II) Loading extension DRI2
    [ 1890.757] (II) LoadModule: "nvidia"
    [ 1890.757] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
    [ 1890.758] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 1890.758] compiled for 4.0.2, module version = 1.0.0
    [ 1890.758] Module class: X.Org Video Driver
    [ 1890.758] (II) NVIDIA dlloader X Driver 304.116 Mon Oct 28 20:40:38 PDT 2013
    [ 1890.758] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 1890.758] (++) using VT number 7
    [ 1890.760] (II) Loading sub module "fb"
    [ 1890.761] (II) LoadModule: "fb"
    [ 1890.761] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 1890.761] (II) Module fb: vendor="X.Org Foundation"
    [ 1890.761] compiled for 1.11.3, module version = 1.0.0
    [ 1890.761] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 1890.761] (II) Loading sub module "wfb"
    [ 1890.761] (II) LoadModule: "wfb"
    [ 1890.761] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 1890.761] (II) Module wfb: vendor="X.Org Foundation"
    [ 1890.761] compiled for 1.11.3, module version = 1.0.0
    [ 1890.761] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 1890.761] (II) Loading sub module "ramdac"
    [ 1890.761] (II) LoadModule: "ramdac"
    [ 1890.761] (II) Module "ramdac" already built-in
    [ 1890.761] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
    [ 1890.761] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 1890.761] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 1890.762] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [ 1890.762] (==) NVIDIA(0): RGB weight 888
    [ 1890.762] (==) NVIDIA(0): Default visual is TrueColor
    [ 1890.762] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 1890.762] (**) NVIDIA(0): Option "NoLogo" "True"
    [ 1890.762] (**) NVIDIA(0): Option "ExactModeTimingsDVI" "True"
    [ 1890.762] (**) NVIDIA(0): Option "DPI" "100x100"
    [ 1890.762] (**) NVIDIA(0): Option "TripleBuffer" "False"
    [ 1890.762] (**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
    [ 1890.762] (**) NVIDIA(0): Option "FlatPanelProperties" "Scaling = Native"
    [ 1890.762] (**) NVIDIA(0): Option "DynamicTwinView" "0"
    [ 1890.762] (WW) NVIDIA(0): Unrecognized FlatPanelProperties property "Scaling";
    [ 1890.762] (WW) NVIDIA(0): ignoring.
    [ 1890.762] (**) NVIDIA(0): Option "UseEvents" "True"
    [ 1890.762] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP-1"
    [ 1890.762] (**) NVIDIA(0): Option "CustomEDID" "DFP-1:/etc/X11/edid.0.yavdr"
    [ 1890.762] (**) NVIDIA(0): Option "OnDemandVBlankInterrupts" "on"
    [ 1890.762] (**) NVIDIA(0): Option "MetaModes" "DFP-1: 1920x1080_50 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    [ 1890.762] (**) NVIDIA(0): Option "UseDisplayDevice" "DFP-1"
    [ 1890.762] (**) NVIDIA(0): Enabling 2D acceleration
    [ 1890.762] (**) NVIDIA(0): ConnectedMonitor string: "DFP-1"
    [ 1890.880] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    [ 1890.880] (EE) NVIDIA(0): check your system's kernel log for additional error
    [ 1890.880] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
    [ 1890.880] (EE) NVIDIA(0): README for additional information.
    [ 1890.880] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    [ 1890.880] (EE) NVIDIA(0): Failing initialization of X screen 0
    [ 1890.880] (II) UnloadModule: "nvidia"
    [ 1890.880] (II) Unloading nvidia
    [ 1890.880] (II) UnloadModule: "wfb"
    [ 1890.880] (II) Unloading wfb
    [ 1890.880] (II) UnloadModule: "fb"
    [ 1890.880] (II) Unloading fb
    [ 1890.880] (EE) Screen(s) found, but none have a usable configuration.
    [ 1890.880]
    Fatal server error:
    [ 1890.880] no screens found
    [ 1890.880]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 1890.880] Please also check the log file at "/var/log/Xorg.1.log" for additional information.
    [ 1890.880]
    [ 1890.884] ddxSigGiveUp: Closing log
    [ 1890.884] Server terminated with error (1). Closing log file.


    Meine Frage hier an die Fachleute ist nun: wie löse ich das? Vielen Dank.

  • Ein Bekannter von mir hat TV und Beamer einfach als zwei Anzeigegeräte an einem HDMI-Umschalter. Wenn er will hat er auf TV und Beamer gleichzeitig Bild und auch Umschalten ist kein Problem.

    Wenn gewünscht kann ich ja mal nachfragen was das für ein Umschalter ist.

  • Kann man, aber bringt's was? Was du dir letztlich einhandelst ist wohl im Wesentlichen viel Aufwand.

    Wenn mein Bekannter vom TV auf den Beamer wechseln will, dann fährt er die Leinwand runter, schaltet den Beamer ein und den TV aus. Fertig.

    Der VDR kann bei dieser Prozedur durchlaufen und bis der Beamer läuft kann das Programm noch am Fernseher verfolgt werden.

    Ich habe mir den ganzen Aufwand mit "edid.bin" und ähnlichem einfach geschenkt und die Ausgabe fest auf 1080p50 gesetzt. Kann der Beamer. Kann der Fernseher --> Geht.

  • Moin,
    du schreibst, das nach einem Neustart des Systems, jeweils eine deiner Konfigurationen funktioniert.
    Das Umschalten zwischen den beiden im laufenden Betrieb aber nich klappt.
    Deswegen tippe ich auf ein Problem mit den Rechten für den X Server -> xhost

    Edit1: was (wie ich jetzt nach dem vollständigen lesen der logs, zugeben muss) gar nicht zu deiner Fehlermeldung passt.

    Edit2: warum möchtest du die beiden eigentlich separat ansteuern?
    Wäre es nicht viel einfacher TV und Beamer in eine xorg.conf zu packen und dann sofhddevice auf dem jeweiligen Display zu starten.

    Signatur

    AsRock j3455-m | 8 GB Ram | 2x DVBSky S952 V3 am Inverto Unicable LNB | SanDisk SDSSDP064G + Seagate ST4000LM024 | yaUsbIRv3 | Ubuntu Budgie | VDR 2.4.0 | vaapidevice

    Raspberry Pi3 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Raspberry Pi2 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Samsung UE40D5700 | Yamaha RX-V473 | Kef HTS2001 + PSW2000

    Edited 2 times, last by Saman (April 22, 2014 at 10:01 AM).

  • Danke Dir Samen, es geht mir lediglich darum, einen Switch zu vermeiden, insofern ist gegen die von Dir im Edit2 genannten Lösung nichts einzuwenden. Man muss halt nur beachten, dass der Fernseher mit 50Hz läuft, dem Beamer hingegen 60Hz besser gefällt. Wie sähe denn die Lösung aus? Ich brauche ja dennoch zwei edid.0.yavdr, bzw. eine edid.0.yavdr und eine edid.1.yavdr oder?

    Hier gab es auch noch einmal eine andere Lösung - alles aber sehr alte Posts.

  • Die unterschiedlichen Hz sind für den X Server kein Problem.
    Um Ruckeler bei Videomaterial mit 25 oder 50 fps zu vermeiden, würde ich aber trotzdem versuchen den Beamer auch mit 50Hz anzusteuern.

    Quote

    ... eine edid.0.yavdr und eine edid.1.yavdr oder?


    Genau, in die xorg.conf kommen dann die Sektionen für Monitor, Device und Screen jeweils zweimal rein.
    Oben im 'ServerLayout' ordnest du die Screens dann an.
    http://wiki.ubuntuusers.de/Dualview#Zwei-…engige-Desktops

    Eventuell geht das bei yaVDR auch über das Web-Frontend.

    Signatur

    AsRock j3455-m | 8 GB Ram | 2x DVBSky S952 V3 am Inverto Unicable LNB | SanDisk SDSSDP064G + Seagate ST4000LM024 | yaUsbIRv3 | Ubuntu Budgie | VDR 2.4.0 | vaapidevice

    Raspberry Pi3 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Raspberry Pi2 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Samsung UE40D5700 | Yamaha RX-V473 | Kef HTS2001 + PSW2000

  • Da ich mich grad mit demselben Problem rumschlage, hier mal, was ich hab.

    Ich hatte erst mittels Nvidia-settings eine xorg.conf für 2 screens erstellt. Ich hielt das für die sauberste Lösung. Aber nach 2 Tagen rumprobieren, hab ich festgestellt, dass es nicht gescheit möglich ist, Applikationen hin- und herzuschieben.
    Also, ein screen. Da sind beide Displays drin und das Umschalten zwischen beiden mach ich mit xrand bzw. darauf aufsetzend disper. Damit schaltet man zwischen dem primary und secondary screen einfach hin- und her.
    Tut prinzipiell.
    Da es aber an einigen Stellen noch ein wenig zwickt, hab ich noch nichts 100%iges. Bei mir ists XBMC und der Sound, aber vielleicht kommst du damit ja weiter.

    Faudeer

    Synchronisieren und Backup auch unter Linux! 250MB extra für euch und mich bei Dropbox-Anmeldung (zu den kostenlosen 2GB), wenn ihr meinen Referral nutzt.

  • Saman & Faudeer, ich denke, dass Ihr das so meint:

    Display Spoiler

    #################################################################################
    # #
    # The following configuration file is generated automatically by the yaVDR #
    # system. Don't change this file as every update of yaVDR will overwrite #
    # the local changes. Instead put your required customizations #
    # into /etc/yavdr/templates_custom/ based on the original templates #
    # under /usr/share/yavdr/templates. #
    # #
    # http://www.yavdr.org/developer-zone/template-overview/ #
    # #
    # #
    #################################################################################
    #
    # based on
    #
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Oct 20 21:00:15 PDT 2009
    #
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "TV"
    Screen 1 "Beamer"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection

    Section "Files"
    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

    #-------- TV -----------------------------------
    Section "Monitor"
    Identifier "TV"
    VendorName "Philips"
    ModelName "55PFL6007K"
    Option "DPMS"
    Option "ExactModeTimingsDVI" "True"
    EndSection

    Section "Device"
    Identifier "NVIDIA GeForce GT 620 - 0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Screen 0
    Option "DPI" "100x100"
    BusID "PCI:1:0:0"
    Option "NoLogo" "True"
    Option "UseEvents" "True"
    Option "TripleBuffer" "False"
    Option "AddARGBGLXVisuals" "True"
    Option "TwinView" "0"
    Option "DynamicTwinView" "0"
    Option "OnDemandVBlankinterrupts" "on"
    Option "FlatPanelProperties" "Scaling = Native"
    EndSection

    Section "Screen"
    Identifier "TV"
    Device "Device0"
    Monitor "Philips PFL6007K"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080_50"
    EndSubSection
    Option "ConnectedMonitor" "DFP-1"
    Option "UseDisplayDevice" "DFP-1"
    Option "CustomEDID" "DFP-1:/etc/X11/edid.0.yavdr"
    Option "MetaModes" "DFP-1: 1920x1080_50 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    EndSection

    #-------- Beamer -----------------------------------
    Section "Monitor"
    Identifier "Beamer"
    VendorName "Mitsubishi"
    ModelName "HC6000"
    Option "DPMS"
    Option "ExactModeTimingsDVI" "True"
    EndSection

    Section "Device"
    Identifier "NVIDIA GeForce GT 620 - 1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Screen 1
    Option "DPI" "100x100"
    BusID "PCI:1:0:0"
    Option "NoLogo" "True"
    Option "UseEvents" "True"
    Option "TripleBuffer" "False"
    Option "AddARGBGLXVisuals" "True"
    Option "TwinView" "0"
    Option "DynamicTwinView" "0"
    Option "OnDemandVBlankinterrupts" "on"
    Option "FlatPanelProperties" "Scaling = Native"
    EndSection

    Section "Screen"
    Identifier "Beamer"
    Device "Device0"
    Monitor "Mitsubishi HC6000"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080" "1920x1080_24" "1920x1080_50" "1920x1080_60"
    EndSubSection
    Option "ConnectedMonitor" "DFP-0"
    Option "UseDisplayDevice" "DFP-0"
    Option "CustomEDID" "DFP-0:/etc/X11/edid.1.yavdr"
    Option "MetaModes" "DFP-0: 1920x1080 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_24 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_50 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_60 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    EndSection


    Section "Extensions"
    Option "Composite" "Disable"
    EndSection

    Nach dem Reboot sehe ich im WFE unter Anzeigeeinstellungen lediglich den TV, der Dual-Head Modus ist ausgegraut (deaktiviert, weniger als 2 Bildschirme gefunden.

    Ich denke, dass ich irgendwo einen Fehler in der Konfig habe - seht Ihr mehr? Vielen Dank.

  • Moin,

    das 'Device' in der Sektion Screen muss dem 'Identifier' in der Sektion Device entsprechen.

    Signatur

    AsRock j3455-m | 8 GB Ram | 2x DVBSky S952 V3 am Inverto Unicable LNB | SanDisk SDSSDP064G + Seagate ST4000LM024 | yaUsbIRv3 | Ubuntu Budgie | VDR 2.4.0 | vaapidevice

    Raspberry Pi3 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Raspberry Pi2 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Samsung UE40D5700 | Yamaha RX-V473 | Kef HTS2001 + PSW2000

  • Hui bist Du schnell :cool1

    Das teste ich Morgen gleich aus, muss jetzt weg.

    Hab' mir mal die Xorg.0.log angeschaut. Das sieht ja nicht schlecht aus:

    Code
    [  3087.046] (--) NVIDIA(0): Valid display device(s) on GeForce GT 620 at PCI:1:0:0
    [  3087.046] (--) NVIDIA(0):     CRT-0
    [  3087.046] (--) NVIDIA(0):     Mitsubishi HC6000 (DFP-0) (connected)
    [  3087.046] (--) NVIDIA(0):     Philips FTV (DFP-1) (connected)
    [  3087.046] (--) NVIDIA(0):     DFP-2


    Vielen Dank für's erste.

  • Funktioniert leider nicht - es ist ja lt. der o.g. Beschreibung korrekt, dass es ein Identifier "NVIDIA GeForce GT 620 - 0", sowie einen Identifier "NVIDIA GeForce GT 620 - 1" gibt oder?

    Display Spoiler

    #################################################################################
    # #
    # The following configuration file is generated automatically by the yaVDR #
    # system. Don't change this file as every update of yaVDR will overwrite #
    # the local changes. Instead put your required customizations #
    # into /etc/yavdr/templates_custom/ based on the original templates #
    # under /usr/share/yavdr/templates. #
    # #
    # http://www.yavdr.org/developer-zone/template-overview/ #
    # #
    # #
    #################################################################################
    #
    # based on
    #
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Oct 20 21:00:15 PDT 2009
    #
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "TV"
    Screen 1 "Beamer"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection

    Section "Files"
    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

    #-------- TV -----------------------------------
    Section "Monitor"
    Identifier "TV"
    VendorName "Philips"
    ModelName "55PFL6007K"
    Option "DPMS"
    Option "ExactModeTimingsDVI" "True"
    EndSection

    Section "Device"
    Identifier "NVIDIA GeForce GT 620 - 0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Screen 0
    Option "DPI" "100x100"
    BusID "PCI:1:0:0"
    Option "NoLogo" "True"
    Option "UseEvents" "True"
    Option "TripleBuffer" "False"
    Option "AddARGBGLXVisuals" "True"
    Option "TwinView" "0"
    Option "DynamicTwinView" "0"
    Option "OnDemandVBlankinterrupts" "on"
    Option "FlatPanelProperties" "Scaling = Native"
    EndSection

    Section "Screen"
    Identifier "TV"
    Device "NVIDIA GeForce GT 620 - 0"
    Monitor "Philips PFL6007K"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080_50"
    EndSubSection
    Option "ConnectedMonitor" "DFP-1"
    Option "UseDisplayDevice" "DFP-1"
    Option "CustomEDID" "DFP-1:/etc/X11/edid.0.yavdr"
    Option "MetaModes" "DFP-1: 1920x1080_50 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    EndSection

    #-------- Beamer -----------------------------------
    Section "Monitor"
    Identifier "Beamer"
    VendorName "Mitsubishi"
    ModelName "HC6000"
    Option "DPMS"
    Option "ExactModeTimingsDVI" "True"
    EndSection

    Section "Device"
    Identifier "NVIDIA GeForce GT 620 - 1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Screen 1
    Option "DPI" "100x100"
    BusID "PCI:1:0:0"
    Option "NoLogo" "True"
    Option "UseEvents" "True"
    Option "TripleBuffer" "False"
    Option "AddARGBGLXVisuals" "True"
    Option "TwinView" "0"
    Option "DynamicTwinView" "0"
    Option "OnDemandVBlankinterrupts" "on"
    Option "FlatPanelProperties" "Scaling = Native"
    EndSection

    Section "Screen"
    Identifier "Beamer"
    Device "NVIDIA GeForce GT 620 - 1"
    Monitor "Mitsubishi HC6000"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080" "1920x1080_24" "1920x1080_50" "1920x1080_60"
    EndSubSection
    Option "ConnectedMonitor" "DFP-0"
    Option "UseDisplayDevice" "DFP-0"
    Option "CustomEDID" "DFP-0:/etc/X11/edid.1.yavdr"
    Option "MetaModes" "DFP-0: 1920x1080 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_24 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_50 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    Option "MetaModes" "DFP-0: 1920x1080_60 { ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 }"
    EndSection


    Section "Extensions"
    Option "Composite" "Disable"
    EndSection

    xrandr bringt: Can't open display
    disper --l bring: No suitable backend found

  • Moin,

    das passt so, was da steht ist auch unerheblich, Hauptsache unterschiedlich.
    Kannst auch Device0 und Device1 nehmen.

    Deine Sektionen passen aber noch nicht zusammen.
    zB die Identifier für Screen und Monitor sind gleich, das darf nicht.

    Die angaben in der Sektion Screen müssen den Identifier der dazugehörigen Sektionen entsprechen.

    Signatur

    AsRock j3455-m | 8 GB Ram | 2x DVBSky S952 V3 am Inverto Unicable LNB | SanDisk SDSSDP064G + Seagate ST4000LM024 | yaUsbIRv3 | Ubuntu Budgie | VDR 2.4.0 | vaapidevice

    Raspberry Pi3 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Raspberry Pi2 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Samsung UE40D5700 | Yamaha RX-V473 | Kef HTS2001 + PSW2000

  • Wenn ich jetzt nichts übersehen habe sollte die passen:

    xorg-dualhead.conf
    Signatur

    AsRock j3455-m | 8 GB Ram | 2x DVBSky S952 V3 am Inverto Unicable LNB | SanDisk SDSSDP064G + Seagate ST4000LM024 | yaUsbIRv3 | Ubuntu Budgie | VDR 2.4.0 | vaapidevice

    Raspberry Pi3 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Raspberry Pi2 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Samsung UE40D5700 | Yamaha RX-V473 | Kef HTS2001 + PSW2000

    Edited once, last by Saman (April 26, 2014 at 2:59 PM).

  • Ich habe mir mal diese Beschreibung angeschaut: LINK

    Müsste demzufolge nicht etwas wie:

    Code
    Screen 1       "Screen1"  Clone


    verwendet werden?

    Leider zeiget das WFE nur den TV an und dort habe ich auch ein Bild. Der Beamer sendet "Kein Signal" und wird auf dem WFE auch nicht angezeigt. Es interessiert ihn auch nicht, dass ich die yavdrdb mal manuell geändert habe:

    Code
    x11 {
        dualhead {
          enabled = 1
  • Bei der von mir geposteten xorg.conf solltest du zwei nebeneinander angeordnete Displays haben.
    Auf einem der beiden läuft dann softhd. Der Cursor kann Fenster zwischen den beiden Verschieben.

    Leider finde ich meine alte xorg.conf nicht mehr :(

    PS:
    Nun habe ich doch noch was gefunden, ob es hilf weiss ich nicht aber nimm das doch mal raus

    Code
    Option         "TwinView" "0"
        Option         "DynamicTwinView" "0"
    Signatur

    AsRock j3455-m | 8 GB Ram | 2x DVBSky S952 V3 am Inverto Unicable LNB | SanDisk SDSSDP064G + Seagate ST4000LM024 | yaUsbIRv3 | Ubuntu Budgie | VDR 2.4.0 | vaapidevice

    Raspberry Pi3 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Raspberry Pi2 | DIY IR | Raspbian | VDR 2.4.0 | Streamdev-Client | rpihddevice
    Samsung UE40D5700 | Yamaha RX-V473 | Kef HTS2001 + PSW2000

  • Hallo Saman, hat etwas gedauert, aber leider klappt es so ebenfalls nicht.

    Ich zitiere mal aus dem Wiki:

    Quote

    Monitor
    Jeder Monitor-Abschnitt konfiguriert einen vom System verwendeten Monitor. Mindestens ein Monitor-Abschnitt muss vorhanden sein, es können aber auch mehrere sein - für jeden zusätzlichen Monitor ein Abschnitt.

    Quote

    Device
    Im Device-Abschnitt wird die Grafikkarte für das System eingerichtet. Mindestens ein Device-Abschnitt muss immer vorhanden sein, es können auch mehrere Abschnitte vorhanden sein - für jede im System vorhandene Grafikkarte ein Abschnitt.

    Quote

    Screen
    Jeder Screen-Abschnitt bindet eine Grafikkarte (oder einen Anschluss auf einer Grafikkarte) an einen Monitor, indem dieser den Device-Abschnitt und den jeweiligen Monitor-Abschnitt für jeden der Anschlüsse referenziert. Mindestens ein Screen-Abschnitt muss vorhanden sein, weitere bestehen für jede zusätzliche Kombination aus Grafikkarte (oder Anschluss) und Monitor auf dem Computer.


    Müsste ich demzufolge nicht zwei Monitor und Screen-Abschnitte haben, aber lediglich nur einen Device-Abschnitt? Im Device-Abschnitt wäre dann das zu beachten:

    Quote

    Die folgenden Einträge sind häufig in einem Device-Abschnitt zu finden:
    Screen - Ein optionaler Eintrag, der angibt, welchen Anschluss der Grafikkarte dieser Device-Abschnitt konfiguriert. Diese Option ist nur bei Grafikkarten mit mehr als einem Anschluss nützlich. Wenn mehrere Monitore an eine Grafikkarte angeschlossen sind, dann müssen auch verschiedene Device-Abschnitte mit einem jeweils unterschiedlichen Screen-Wert zur Verfügung stehen. Der Wert eines Screen-Eintrags ist eine ganzzahlige Nummer. Der erste Anschluss hat den Wert 0, und für jeden weiteren Anschluss wird diese Zahl um eins erhöht.

    Was mir gerade auffällt: es gibt gar keine "Screen" Option in meiner xorg.conf.yavdr.

  • Falls es mit beiden Bildschirmen in einer Datei nichts wird:
    Um den Reboot zu verhindern (ich beziehe mich auf deinen ersten Post), könntest du mal probieren

    Code
    stop openbox
    (Dateien kopieren)
    start openbox


    Das dürfte das vdr-Frontend und X stoppen und anschließend wieder starten.

    Ich sehe gerade: Klaus Lang hat da ein "restart openbox" in seinen Scripten drin, hast du das mal probiert?
    vdr muss eigentlich nicht neugestartet werden.

    Lars.

    vdr2: yaVDR 0.5/softhddevice @ G540, Intel DH67BLB3, Asus GT610/2GB, DDBridge + 2x DuoFlex C/T
    hdvdr: yaVDR unstable/softhddevice @ E8400, Asus P5Q SE Plus, 1x L4M-TwinCI + Flex C/T, 1x Sundtek MediaTV Pro, GT520
    Plugins: | avahi4vdr | dbus2vdr | dynamite | epg2timer | noepg | pvrinput | sundtek |

  • Das wäre sicher die einfachste Lösung, aber wenn ich einfach nur stop openbox, gefolgt von einem start openbox eingebe, sehe ich das im syslog:

    Erst ein Reboot bringt das Bild zurück auf den Schirm.

  • Hast du sowas wie graphtft am Laufen?
    Oder was laufen sonst noch für Prozesse nach dem "stop openbox", die evtl. mit X zu tun haben?

    Lars.

    vdr2: yaVDR 0.5/softhddevice @ G540, Intel DH67BLB3, Asus GT610/2GB, DDBridge + 2x DuoFlex C/T
    hdvdr: yaVDR unstable/softhddevice @ E8400, Asus P5Q SE Plus, 1x L4M-TwinCI + Flex C/T, 1x Sundtek MediaTV Pro, GT520
    Plugins: | avahi4vdr | dbus2vdr | dynamite | epg2timer | noepg | pvrinput | sundtek |

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!