Xfce mintDesktop incorrectly reports that the vesa driver is being used.

Bug #793718 reported by Mike T
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
Won't Fix
Undecided
Unassigned

Bug Description

Doing the "compiz-check" in Xfce mintDesktop yeilds the following:

------
Gathering information about your system...

 Distribution: Linux Mint 1
http://www.linuxmint.com/rel_xfce.php
 Desktop environment: Xfce
 Graphics chip: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
 Driver in use: vesa
 Rendering method: AIGLX

Checking if it's possible to run Compiz on your system... [SKIP]

 Checking for hardware/setup problems... [SKIP]

At least one check had to be skipped:
 Error: vesa driver in use

Would you like to know more? (Y/n)
 The vesa driver is not capable of running Compiz, you need to install
 the proper driver for your graphics card.

Check if there's an alternate (proprietary) driver available? (Y/n)
-------

However, my system by all signs seems to be running the correct driver:
 $ glxinfo|grep renderer
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile

/var/log/Xorg.0.log also shows both vesa being unloaded and intel configuring screens.

my video card from lspci:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)

and, sure enough, I'm able to run compiz manually (compiz --replace from terminal) with no problems (the enable/disable button for Compiz Fusion in Xfce mintDesktop reflects that compiz is running, but pushing the button seems to have no effect either way)

System info:
Xfce 64bit
$ uname -a
Linux voytek 2.6.38-2-amd64 #1 SMP Sun May 8 13:51:57 UTC 2011 x86_64 GNU/Linux
Toshiba Portege R700

Revision history for this message
Mike T (trustdarkness) wrote :

Correction: the Compiz Fusion enable/disable button in Xfce mintDesktop does appear to function as it should.

Revision history for this message
Mike T (trustdarkness) wrote :

I believe I figured out where the problem is, though I'm guessing this change probably could be made upstream somewhere. In the compiz-check bash script (/usr/lib/linuxmint/xfcemintDesktop/desktopeffects/compiz-check) on lines 241-246, it greps through the Xorg log to see where drivers are loaded and unloaded:

  for i in $KNOWN_DRIVERS ; do
    if grep Loading $XORG_LOG | grep -q "${i}_drv\.so" &&
       ! grep Unloading $XORG_LOG | grep -q "${i}_drv\.so" ; then
      DRV=$i
    fi
  done

Only when you look through Xorg.0.log, you'll see that while the filename of the driver is used during the loading process, only the name of the driver is used during the unloading process. An example from my Xorg log:

$ grep Unloading /var/log/Xorg.0.log
[ 33.143] (II) Unloading vesa
[ 33.143] (II) Unloading fbdev

by changing line 243 to
! grep Unloading $XORG_LOG | grep -q "${i}" ; then

the script detects my driver properly and finishes the compiz compitibility check. I've attached a diff.

Changed in linuxmint:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.