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

Long Time, No Write

It's been a loooong time since I last wrote. The past several years have seen a huge shift in my career and technical objectives. I've gone from working almost exclusively on code to selling software as a technical sales engineer to now managing a team of technical gurus doing sales worldwide. As a result, my time for tinkering has slowed considerably. I do want to update everyone by saying that I am now back to Linux after many years stuck in a Windows world for work. My current employer is focused on open source technology and as such encourages us to use Linux and other open source tools in any way we can. I am now the proud owner of a Dell Laptop that has dual-boot setup for Windows and Ubuntu 18.04. I'll try to write up a post here in the next bit about my experiences so far, but my quick and dirty summary is that you should definitely give it a shot. There are a few hiccups to overcome, but, for the most part, it's been really nice transitioning back. Until ...