From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Popa Subject: Re: Enabling TV-out with the nouveau driver Date: Fri, 11 Jun 2010 08:40:18 +0300 Message-ID: <4C11CC42.3000705@romtelecom.ro> References: <4C10A1F8.4010107@romtelecom.ro> <87k4q7mavl.fsf@riseup.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040209030309060002080201" Return-path: In-Reply-To: <87k4q7mavl.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Francisco Jerez Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org This is a multi-part message in MIME format. --------------040209030309060002080201 Content-Type: multipart/alternative; boundary="------------090202030000050907060804" --------------090202030000050907060804 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 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 --------------090202030000050907060804 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C2=A0 - 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><=
/a> 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 shoul=
d 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/no=
uveau
    
[1] http://nouveau.freedesktop.org/wiki/InstallNo=
uveau
[2] http://nouveau.freedesktop.org/wiki/Randr12
[3] http://wiki.debian.org/XStrikeForce/HowToRandR12<=
/a>
  


--=20
---=20
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
--------------090202030000050907060804-- --------------040209030309060002080201 Content-Type: text/plain; name="xorg.conf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="xorg.conf" U2VjdGlvbiAiU2VydmVyTGF5b3V0IgoJSWRlbnRpZmllciAgICAgIl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zZANjAiIDMyLjcg IDcyMCA3NDQgODE2IDkxMiAgNTc2IDU3NyA1ODAgNTk3CgoJIyBUaGlzIG1vZGVsaW5lIGlz IDUwSHogaW50ZXJsYWNlZCBhbmQgd29ya3Mgd2VsbCB3aXRoIGtlcm5lbGRlaW50OgoJTW9k ZUxpbmUgIjcyMHg1NzZpIiAxMy44NzUgIDcyMCA3NDQgODA4IDg4OCAgNTc2IDU4MSA1ODYg NjI1IC1oc3luYyAtdnN5bmMgaW50ZXJsYWNlCgkKRW5kU2VjdGlvbgkKU2VjdGlvbiAiRGV2 aWNlIgogICAgICAgICMjIyBBdmFpbGFibGUgRHJpdmVyIG9wdGlvbnMgYXJlOi0KICAgICAg ICAjIyMgVmFsdWVzOiA8aT46IGludGVnZXIsIDxmPjogZmxvYXQsIDxib29sPjogIlRydWUi LyJGYWxzZSIsCiAgICAgICAgIyMjIDxzdHJpbmc+OiAiU3RyaW5nIiwgPGZyZXE+OiAiPGY+ IEh6L2tIei9NSHoiCiAgICAgICAgIyMjIFthcmddOiBhcmcgb3B0aW9uYWwKICAgICAgICAj T3B0aW9uICAgICAiU1djdXJzb3IiICAgICAgICAgICAJIyBbPGJvb2w+XQogICAgICAgICNP cHRpb24gICAgICJIV2N1cnNvciIgICAgICAgICAgIAkjIFs8Ym9vbD5dCiAgICAgICAgI09w dGlvbiAgICAgIk5vQWNjZWwiICAgICAgICAgICAgCSMgWzxib29sPl0KICAgICAgICAjT3B0 aW9uICAgICAiU2hhZG93RkIiICAgICAgICAgICAJIyBbPGJvb2w+XQogICAgICAgICNPcHRp b24gICAgICJVc2VGQkRldiIgICAgICAgICAgIAkjIFs8Ym9vbD5dCiAgICAgICAgI09wdGlv biAgICAgIlJvdGF0ZSIgICAgICAgICAgICAgCSMgWzxzdHI+XQogICAgICAgICNPcHRpb24g ICAgICJWaWRlb0tleSIgICAgICAgICAgIAkjIDxpPgogICAgICAgICNPcHRpb24gICAgICJG bGF0UGFuZWwiICAgICAgICAgIAkjIFs8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CURlcHRoICAgICAxNQoJ RW5kU3ViU2VjdGlvbgoJU3ViU2VjdGlvbiAiRGlzcGxheSIKCQlWaWV3cG9ydCAgIDAgMAoJ CURlcHRoICAgICAxNgoJRW5kU3ViU2VjdGlvbgoJU3ViU2VjdGlvbiAiRGlzcGxheSIKCQlW aWV3cG9ydCAgIDAgMAoJCURlcHRoICAgICAyNAoJRW5kU3ViU2VjdGlvbgpFbmRTZWN0aW9u Cgo= --------------040209030309060002080201 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --------------040209030309060002080201--