"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

xorg mod für tvout in ubuntu!?

Roadrunner 14.02.2007 - 04:49 1212 6
Posts

Roadrunner

Floating on Water
Avatar
Registered: Mar 2002
Location: /home/tv
Posts: 868
n'abend,

ich hab ein kleines problem mit meiner graka, meinem tft und dem fernseher.
in windows konnte man mit dem nvidiatool für den tft(LG L194WT) 1440x900 als auflösung wählen und am tv ein geklontes bild erzeugen mit einer anderen auflösung( in meinem fall 1024x768 - mehr packt der TV ned)!

wie ich es drehe und wende, ich bekomms ned so hin in ubuntu.
ich hab eine xorg mit der auflösung 1440x900 und eine mit 1024x768, bloß daß beide wiedergabegeräte immer die selbe und nicht ihre jeweils optimale auflösung haben.

könnte mir bitte jemand nen kleinen wegweiser zeigen, wie ich die devices getrennt konfigurieren kann?

ich möchte bloß beide geräte gleichzeitig ansprechen mit ihrer jeweiligen auflösung und bei der film wiedergabe am tv automatisch vollbild haben während am tft des normale kleine fenster ist!

sysdaten:
asus 7600gt
LG L194WT 1440x900 @ 60hz TFT-Monitor
Sony Trinitron 1024x768 @ 60hz TV
OS: ubuntu 6.10 inkl aktueller updates


tia 4 help ;)


edit:
die aktuelle xorg.conf:
Code:
# /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 "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"GeForce 7600GT"
	Driver		"nvidia"
	BusID		"PCI:7:0:0"
	Option		"UseFBDev"		"true"
	Option         "TwinView" "1"
    	Option         "metamodes" "TV: 1024x768 +0+0, DFP: 1440x900 +0+0;"
        Option "TVStandard" "HD576i"
        Option "TVOutFormat" "SVIDEO"
        Option "TVOverScan" "0.7"
EndSection


Section "Monitor"
	Identifier	"LG Flatron 194WT"
	Option		"DPMS"
	HorizSync	30-83
	VertRefresh	56-75
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"GeForce 7600GT"
	Monitor		"LG Flatron 194WT"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection
Bearbeitet von Roadrunner am 16.02.2007, 04:50

Marcellus

OC Addicted
Avatar
Registered: Mar 2005
Location: ~
Posts: 1755
Du hast nur einen Monitor, kanns sein, dass der tv out nicht als Monitor angesteuert wird, sondern nur als output klon? Du kannst dir amal den gatos treiber ifrc verwenden, der soll besseren tv output support haben.

Roadrunner

Floating on Water
Avatar
Registered: Mar 2002
Location: /home/tv
Posts: 868
ich hab nur einen TFT und einen TV.
danke mal für den Tip, probier ich wenn i zaus bin ;)

edit:
schaut so aus als wäre des gatosprojekt für ATI und ned für GeForcekarten
Bearbeitet von Roadrunner am 14.02.2007, 11:37

Marcellus

OC Addicted
Avatar
Registered: Mar 2005
Location: ~
Posts: 1755
Oh sry. ist schon ewig lang her, dass ich mit grafikkarten treibern herumgetan hab, ich hatte nur sowas im hinterkopf, btw alternativer treiber gibts eigentlich open source nvidia treiber? Es kann sein, dass das mit denen besser geht.

Roadrunner

Floating on Water
Avatar
Registered: Mar 2002
Location: /home/tv
Posts: 868
na leider, die ubuntu treiber für nvidia karten scheinen praktisch die selben zu sein wie die nvidia!
was ich nicht verstehe ist, wenn ich die treiber installiere und zB bei system-auflösung ändern, eben jene ändern will(TFT mein ich jetzt) geht des ah ned!

nexus_VI

Overnumerousness!
Avatar
Registered: Aug 2006
Location: südstadt
Posts: 3661
Wo willst du die Auflösung ändern? Am besten du machst das direkt in der /etc/X11/xorg.conf

Roadrunner

Floating on Water
Avatar
Registered: Mar 2002
Location: /home/tv
Posts: 868
ja genau des will i ja, bloß mein Fernseher am TV-out hat 1024x768 und mein TFT der am DVI hängt hat 1440x900.
und i will beide mit ihrer jeweiligen auflösung betreiben und ned beide 1024 oder beide 1440 :(

EDIT zu später Uhrzeit:

YEEEESSS!! i did it! :D:D:D
thx to BUBA
mit folgender xorg.conf funzt des prima. ich muß zwar mit der maus zum TV rüber und dort dann im filesystem navigieren und die videodatein auswählen um sie am TV wiedergeben zu können, aber des stört mi ned!
Code:
# /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 "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Keyboard1"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Mouse1"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Device[0]"
	Driver		"nvidia"
	BusID		"PCI:7:0:0"
	Screen 0
EndSection

Section "Device" 
   	Driver          "nvidia" 
   	Identifier      "Device[1]" 
   	Screen 1 
   	Option          "TVOutFormat" "SVIDEO" #or Composite etc 
   	Option          "TVStandard" "PAL-G" #or NTSC etc 
   	Option          "ConnectedMonitor" "Monitor[1]" 
   	BusID           "PCI:7:0:0" #adjust using 'lspci' or cat /proc/pci 
EndSection

Section "Monitor"
	Identifier	"Monitor[0]" #TFT
	Option		"DPMS"
	HorizSync	30-83
	VertRefresh	56-75
EndSection

Section "Monitor" 
    	Identifier "Monitor[1]" #TV 
    	HorizSync 30-50
   	VertRefresh 60 
EndSection

Section "Screen"
	Identifier	"Screen[0]"
	Device		"Device[0]"
	Monitor		"Monitor[0]"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen" 
   	Device 		"Device[1]" 
   	Identifier 	"Screen[1]" 
   	Monitor 	"Monitor[1]" 
   	DefaultDepth 24 
       	SubSection "Display" 
               Depth 24 
               Modes "1024x768_60" 
       	EndSubSection    
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen 0	"Screen[0]"
	Screen 1	"Screen[1]" RightOf "Screen[0]"
	InputDevice	"Keyboard1" "Generic Keyboard"
	InputDevice	"Mouse1" "Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection

hartnäckigkeit macht si manchmal bezahlt :)
Bearbeitet von Roadrunner am 16.02.2007, 04:49
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz