Xinerama with 3d effects using nvidia (no xgl)

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help

Xinerama with 3d effects using nvidia (no xgl)

Postby theslut on Mon Feb 26, 2007 6:13 pm

Does anyone know if the nvidia driver supports dual desktop mode for 3d effects natively?

I can get the effects working just fine in single monitor mode but when i duplicate my existing config that works with XGL I don't get anything on the 2nd monitor.

I really don't want to use XGL if i can help it, it always seems to bugger up somewhere down the line.
theslut
Level 1
Level 1
 
Posts: 13
Joined: Tue Nov 28, 2006 1:32 pm

Linux Mint is funded by ads and donations.
 

Postby metapy on Tue Feb 27, 2007 4:01 am

Yes, the Nividia driver works fine for dual screen 3d effects, I setup Beryl and it worked flawlessly across both monitors.

You will need to enable "Twinview" in your xorg.conf file

Here is the tutorial I used to setup Twinview:
http://www.ubuntuforums.org/showthread.php?p=1773584
metapy
Level 1
Level 1
 
Posts: 27
Joined: Fri Feb 23, 2007 9:01 pm

Postby theslut on Tue Feb 27, 2007 4:24 am

Thanks, that has worked :lol: much nicer way to set up than Xinerama.

I have another problem though. Since tinkering with the xorg.conf file if I run Beryl-manager I get no 3d effects. If i run it from the terminal using sudo the 3d effects go on but they are not working 100%.

Before i fiddled with anything in xorg.conf it was working flawlessly when running beryl-manager. any ideas?

Code: Select all
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Dec 15 10:12:14 PST 2006

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Screen 0" 0 0

    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"

EndSection

Section "Files"

   # path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
    Load           "dbe"
    Load           "dri"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "se"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Acer 0"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA 0"
    Driver         "nvidia"
    Option  "XAANoOffscreenPixmaps"

Option "TwinView" "True"
Option "TwinViewOrientation" "RightOf"   
Option "UseEdidFreqs" "True"
Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
Option "UseDisplayDevice" "CRT" #replace 'string' with either 'DFP' (Digital flat panel connected via DVI port), 'CRT' (any monitor that is connected via VGA ports), or 'TV'

EndSection



Section "Screen"
    Identifier     "Screen 0"
    Device         "NVIDIA 0"
    Monitor        "Acer 0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "DisableGLXRootClipping" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection




theslut
Level 1
Level 1
 
Posts: 13
Joined: Tue Nov 28, 2006 1:32 pm

Postby metapy on Tue Feb 27, 2007 6:41 am

To be perfectly honest I "cheated" when it came to my beryl install. I let those who walked before me pave the path and used an automated install script.

Here is the guide I used, as long as you have a recent Nvidia card and can use the most recent driver, which I am assuming you can, the guide will work fine. The only issue I ran into was that the Nvidia drivers did not load after I rebooted. I was left with no X server (the desktop you are used to seeing) it was easily fixed by the envy script. When I rebooted I was presented with the x server error messages. I viewed/closed those and was left with a command prompt login. Use your normal Mint login and then type the following:
sudo envy

Here is the site for the envy script if you want a little background on what it does:
http://www.albertomilone.com/nvidia_scripts1.html

This will reload the Nvidia drivers and you should have a working Beryl install with no more work that a little cutting and pasting to get the script onto your PC. Other than the hassle of letting the beryl script download and install the Nvidia driver and then having envy do the same 2 minutes later to fix the driver issues it was by far the easiest beryl install I have had to date.

Good luck!

http://wiki.beryl-project.org/wiki/Inst ... ith_nVidia

P.S. If this doesn't work or you want a different guide you may want to peruse the guides here, they are quite comprehensive.
http://wiki.beryl-project.org/wiki/Inst ... _on_Ubuntu
metapy
Level 1
Level 1
 
Posts: 27
Joined: Fri Feb 23, 2007 9:01 pm

Postby theslut on Tue Feb 27, 2007 7:12 am

cheers, will take a look.

everything is running fine as long as i run beryl-manager as root but i can't get that to autostart.

i do have some problems with the window contents being completely black if there is a lot of windows on the desktop too.

Thanks again.
theslut
Level 1
Level 1
 
Posts: 13
Joined: Tue Nov 28, 2006 1:32 pm


Return to Other topics

Who is online

Users browsing this forum: No registered users and 4 guests