kanotix.com

Hardware - nvidia twinview

zonker666 - 26.06.2006, 19:33 Uhr
Titel: nvidia twinview
Hi, im trying to get my gforce 5900 card to procuce twinview, running easter rc4. i read about this page http://www.sorgonet.com/linux/nv-online/
but im not sure if i can use it, and if, what to write in the different selections.
i tried konfiguring the twinview in the kde settings menu but that just left me with a textbased os when something (x?) restarted. that was scary! Im only still on linux cause in panic i hit the arrowup button and up came install-nvidia-debian, so i did a reinstall and luckily the old config file was overwritten (i guess). Phew... Anyone who has any idea as how to approach the problem?
xweber - 26.06.2006, 20:32 Uhr
Titel: RE: nvidia twinview
you may use "knxcc" on that scary os screen Winken

or via kanotix control panel in kde

Alex
h2 - 26.06.2006, 20:40 Uhr
Titel: RE: nvidia twinview
I tried knxcc to create a working twinview and it failed, luckily I was expecting it to fail, and had created a backup xorg.

The site you refered to works fine, but you do need to understand what the settings refer to. They have a little explanation link next to each one though.

To make it run, you need to do the following:

create a backup of /etc/X11/xorg.conf

Although your thing might look a little different, this is the basic idea:

Code:
#   BusID       "PCI:1:0:0"
   Option "NvAGP" "3"
   Option "DigitalVibrance" "0"
   Option "TransparentIndex" "0"
   Option "CursorShadowAlpha" "64"
   Option "CursorShadowXOffse" "4"
   Option "CursorShadowYOffset" "2"
   Option "Twinview" "TRUE"
   Option "TwinViewOrientation" "RightOf"
   Option "SecondMonitorHorizSync" "30-81"
   Option "SecondMonitorVertRefresh" "56-75"
   Option "MetaModes" "1280x1024 , 1280x1024"
   Option "ConnectedMonitor" "CRT , CRT"


You could use this one, but you have to check your monitor specs to get the horizsync and vert sync numbers, and the desired resolution. Also, if it's a true dvi output and input, it needs to be DFP I think, not CRT, so if monitor one is CRT, and two is DVI, then it would say: CRT, DFP

You scroll down the xorg.conf file until you get to Section "Device", then you cut and paste your [modified] version of what I put above, starting at the commented out # BusID "PCI:1:0:0" line

I think that's how it will work, anyway.

If x fails to start, you just use your backup xorg, save the broken xorg.conf as something else, then restore your backup. If all this is too much for you, then you'll have to read up a bit on the various things you need to do to get twinview running, such as creating backup copies of files, working in console mode, and a few other things.

By all means try the knxcc first, but MAKE SURE TO CREATE A BACKUP copy of xorg.conf first. Don't ever mess with xorg.conf without creating a backup that you are sure exists

create a backup like this, as root: cp /etc/X11/xorg.conf /etc/X11/xorg.conf-bu

After x starts successfully, if it does, then you can go into kde control center and set the more precise dual screen stuff there:

KDE -> Control Center -> peripherals -> display -> multiple monitors tab -> select desired display options. You must restart x for these to take affect, and you can't use these until you have correctly configured and updated xorg.conf and restrarted x successfully.
zonker666 - 27.06.2006, 14:11 Uhr
Titel: RE: nvidia twinview
Thanks for the replys. I tried configuring the twinview with knxcc but this didn't work, it put in a lot of metamodes in the xorg.conf file;

# BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
Option "TwinView" "true"
Option "TwinViewOrientation" "Clone"
Option "MetaModes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
Option "SecondMonitorHorizSync" "28.0-96.0"
Option "SecondMonitorVertRefresh" "50.0-75.0"
Option "MetaModes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
Option "MetaModes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
Option "MetaModes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
Option "MetaModes" "1024x768,1024x768;NULL,1024x768"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
# Option "Composite" "1"
# Option "RENDER" "1"
EndSection

-and x wouldnt restart Traurig. Good news is i found the midnight commander so from now on im not utterly lost in textmode kanotix Smilie
I think im ready to give http://www.sorgonet.com/linux/nv-online/ a try, but i need to understand what these metamodes are about, i thought that only the resolution i wanted had to be there, so in "metamodes screen 1" (my crt) id write 1280x1024, and in screen2 i just put in 800x600 but knxcc writes lots of them in the xorg.conf. Can anyone explain please?
Also i noted that knxcc didn't place these options under "section device" but under section "screen". Strange.
This is my "device" section:
Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "nvidia"
Option "RenderAccel" "1"
Option "AllowGLXWithComposite" "1"
Option "RandRRotation" "1"
Option "IgnoreDisplayDevices" "TV"
Option "Coolbits" "1"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"

just wondering, as im trying to get a second signal to my tv, shouldn't that line about ignoring displaydevices of tv-type be moved?
stryder - 27.06.2006, 15:07 Uhr
Titel:
Zonker, this is my twinview config for device. You should adapt for your use of course but this works for me - tvout as clone of my screen.

Code:
Section "Device"
    Identifier "TVClone"
    VendorName "nvidia"
    Driver "nvidia"
    BusID  "PCI:1:0:0"
    Option "DPMS"
    Option "TwinView"
    Option "IgnoreEDID"               "1"
    Option "UseEdidFreqs"             "0"
    Option "HWCursor"                 "0"
    Option "NvAGP"                    "2"
    Option "SecondMonitorHorizSync"   "30-50"
    Option "SecondMonitorVertRefresh" "60"
    Option "TwinViewOrientation"      "Clone"
    Option "MetaModes"                "1024x768,1024x768"
    Option "TVOutFormat"         "COMPOSITE"
    Option "TVStandard"               "PAL-G"
    Option "ConnectedMonitor"         "crt,TV"
EndSection

zonker666 - 27.06.2006, 15:48 Uhr
Titel:
thanks, ill have a look at them, i just tried these settings
# BusID "PCI:1:0:0"
Driver "nvidia"
Option "NvAGP" "3"
Option "DigitalVibrance" "0"
Option "TransparentIndex" "0"
Option "CursorShadowAlpha" "64"
Option "CursorShadowXOffse" "4"
Option "CursorShadowYOffset" "2"
Option "Twinview" "TRUE"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "28-96"
Option "SecondMonitorVertRefresh" "50-75"
Option "MetaModes" "1280x1024 , 800x600"
Option "ConnectedMonitor" "CRT , TV"

well that worked, -sort of. The tvscreen shows only a tiny bit of the desktop (about 1/4), and for some reason its suddenly black and white only...

i find it laughable that the tv will show fullscreen color picture during bios and loading of the os, but when x starts and the driver gets loaded everything is f#ked. Ill just have to play around with the setting, but is there a place where i can find all the possible options and their supposed effect? Been looking at nvidia but didnt find anything
stryder - 27.06.2006, 16:53 Uhr
Titel:
Nvidia has a readme at their site, where you find their linux drivers. Tells all.
h2 - 27.06.2006, 18:47 Uhr
Titel:
I wasn't sure about the knxcc stuff, but I think from the above posts, which mirrored my experience, it might not be a bad idea to remove that feature for now. The only thing that is required to add dual monitor support is the few lines in the section device part.

Most of the options on the sorgonet site are fairly self explanitory, and most of them don't need to be changed from the defaults, except for things like tv choice, resolution, vert/horiz freq etc.

Despite the large number of choices, when you produce the final output it's only a few lines usually, maybe 8 or 10. Make sure you have the specs for the tv though from the manufactorer or the manual, otherwise it won't work.

The reason it displays correctly before the driver and xorg load is that it's using a minimum baseline configuration, same reason windows shows something before you install a graphics driver, just doesn't show much.
zonker666 - 27.06.2006, 20:25 Uhr
Titel:
kool, that was exactly the readme i was looking for, thanks for the help
zonker666 - 28.06.2006, 00:02 Uhr
Titel:
Hey-ho, it works like a charm now Smilie. Thanks for the help.

This is what i wrote to the xorg.conf to make it work,
section "device"
Driver "nvidia"
Option "NvAGP" "3"
Option "DigitalVibrance" "0"
Option "TransparentIndex" "0"
Option "CursorShadowAlpha" "64"
Option "CursorShadowXOffse" "4"
Option "CursorShadowYOffset" "2"
Option "Twinview" "TRUE"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1024x768;1024x768;1280x1024,NULL"
Option "ConnectedMonitor" "CRT , TV"
Option "TVOutFormat" "COMPOSITE"

section "screen"
Option "TVStandard" "PAL-B"
stryder - 28.06.2006, 02:09 Uhr
Titel:
Yes, I suspected that the b/w video is because you had not specified the tvstandard before. Although strangely enough you now put that under "screen". Still, it works! Smilie And the only other inclusion is the tvoutformat.

Congrats... Sehr glücklich
schnorrer - 28.06.2006, 04:35 Uhr
Titel:
to specify the VideoSTD is only neded when a: you are using SVHS or b: copmposite connection to the TV and c: your TVset isn't able to find the correct sync-std setting at AV-Input.
zonker666 - 28.06.2006, 10:39 Uhr
Titel:
This is great, one of the major issues of changing to linux was that my girlfriend (and I) likes to see xvid movies on the tv. This was critical cs the machine is in the living room and i fear that if the functionality of it will be reduced in any way, my machine will get exiled to a distant room in the flat. For some reason she doesnt see the natural beauty and raw power emitting from a maxitower Smilie. So thanks for the patience and help

I do use SVIDEO for the tv-signal, but setting the tvoutformat as SVIDEO makes the picture really bad (?) so i just changed it back after trying. According to nvidias manual tvstandard option has to be under devices"screen". http://download.nvidia.com/XFree86/Linu ... dix-h.html

One thing though that i cannot fix is that with the above setting i will have a virtual desktop the size of 1280x1024 and use panning whenever im in the 1024x768 mode (this is the higest mode the tv will produce a signal at, quite good as windoze never made it go higher than 800x600),
that kind of stinks if you wanna se a movie and only 3/4 of the screen is viewable, but i can only get rid of the panning by making identical resolutions (2 x 1024x768),
I read the whole manual (most anyway) but there doesnt seem to be a way to fix this. I tried setting the panning area to 1024x768 for the tv in order to force it not to pan, but it didn't work (like this: metamode 1280x1024,1024x768 @1024x768). Any ideas, there really should be a NoPanning option
stryder - 28.06.2006, 11:19 Uhr
Titel:
I'm not sure if I understand your problem... but how about not cloning but use RightOf or LeftOf options? That should allow you to set different resolutions for the different screens. Just a thought.
schnorrer - 28.06.2006, 11:55 Uhr
Titel:
@zonker666: Zhe Problem with TV is exactly the resolution and colour-system NTSC/PAL/SECAM. and ocures only with CRT.

for Pal the RES: 768x625(576) ntsc RES: 708x525 and secam RES: 720x576 more couldn't be done with a CRT.

With a Flat(LCD) look at the manual for your TV.
Newer LCD-TV with VGA input, the panel tell what res. it has. Mybe 800x600 1024x768 for 3/4 or 1080x800 1280x900(960) widescreen 9/16(15)

with twinview rightoff can be used for TV with overlay and different res on screen0 and screen1.
Screen0 is Main Window progamms.. while screen1 is the output for TV(FILM/debug).

leftoff the oter way. Left TV aund right programms

scan pan only while CLONE-Mode and res is VIRTUAL 2048x1600
zonker666 - 28.06.2006, 20:21 Uhr
Titel:
stryder yes that would make me able to use different screen resolutions, i used the config in second last post i wrote, just changed the "TwinViewOrientation" to "RightOf" and changed the modes to 1280x1024,1024x768.
Now the problem is, that when im in 1280x1024(crt),1024x768(tv) mode (RightOf), -the tv produces a virtual screen the same size of the crt screen namely 1280x1024 and thus panning is activated as the tv can only show 1024x768 at any given time. Furthermore i cant just choose to view a movie full screen under "RightOf" cs that will maximise the movie acros both screens and trying to fit the vlc player or kaffeines movie-showing-area (sort of emulate a full-screen) onto the tv is just a hassle
But these are minor hassles and im quite happy with the solution so far: 1024x768 on both screens.
Im not quite sure i understand what you tell me schnorrer
stryder - 29.06.2006, 05:20 Uhr
Titel:
Ah, I see what you mean. Seems like however you define things, the driver continues to clone the main screen. There is some setting where you define screen 0 and screen 1 that I have seen but that was a long time ago. Just wondered if that was to solve your problem. I have used rightof where I move the movie player to the tv screen and then full-screen it there and it only fills the tv and my computer screen is left free for other use. Which was why I thought that would work for you. Don't think I can help you further.

BTW, I hope that this is what you changed:

Option "TwinViewOrientation" "RightOf"

rather than what you said above...
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007