Skip to main content

Dual Monitors Breaks 3D Desktop Effects (Compiz)

When I left home last night, I had full functional working 3D desktop effects. Once I added my two 1600x1200 monitors this morning and resized my virtual desktop size past the breaking limit, that all went bye-bye. :( I vaguely remember reading that increasing the desktop size on my video card will automatically disable this wonderful feature. Surprise. It did.

Well, at least with the old video driver, it's still smoother than the newer ones. Bummer though. I was really liking all the extra "new OS" bells and whistles. Maybe I can find a work-around someday, but I highly doubt it.

EDIT:
Here's the URL that discusses the root of the problem (I think it still applies to 8.10, but I'm not certain just yet... will look further):
http://ubuntuforums.org/showthread.php?t=580891

And some more specific to the Dell Latitude D430:
http://www.winchen.de/PHPWIKI/doku.php/public/delld430

Workaround:
Switch xorg.conf on bootup depending on whether or not external monitors are attached.

I don't use Compiz or most of Ubuntu when I'm at work anyway, so why worry about it? However, when I'm just using the laptop, perhaps just running a virtual desktop of default size is fine? That should allow compiz and other 3D stuff to run splendidly.

Getting started:
Install "xresprobe"
Create two xorg.conf files; one with the 3200x1200 virtual desktop, one with the default (2048x2048)
Create shell script that runs during startup to use one or the other xorg files.
Create a symbolic link to run the shell script just before x11 runs.

I got the basic idea from here:
http://sernaonubuntu.wikidot.com/multiple-monitors

Also, a great site about configuring XRandR and XORG to be happier together:
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2

Results of Workaround:
It worked! I don't have Compiz running when I'm using my dual monitor setup, but I do have it when I'm just using the laptop by itself. I didn't end up using all the fancy stuff in the above post. My xorg.conf files are pretty simple (subsitute the virtual size in each for your preferred sizes):

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Virtual 3200 1200
EndSubSection
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Comments

Popular posts from this blog

Black Cursors on Win7/2008 R2 Using rdesktop for Ubuntu 10.04

I recently setup a Win 2008 R2 VM and proceeded to remote connect to it from Ubuntu 10.04. Everything worked perfectly except the mouse cursors were black (and some were corrupt). Solution? Use a newer version of rdesktop that doesn't ship with Ubuntu. There is a handy PPA that can be added using the following command: sudo apt-add-repository ppa:ricolai/ppa sudo apt-get update sudo apt-get install rdesktop [UPDATE] It appears ricolai may have removed the package from his PPA. To remedy the situation, I've uploaded the working binaries for x64. Sorry, I don't have the x86 any longer. More information on the bug can be found here: https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/385974?comments=all

Remote Connection: Free NX vs. VNC

Apparently, there's some debate in the Linux world about remote connections. I've been using VNC for 8 years or so now. It's reliable, but definitely slow. I've found that NoMachine's NX Server (free edition) suits my needs best. It works even better than Windows' Remote Desktop, and of course much better than VNC (which really stinks). In my case, it opens a new session, when I connect to the server, but I think it can be configured to connect to an existing session as well. You might want to give it a try: http://www.nomachine.com/products.php I'll give it a try and get back to you all... UPDATE: I've installed the server on both my laptop and my desktop Ubuntu machines following the instructions found at https://help.ubuntu.com/community/FreeNX . The results are astounding! While not identical in terms of functionality to VNC, I personally prefer the results. It's actually closer to an RDP session. I haven't tested the client to the ful...

Mounting VMware VMDK Disks in Ubuntu (Linux)

Took me a while to find the info on this, but it's fairly simple once you piece together all the information out there. First off, I'm not converting this to VirtualBox. I'm simply accessing the HD as though it were mounted on my local file system (Ubuntu). The VMDK image is for a WinXP virtual machine. First off, verify you have vmware-mount on your system. Drop to terminal, type "vmware-mount". You should get info regarding usage. If not, you need to install VMware Server or VMware Workstation (it's bundled with them). When prompted during the install, say 'Yes' to installing the additional tools packages. Not sure which one it's in, but it's there. Sorry, perhaps someone else can clarify this point. Next, navigate to the location of your VMDK and type "vmware-mount -p .vmdk". This will show you a list of mount points within the file (first column). Create /mnt/ using "mkdir /mnt/ " Next, type "sudo vmware-m...