Gå til innhold

tv-out og oppløsning


Anbefalte innlegg

Har endelig fått til tv-out i ubuntu med mitt geforce fx5200 nvidia kort. Ser bildet klart på TV nå, men når jeg setter xorg.conf til å vise både lcd (via DVI) og TV, så blir oppløsningen på LCD og 1024x769 mens den egentlig skulle vært 1280x1024...setter jeg xorg.conf til å kun vise LCD, får jeg den oppløsninga jeg skal ha.

 

Noen som ser noe galt?

Her er xorg.conf

 

# /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 commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath	"unix/:7100"  	# local font server
# if the local font server has problems, we can fall back on these
FontPath	"/usr/lib/X11/fonts/misc"
FontPath	"/usr/lib/X11/fonts/cyrillic"
FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath	"/usr/lib/X11/fonts/Type1"
FontPath	"/usr/lib/X11/fonts/CID"
FontPath	"/usr/lib/X11/fonts/100dpi"
FontPath	"/usr/lib/X11/fonts/75dpi"
       # paths to defoma fonts
FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

Section "InputDevice"
Identifier	"Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"	"xorg"
Option  "XkbModel"	"pc105"
Option  "XkbLayout"	"no"
EndSection

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

Section "Device"
Identifier	"NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver  "nvidia"
BusID  "PCI:2:0:0"
Option "ConnectedMonitor" "DFP"
#Option "IgnoreDisplayDevices" "CRT"
Option "TwinView" "true"
Option "TwinViewOrientation" "Clone"
Option "TVOutFormat" "COMPOSITE"
Option "TVStandard" "PAL-B"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1280x1024,1280x1024;1024x768,1024x768;800x600,800x600;640x480,640x480"
Option "DPMS"
EndSection

Section "Monitor"
Identifier	"LCD1770NX"
HorizSync	31.5-69.0
VertRefresh	56.0-75.0
Option  "DPMS"
EndSection

Section "Screen"
Identifier	"Default Screen"
Device  "NVIDIA Corporation NV34 [GeForce FX 5200]"
Monitor  "LCD1770NX"
DefaultDepth	24
#SubSection "Display"
#	Depth  1
#	Modes  "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
#EndSubSection
#SubSection "Display"
#	Depth  4
#	Modes  "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
#EndSubSection
#SubSection "Display"
#	Depth  8
#	Modes  "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
#EndSubSection
#SubSection "Display"
#	Depth  15
#	Modes  "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
#EndSubSection
#SubSection "Display"
#	Depth  16
#	Modes  "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
#EndSubSection
SubSection "Display"
 Depth  24
 Modes  "1280x1024" #"1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier	"Simple Layout"
Screen  "Default Screen"
InputDevice	"Generic Keyboard"
InputDevice	"Configured Mouse"
EndSection

Section "DRI"
Mode	0666
EndSection

Endret av tommy18
Lenke til kommentar
Videoannonse
Annonse

Jeg er usikker på hvordan du vil ha det. Men grunnen til at oppløsningen blir 1024x768 er at driveren velger den høyeste MetaModes som begge skjermene takler. TV-utgangen takler maksimalt 1024x768.

 

Slik har jeg det:

 

Option "MetaModes" "1280x1024,1024x768 @1280x1024; 1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480;"

 

Dette gjør at Oppløsningen på skrivebordet og LCD-en blir 1280x1024 mens TV-en blir 1024x768. Bildet på TV-en scroller da etter musen. Når jeg skal se film, trykker jeg "ctrl", "alt" og "+". Da forandrer oppløsningen seg til 1024x768 på begge skjermer og selv om skrivebordet er større så skjønner de fleste medieavspillere dette og gir riktig størrelse ved fullscreen.

Lenke til kommentar

Dette så ikke helt ut til å virke. Oppløsningen ble ikke 1280x1024; Alt ble "gigantisk" på begge skjermer, så bildet på både LCD og TV fulgte musa.

 

Her er min xorg.conf (den delen som er viktig i denne sammenheng):

 

Section "Device"
       Identifier      "NVIDIA Corporation NV34 [GeForce FX 5200]"
       Driver          "nvidia"
       BusID           "PCI:2:0:0"
       Option "ConnectedMonitor" "DFP"
       Option "TwinView" "true"
       Option "TwinViewOrientation" "Clone"
       Option "TVOutFormat" "COMPOSITE"
       Option "TVStandard" "PAL-B"
       Option "SecondMonitorHorizSync" "30-50"
       Option "SecondMonitorVertRefresh" "60"
       Option "MetaModes" "1280x1024,1024x768 @1280x1024; 1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480;"
       Option "DPMS"
EndSection

Lenke til kommentar

Det er slik "gigantisk" når du starter X?

 

Her er i hvertfall min xorg.conf:

# /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 commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath	"unix/:7100"  	# local font server
# if the local font server has problems, we can fall back on these
FontPath	"/usr/lib/X11/fonts/misc"
FontPath	"/usr/lib/X11/fonts/cyrillic"
FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath	"/usr/lib/X11/fonts/Type1"
FontPath	"/usr/lib/X11/fonts/CID"
FontPath	"/usr/lib/X11/fonts/100dpi"
FontPath	"/usr/lib/X11/fonts/75dpi"
       # paths to defoma fonts
FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

Section "InputDevice"
Identifier	"Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"	"xorg"
Option  "XkbModel"	"pc105"
Option  "XkbLayout"	"no"
EndSection

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

Section "Device"
Identifier	"NVIDIA Corporation NV28 [GeForce4 Ti 4800 SE]"
Driver  "nvidia"
BusID  "PCI:1:0:0"

Option "TwinView"
Option "MetaModes" "1280x1024,1024x768 @1280x1024; 1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480;"
Option "TVStandard" "PAL-B"
Option "SecondMonitorHorizSync"   "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TwinViewOrientation" "Clone"
EndSection

Section "Monitor"
Identifier	"Generic Monitor"
Option  "DPMS"
HorizSync	30-65
VertRefresh	50-75
EndSection

Section "Screen"
Identifier	"Default Screen"
Device  "NVIDIA Corporation NV28 [GeForce4 Ti 4800 SE]"
Monitor  "Generic Monitor"
DefaultDepth	24
SubSection "Display"
 Depth  1
 Modes  "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
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
EndSection

Section "ServerLayout"
Identifier	"Default Layout"
Screen  "Default Screen"
InputDevice	"Generic Keyboard"
InputDevice	"Configured Mouse"
EndSection

Section "DRI"
Mode	0666
EndSection

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...