LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-06-2007, 10:24 AM   #1
mchalls
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
GeForce2 MX400 clone to TV-out problem on Ubuntu


Hi,

I have read a lot of forums and the manual of the NVidia Legacy driver about how to clone the desktop to the TV-out. I have a Geforce 2 MX400 card (pretty old), which was working properly on my old Fedora. Now I'm using Kubuntu Edgy and I cannot make it work perfect.

The manual of the NVidia Legacy driver clearly states that when a simple clone to the TV-out is needed, then only the "Device" section should be updated in the xorg.conf file.

Mine looks like this:

Section "Device"
Identifier "NVIDIA GeForce2 MX 400"
Driver "nvidia"
Option "Twinview"
Option "TwinViewOrientation" "Clone"
Option "Metamodes" "1024x768, 640x480"
EndSection

That's all. I can see the desktop on the TV properly, the only problem is that the virtual screen size of the desktop on the TV is 1024x768 (same as my CRT has), and only the 640x480 part is visible, i.e. it is not scaled to the resolution of the TV.

I have tried to set the same metamode for the TV as for my CRT (1024x768), but then I have no picture on the TV at all. The only metamode that is accepted is 640x480. This is the only metamode I see the picture on the TV.

Having a look at the X log file, I can see that the driver selects 1024x768 resolution for the virtual desktop size for the TV, so it explains what I see.

I do not understand, how to make it work without actually having 2 X screens in my xorg.conf (which I would like to avoid, since I do not need it, and according to the NVidia manual, I really do not need that).

Running nvidia-setting does not offer any cloning option, so I tried nvtv as well. It works. I can clone the complete desktop to the TV scaled. This justifies that the driver is able to do this without a 2nd X screen. Of course, I would like to make it work automatically.

I'm wondering how to make xorg.conf to work as nvtv does, without having 2 X screens, if it is possible.

Please help,
Endre
 
Old 04-06-2007, 02:58 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Well, it has been a long time since I used it (I actually had to dig around in my /etc to find an old copy that still had the TwinView lines) but this is what I was using to get the proper image on my TV:

Under "Device":
Code:
Option "TwinView" "yes"
Option "SecondMonitorHorizSync"     "30-50"
Option "SecondMonitorVertRefresh"   "60"
Option "MetaModes" "1024x768, 1024x768"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "CRT, TV"
Option "TwinViewOrientation" "Clone"
Under "Screen":
Code:
    Identifier     "Screen 1"
    Device         "NVIDIA GeForce 5600"
    Monitor        "My Monitor"
    DefaultDepth    24
    Option   "DPI"   "72 x 72"
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
I can see that there are a few key differences in our configurations. First I am specifying that the second display is a TV; and second, I set the initial resolution to match that of my desktop, and leave 640x480 as an option under "Screen".

I think that might be the issue you are having, as you don't actually want 640x480 to be the resolution of the TV (the TV's hardware is going to determine what it is capable of) you want the virtual resolution to be the same as the monitor, just scaled down to meet the hardware capability of the TV.

At least, that would be my guess. I know this configuration got me a 1024x768 display scaled to 640x480 on my TV, but maybe each card behaves a little differently.
 
Old 04-07-2007, 01:42 AM   #3
mchalls
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

thanks for your reply. As far as I understood from the NVidia manual, your "Device" section should be enough to have a proper cloned image on the TV, since you have the same desktop sizes for both CRT and TV.

It seems (but this is a guess, since I am quite newbie for this) is that your "Screen" section does not have any relevance regarding the cloning. Unfortunately, I cannot use the same resolution on TV as on the CRT as I mentioned before.

However, I think I will try to setup a second X screen and a second "monitor" as TV, maybe that helps (hope dies last :

Endre
 
Old 04-09-2007, 02:09 AM   #4
mchalls
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Solved

Hi,

maybe others are interested in the solution as well.

It IS possible to clone the desktop with NVidia without having 2 X screens.

This works for me under the "Devices" section (nothing else needed):

Option "TwinView"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1024x768@1024x768, 1024x768@1024x768"

All options are mandatory and it just works fine.
Regards,
Endre
 
  


Reply

Tags
nvidia drivers, twinview, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVI out from nVidia GeForce2 MX400 Utah Linux - Hardware 1 03-28-2005 05:27 PM
DVI LCD with nVidia GeForce2 MX400 video card? Utah Fedora 0 03-22-2005 11:02 PM
Cannot get GeForce2 MX400 to use 24/32bit depths db391 Linux - Hardware 8 09-09-2004 01:55 PM
XFree86 problem with GeForce2 GTS solrules Mandriva 12 02-22-2004 10:22 PM
ASUS GeForce2 MX/MX400 Causes Bridge 17" Monitor to turn off when booting GUI Mattee Linux - Newbie 1 02-17-2004 04:51 AM


All times are GMT -5. The time now is 11:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration