Nvidia Multihead + X

Keith Irwin keith at keithirwin.com
Tue Nov 2 09:07:16 UTC 2004


Matt Patterson wrote:
> I noticed in your XF86Config-4 that you are using the nvidia driver, not 
> the nv driver. I have had to toss my ubuntu install completely because 
> using the nvidia driver with my system (nvidia-glx driver) causes 
> regular freezes. Is there a ways to enable the multiple displays and 
> have them driven using the nv driver which seems to work wonderfully. I 
> would really like the second display to be the tv, this might complicate 
> things somewhat.

I couldn't get the nv to do multihead either.  BTW, when I had probs 
with the nvidia driver and freezes, it was always when one of the GLX 
screensavers was activated.  (This was a pre-release fedora core 2 
problem, if I remember correctly.)

If that's the case for you, you might just settle for a single, non-GLX 
screen saver (rather than, say, random) to keep from locking up, then 
report your issues to:

	https://bugzilla.ubuntu.com

and maybe let one of the kernel guys ask you for tests for your 
particular hardware situation.

Good luck!

Keith

> 
> Thanks,
> Matt
> 
> 
> 
> Fabio Massimo Di Nitto wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Patrick wrote:
>> | Hi,
>> |
>> | any easy way to do this ?
>> |
>> | I've looked through the howto's but they dont seem to be very
>> | informative when it comes to nvidia multihead cards. Has anyone here
>> | done this ? Or would anyone here be able to give me some pointers ?
>> |
>> | P
>> |
>>
>> This is the configuration i use for NVIDIA with 2 heads. You will have
>> to edit it to fit your system/monitors, but it's a good starting point.
>>
>> I also recommend to check "man nv" and man "XF86config-4" to understand
>> the sintax.
>>
>> NOTE: there is a "fake mouse" entry in my config that you probably want
>> to remove. I use it to balance my mouse speed... normal people would set
>> it in the gnome preference, but is not as much as fun :P
>>
>> Fabio
>>
>> - --
>> <user> fajita: step one
>> <fajita> Whatever the problem, step one is always to look in the error 
>> log.
>> <user> fajita: step two
>> <fajita> When in danger or in doubt, step two is to scream and shout.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.4 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>> iQIVAwUBQXvQFVA6oBJjVJ+OAQJb4xAAvRg/K0tauyKksLu/QR7hB94AJQYy9URA
>> uvuKmQKlJk9m1jbM8pNzNF9rwFyCbA9VeyZ1RAW1LLOeZ4v7xdaEvmtyt2OP0KZ+
>> XgSTj1b8WyyGyQicZREZIHJb9ya1NYoZR+Lt+yyH/qqfuKCJArhL49SLrDn5PncY
>> A9auwycH0giDTOR+DgcPXeu+fytYilJ2JKw7gKrfNipVhzwEBs4KjgxqefxbqhCO
>> EM+hnBP3z3CMgNUGvbGABujtPYh/HvlkbJVE0fHf2iv4YA8vVZU8UKvTAhEo2wmQ
>> YjmnRseLTqHkuWE9bKmrnszG5GLqiwe/LkTakdQYIaptGXPrLB2GlR7vuB+27i+f
>> uadSSuPHEm6t6kYKLNKHhiRF+XcVJJKZJBKow6TL8xeQA0KldvS89opucL4jalaO
>> jN1xRGcJAQeboJ6fwzxXoC/LZdtDRPbUB7Kayh7LjrpQZGsc/YT+Ytkc7HAKWfwg
>> rw7O3nNO9eeREM3hKUSK8lg0Pv7/GzGuhK1BuhMs0NzwEMWaT9T1hKGdji+wzgu7
>> dbm5HApuuTvVlA/qaaMneWWKhvcY0S1LPFalvdKLcsTHRQ8/adqFh9cZvJD3oYLv
>> 9ZcgbEbHP8rv1px0lVz8yjUm7vPuzEObjXQ2BmuTqZnOvPMi72T3ufz2SrJfGjIE
>> EZL+pJf4aTY=
>> =vIbB
>> -----END PGP SIGNATURE-----
>>
>> ------------------------------------------------------------------------
>>
>> # XF86Config-4 (XFree86 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 XF86Config-4 manual page.
>> # (Type "man XF86Config-4" at the shell prompt.)
>> #
>> # This file is automatically updated on xserver-xfree86 package 
>> upgrades *only*
>> # if it has not been modified since the last upgrade of the 
>> xserver-xfree86
>> # package.
>> #
>> # If you have edited this file but would like it to be automatically 
>> updated
>> # again, run the following commands as root:
>> #
>> #   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
>> #   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
>> #   dpkg-reconfigure xserver-xfree86
>>
>> 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/Speedo"
>>     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    "GLcore"
>>     Load    "bitmap"
>>     Load    "dbe"
>>     Load    "ddc"
>>     Load    "dri"
>>     Load    "extmod"
>>     Load    "freetype"
>>     Load    "glx"
>>     Load    "int10"
>>     Load    "record"
>>     Load    "speedo"
>>     Load    "type1"
>>     Load    "v4l"
>>     Load    "vbe"
>>     Load    "xtt"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier    "Generic Keyboard"
>>     Driver        "keyboard"
>>     Option        "CoreKeyboard"
>>     Option        "XkbRules"    "xfree86"
>>     Option        "XkbModel"    "pc105"
>>     Option        "XkbLayout"    "dk"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier    "Configured Mouse"
>>     Driver        "mouse"
>>     Option        "CorePointer"
>>     Option        "Emulate3Buttons"    "true"
>>     Option        "Device"        "/dev/input/mice"
>>     Option        "Protocol"        "ImPS/2"
>>     Option        "ZAxisMapping"        "4 5"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier    "Fake Mouse"
>>     Driver        "mouse"
>>     Option        "SendCoreEvents"    "true"
>>     Option        "Emulate3Buttons"    "true"
>>     Option        "Device"        "/dev/psaux"
>>     Option        "Protocol"        "ImPS/2"
>>     Option        "ZAxisMapping"        "4 5"
>> EndSection
>>
>> Section "Device"
>>     Identifier    "nVidia Corporation NV25 [Geforce4 Ti 4600] 0"
>>     Driver        "nvidia"
>>     BusID        "PCI:1:0:0"
>>     Screen        0
>> EndSection
>>
>> Section "Device"
>>     Identifier    "nVidia Corporation NV25 [Geforce4 Ti 4600] 1"
>>     Driver        "nvidia"
>>     BusID        "PCI:1:0:0"
>>     Screen        1
>> EndSection
>>
>> Section "Monitor"
>>     Identifier    "Fujitsu e213"
>>     HorizSync    30-107
>>     VertRefresh    50-150
>>     Option        "DPMS"
>> EndSection
>>
>> Section "Monitor"
>>     Identifier    "Sony E500"
>>     HorizSync    30-140
>>     VertRefresh    60-160
>>     Option        "DPMS"
>> EndSection
>>
>> Section "Screen"
>>     Identifier    "screen0"
>>     Device        "nVidia Corporation NV25 [Geforce4 Ti 4600] 0"
>>     Monitor        "Sony E500"
>>     DefaultDepth    24
>>     SubSection "Display"
>>         Depth        24
>>         Modes        "1600x1200"
>>     EndSubSection
>> EndSection
>>
>> Section "Screen"
>>     Identifier    "screen1"
>>     Device        "nVidia Corporation NV25 [Geforce4 Ti 4600] 1"
>>     Monitor        "Fujitsu e213"
>>     DefaultDepth    24
>>     SubSection "Display"
>>         Depth        24
>>         Modes        "1600x1200"
>>     EndSubSection
>> EndSection
>>
>> Section "ServerLayout"
>>     Identifier    "Default Layout"
>>     Screen        "screen0"
>>     Screen        "screen1" LeftOf "screen0"
>>     Option        "Xinerama" "on"
>>     InputDevice    "Generic Keyboard"
>>     InputDevice    "Configured Mouse"
>>     InputDevice    "Fake Mouse"
>> EndSection
>>
>> Section "DRI"
>>     Mode    0666
>> EndSection
>>  
>>
> 
> 





More information about the ubuntu-users mailing list