Bug 397961

Summary: Driver detection fails due to wrong path parsing
Product: [Fedora] Fedora Reporter: Ferry Huberts <mailings>
Component: compiz-managerAssignee: Sebastian Vahl <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: tux.on.fire
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.6.0-4.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-27 01:03:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ferry Huberts 2007-11-24 18:56:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.9) Gecko/20071105 Fedora/2.0.0.9-1.fc7 Firefox/2.0.0.9

Description of problem:
Driver detection fails due to wrong path parsing

Version-Release number of selected component (if applicable):
0.6.0-3

How reproducible:
Always


Steps to Reproduce:
1. from a terminal start compiz-manager



Actual Results:
it reports that a whitelisted driver could not be detected

Expected Results:
it should have detected the driver (in my case nvidia)

Additional info:
I found this by placing an extra print in the script during driver detection. It seems that the XORG_DRIVER_PATH has multiple slashes between 'modules' and 'drivers'.

Solution:
replace
  XORG_DRIVER_PATH="/usr/$ARCH_LIB/xorg/modules/drivers/"
with
  XORG_DRIVER_PATH="/+usr/+$ARCH_LIB/+xorg/+modules/+drivers/+"

Comment 1 Sebastian Vahl 2007-11-25 19:28:40 UTC
Mhh. I've thought the fixed Path was only in xorg-x11-server-Xorg for rawhide.
However, this could easily be fixed. I will create an update tomorrow. In the
meantime you could try the rawhide version which already includes the fix:
http://koji.fedoraproject.org/koji/buildinfo?buildID=24472

Comment 2 Fedora Update System 2007-11-29 01:32:50 UTC
compiz-manager-0.6.0-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update compiz-manager'

Comment 3 Sebastian Vahl 2007-12-02 14:21:19 UTC
Does this update fix your problem?

Comment 4 Ferry Huberts 2007-12-02 14:53:27 UTC
will try later next week, no time now, sorry. will report back

Comment 5 Eugene M. 2007-12-03 00:45:11 UTC
i had a similar problem with a new fedora 8 installation(installed on
02.12.2007).  Starting compiz-manager failed saying "No whitelisted driver found".

to solve the problem, i had to change XORG_DRIVE_PATH like this:
XORG_DRIVER_PATH="/usr/$ARCH_LIB/xorg/modules//drivers/+"
to
XORG_DRIVER_PATH="/usr/$ARCH_LIB/xorg/modules/drivers/+"

the doble-slash before "drivers" was the problem. No desktop-effects work fine

Comment 6 Fedora Update System 2007-12-23 22:49:47 UTC
compiz-manager-0.6.0-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update compiz-manager'

Comment 7 Fedora Update System 2007-12-26 23:50:51 UTC
compiz-manager-0.6.0-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update compiz-manager'

Comment 8 Fedora Update System 2007-12-27 01:03:48 UTC
compiz-manager-0.6.0-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.