All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Popa <adrian_gh.popa-W9Zz3XeOr4Mo9/FJvwSGXQ@public.gmane.org>
To: Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: Enabling TV-out with the nouveau driver
Date: Fri, 11 Jun 2010 08:40:18 +0300	[thread overview]
Message-ID: <4C11CC42.3000705@romtelecom.ro> (raw)
In-Reply-To: <87k4q7mavl.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>


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

Hello,

I've checked and i have a GeForce 4 MX 440, and i do see a TV-1 in 
xrandr but I didn't manage to configure it with xrandr.

I've looked over [2] and by using *xrandr --output TV-1 --right-of 
VGA-1* i managed to extend my desktop to my TV. Also, i see the window 
transparency effect keeps working ;)

The problem is  - I tried to configure xorg.conf but I didn't manage to 
add the displays side by side (the TV overlaps with the monitor from the 
top-left corner), even if they have different resolutions. I have 
attached my xorg.conf for reference. I realize I must be missing 
something trivial in the configuration. Anyone care to point it out?

Thanks,
Adrian


On 06/10/2010 01:37 PM, Francisco Jerez wrote:
> Adrian Popa<adrian_gh.popa-W9Zz3XeOr4Mo9/FJvwSGXQ@public.gmane.org>  writes:
>
>    
>> Hello everyone,
>>
>> First of all - congratulations on the success of your project. It was
>> about time the community did something about the nvidia drivers! :)
>>
>> Now, I'm still experimenting with nouveau and I have enabled it on a
>> test system that has a rather old Nvidia card (GeForce4 I think) with
>> tv-out. Everything works fine, but I haven't been able to find any
>> examples on how to configure tv-out so I can extend my desktop to my
>> TV.
>>      
> Which card exactly? nv1x-based gf4 cards should be fine but nv2x GPUs
> need an external TV encoder chip (and right now we only have a driver
> for ch7006 and similar external encoders). So, if your card has one of
> the supported encoders, you'll see a "TV-1" connector in the output of
> "xrandr".
>
>    
>> Can anyone help with a demo configuration of Xorg.conf?
>>
>>      
> It's configured as a regular RandR12 output, so it should just work with
> the minimal xorg.conf [1], if you need to do something fancier like
> changing the relative output positions or setting TV-specific
> properties, see [2] and [3] (check out the TV-related kernel module
> parameters too, see "modinfo nouveau").
>
>    
>> Also, I want to ask - if there is any chance of using two displays
>> *and* enabling compositing (window transparency effects) - either with
>> software or hardware acceleration?
>>      
> It should work, but keep in mind that nv1x cards have a rather crude
> pitch limitation (you'll get no hw accel if your desktop is larger than
> 2048x2048).
>
>    
>> By the way, I am using Xubuntu 10.04.
>>
>> Regards,
>> Adrian
>> _______________________________________________
>> Nouveau mailing list
>> Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>> http://lists.freedesktop.org/mailman/listinfo/nouveau
>>      
> [1] http://nouveau.freedesktop.org/wiki/InstallNouveau
> [2] http://nouveau.freedesktop.org/wiki/Randr12
> [3] http://wiki.debian.org/XStrikeForce/HowToRandR12
>    


-- 
---
Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP&  Metro
Compartiment IP Core&  Backbone
Phone: +40 21 400 3099


[-- Attachment #1.2: Type: text/html, Size: 4340 bytes --]

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

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "record"
	Load  "dri2"
	Load  "dri"
	Load  "glx"
	Load  "extmod"
	Load  "dbe"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	DisplaySize	  340   270	# mm
	Identifier   "VGA-1"
	VendorName   "NEC"
	ModelName    "LCD72VM"
	HorizSync    31.0 - 81.0
	VertRefresh  56.0 - 75.0
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "TV-1" 
        HorizSync    30-50
	VertRefresh  60
	Option "RightOf" "Monitor0"
	# 720x576 @ 50Hz, 31.25kHz, itu-r bt.1358 625/50/p/1:1, RGB, YPbPr, HDMI
	ModeLine "720x576@50"  27     720 732 795 864  576 581 586 625 -hsync -vsync
	# nonstandard PAL (Works with BOB deinterlace) It is 60Hz but works well with nVIDIA PAL-B TV-OUT
	# Nvidia option: Option "TVStandard" "PAL-B"
	ModeLine "720x576@60" 32.7  720 744 816 912  576 577 580 597

	# This modeline is 50Hz interlaced and works well with kerneldeint:
	ModeLine "720x576i" 13.875  720 744 808 888  576 581 586 625 -hsync -vsync interlace
	
EndSection	
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"   "True"        	# [<bool>]
	Identifier  "Card0"
	Driver      "nouveau"
	VendorName  "nVidia Corporation"
	BoardName   "NV18 [GeForce4 MX 440 AGP 8x]"
	BusID       "PCI:2:0:0"
	Option	    "Monitor-VGA-1" "VGA-1"
	Option	    "Monitor-TV-1" "TV-1"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	#Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection


[-- Attachment #3: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2010-06-11  5:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10  8:27 Enabling TV-out with the nouveau driver Adrian Popa
     [not found] ` <4C10A1F8.4010107-W9Zz3XeOr4Mo9/FJvwSGXQ@public.gmane.org>
2010-06-10 10:37   ` Francisco Jerez
     [not found]     ` <87k4q7mavl.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-06-11  5:40       ` Adrian Popa [this message]
     [not found]         ` <4C11CC42.3000705-W9Zz3XeOr4Mo9/FJvwSGXQ@public.gmane.org>
2010-06-11  9:43           ` Francisco Jerez
     [not found]             ` <878w6lnbuz.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-06-11 14:42               ` Adrian Popa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C11CC42.3000705@romtelecom.ro \
    --to=adrian_gh.popa-w9zz3xeor4mo9/fjvwsgxq@public.gmane.org \
    --cc=currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.