Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253246 - compiz-manager does not find whitelisted driver on amd64 due to wrong path
Summary: compiz-manager does not find whitelisted driver on amd64 due to wrong path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-12-31 13:57 UTC by Tobias Heinlein (RETIRED)
Modified: 2008-12-31 16:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Heinlein (RETIRED) gentoo-dev 2008-12-31 13:57:57 UTC
(x11-wm/compiz-0.7.8-r1)

/usr/bin/compiz-manger's running_under_whitelisted_driver():

[..]
    for DRV in ${WHITELIST}; do
        if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &&
           ! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
        then
            return 0
        fi
    done
    verbose "No whitelisted driver found\n"
    return 1
[..]

XORG_DRIVER_PATH is set to "/usr/lib/xorg/modules/drivers/+". However, my $LOG file contains the string "/usr/lib64/xorg/modules/drivers//nvidia_drv.so". This is actually supposed to match, but doesn't due to the "64". I edited the file and inserted "(64)?" and compiz starts successfully.

I guess I just missed something; compiz-manager has been used by a lot of people on amd64 and it would be weird if I was the first one who encountered that error.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2008-12-31 16:50:03 UTC
Thanks Tobias.
Should be fixed now.