[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] Which Updates/Yast/Sysconfig script creates Link?
From:       "David C. Rankin" <drankinatty () suddenlinkmail ! com>
Date:       2007-10-31 23:55:30
Message-ID: 472915F2.3060204 () suddenlinkmail ! com
[Download RAW message or body]

Andreas Jaeger wrote:
> "David C. Rankin" <drankinatty@suddenlinkmail.com> writes:
> 
>> Folks,
>>
>> 	Everytime some suse update or yast script runs it recreates the link:
>>
>> /usr/lib/libIndirectGL.so.1 -> libIndirectGL.so.1.2
> 
> This is the proper thing to do and is done by ldconfig.
> 
>> 	How do I find out what is doing it to tell it to stop. It breaks compiz
>> on my laptop every time it does it.
> 
> Why does it break?  In that case you have another problem,
> 
> Andreas

Andreas

	You are right!  But nobody can offer any clue as to what it is. I have
conducted a detailed
series of 3 tests in different configurations to hopefully shed some
light on the situation. Why fusion-icon should work, but compiz
--replace ccp & should fail does not make sense, but that is from my
limited understanding about compiz's foundations. Here are the test
scenarios and the results:

OS: openSuSE 10.3, all patches and updates
System: Toshiba P35-S629; Pentium 4 548 (3.33GHz, 1MB Cache) Processor;
1 Gigabyte of RAM; ATI Mobility Radeon 9700; 17 in. WXGA 1440x900

Compiz Components Installed:

19:38 Rankin-P35a~> rpm -qa | grep compiz
compiz-emerald-themes-0.6.0-1.1
python-compizconfig-0.6.0-1.3
compiz-fusion-plugins-main-0.6.0-2.1
compiz-fusion-plugins-unsupported-0.6.0-1.3
compiz-0.6.2-2.1
compiz-manager-0.0.1_git071019-13.1
compiz-kde-0.6.2-2.1
compiz-emerald-0.5.2_git070825-1.4
compizconfig-settings-manager-0.6.0-1.4
libcompizconfig-0.6.0-1.3
compiz-fusion-plugins-extra-0.6.0-1.3
19:58 Rankin-P35a~> rpm -q fusion-icon
fusion-icon-0.0.1_071020-2.1

Working Configuration:

The only way compiz will start is by removing
the/usr/lib/libIndirectGL.so.1 link leaving only libIndirectGL.so.1.2 in
/usr/lib and then using fusion-icon to start compiz (period)

Test 1:

Configuration:

fusion-icon - off 'quit' used to exit program.

[root Rankin-P35a/home/david] # ll /usr/lib/libInd*
lrwxrwxrwx 1 root root     20 2007-10-29 17:42
/usr/lib/libIndirectGL.so.1 -> libIndirectGL.so.1.2
-rwxr-xr-x 1 root root 440676 2007-09-21 20:34 /usr/lib/libIndirectGL.so.1.2
[root Rankin-P35a/home/david] # exit
exit

Result:

19:32 Rankin-P35a~> compiz --replace ccp &
[1] 8995
19:32 Rankin-P35a~> compiz: Trying '/usr/$LIB/libIndirectGL.so.1'
compiz (core) - Fatal: No GLXFBConfig for default depth, this isn't
going to work.
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

[1]+  Exit 1                  compiz --replace ccp

** All window decorations disappear and keyboard input is disabled after
executing compiz --replace ccp &. Mouse input continues to work.
Selecting kmenu -> system -> other programs -> fusion-icon required to
restore window decoration and keyboard input. On keyboard input
restoratioin, [ctrl+c] in konsole result in the " [1]+  Exit 1
        compiz --replace ccp". On start fusion-icon has compiz selected
as the dtm, but compiz is not started. Window decoration is absent and
keyboard input is disabled. Selecting kwin from the fusion-icon context
window restores windown decoration and keyboard input

<brief kernel switch and revert>

Configuration:

[root Rankin-P35a/home/david/linux/ati-compiz] # mv
/usr/lib/libIndirectGL.so.1 /usr/lib/libIndirectGL.so.1.sav
[root Rankin-P35a/home/david/linux/ati-compiz] # l /usr/lib/libInd*
-rwxr-xr-x 1 root root 440676 2007-09-21 20:34
/usr/lib/libIndirectGL.so.1.2*
lrwxrwxrwx 1 root root     20 2007-10-29 17:42
/usr/lib/libIndirectGL.so.1.sav -> libIndirectGL.so.1.2*

Test 2:

01:16 Rankin-P35a~> compiz --replace ccp &
[1] 4116
01:18 Rankin-P35a~> compiz: Trying '/usr/$LIB/libIndirectGL.so.1'
ERROR: ld.so: object '/usr/$LIB/libIndirectGL.so.1' from LD_PRELOAD
cannot be preloaded: ignored.

[1]+  Segmentation fault      compiz --replace ccp

Test3:

fusion-icon -- loaded
select 'compiz'  Window Manager
[Success] All is well again.


-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic