| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 30 Jul 2008, 07:40 Post subject:
cfwizard patched (compiz) |
|
I'm currently adding compiz to Muppy.
I looked at Tigerpup to see how it works.
I really like the cfmanager coming from wNOP2, that runs after xorgwizard.
For Muppy, I modified it.
Here is my patched version, it includes the ATI/Nvidia-drivers.
ftp://ks301128.kimsufi.com/Muppy0084/Alpha-test/07special/developer-patches/
Mark
------------------------------------------------------
readme.txt:
these drivers are taken from tigerpup.
I added the XORG72.tar.gz so that you can restore OpenGL, it has:
./usr
./usr/X11R7
./usr/X11R7/lib
./usr/X11R7/lib/libglut.so.3.7.1
./usr/X11R7/lib/libGLw.so
./usr/X11R7/lib/libGL.so.1
./usr/X11R7/lib/libglut.so
./usr/X11R7/lib/README-opengl.txt
./usr/X11R7/lib/libGL.so
./usr/X11R7/lib/libGLU.so
./usr/X11R7/lib/libglut.so.3
./usr/X11R7/lib/libGLU.so.1
./usr/X11R7/lib/libGLw.so.1.0.0
./usr/X11R7/lib/libGL.so.1.2
./usr/X11R7/lib/libGLw.so.1
./usr/X11R7/lib/libGLU.so.1.3.060502
./usr/X11R7/lib/xorg
./usr/X11R7/lib/xorg/modules
./usr/X11R7/lib/xorg/modules/extensions
./usr/X11R7/lib/xorg/modules/extensions/libGLcore.so
./usr/X11R7/lib/xorg/modules/extensions/libglx.so
./usr/X11R7/lib/xorg/modules/extensions/README-glcore.txt
The Ati/nvidia packages now have shorter names for easier updates.
They are no longer in /tmp, so that you can use them more than once.They are now in:
/usr/lib/graficsdrivers/
I changed the way they are packed and extracted, to reduce the need of temporary space.
I took out some files, and added them in the SFS itself, to save space:
./usr/X11R7/lib
./usr/X11R7/lib/libGLcore.so.96.43.01
./usr/X11R7/lib/libGLcore.so.100.14.19
./usr/X11R7/lib/xorg
./usr/X11R7/lib/xorg/modules
./usr/X11R7/lib/xorg/modules/dri
./usr/X11R7/lib/xorg/modules/dri/fglrx_dri.so
./usr/X11R7/lib/xorg/modules/drivers
./usr/X11R7/lib/xorg/modules/glesx.so
I modified the /usr/sbin/cfwizard correspondingly.
It also will extract the XORG72.tar.gz when it runs.
So this restores Puppys original drivers.
If the user then chooses ATI/Nvidia, those packages are extracted.
I also replaced text like "use XFCE in wNOP2" with more neutral strings (use no compiz, use standard desktop).
-----------------
On my system, xorgwizard gets wrong info and creates a corrupt xorg.conf, when fglrx_drv.so is installed.
Also if I want to use the freeRadeon-driver.
So I patched xorgwizard like this (on mine around line 312):
#autoprobe...
#MU- fglrx crashes xorgwizard! so remove it...
rm -f /tmp/fglrx_drv.so
mv /usr/X11R7/lib/xorg/modules/drivers/fglrx_drv.so /tmp/fglrx_drv.so
rm -f /usr/X11R7/lib/xorg/modules/drivers/fglrx_drv.so
#MU-end
Xorg -configure > /tmp/xorgprobe.txt 2>&1
#MU-restore fglrx
if [ -f /tmp/fglrx_drv.so ];then
mv /tmp/fglrx_drv.so /usr/X11R7/lib/xorg/modules/drivers/fglrx_drv.so
fi
#MU-end
Mark Ulrich, July 2008
_________________ my recommended links
|
|
Back to top
|
|
 |
mysticmarks

Joined: 26 Feb 2007 Posts: 157 Location: California
|
Posted: Tue 12 Aug 2008, 15:59 Post subject:
|
|
are you basing muppy on dingo w/ compiz?
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 12 Aug 2008, 19:47 Post subject:
|
|
No, muppy(008.3) was initially based on Puppy 3.
Muppy 008.4 is a updated version, but the scripts are rewritten in many parts, and most base libraries were replaced with newer ones from Slackware 12.1 and Gnomeslackbuild.
So to say it is based on Puppy 3 would be a wrong indication, as it meanwhile has replaced most of it.
It should be compatible in most parts with Puppy 3 and 4.
The Compiz I used is the one made for Puppy 3 by wow.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
tombh

Joined: 12 Jan 2007 Posts: 422 Location: Bristol, UK
|
Posted: Sat 16 Aug 2008, 10:44 Post subject:
|
|
Hi MU,
I'm glad my cfwizard script has been useful for you. Thanks for keeping a record of your changes.
tom
_________________ Colour-Memories Database
|
|
Back to top
|
|
 |
wow
Joined: 29 Jun 2006 Posts: 950
|
Posted: Tue 19 Aug 2008, 17:21 Post subject:
|
|
I have a request:
- An option to force the proprietary nVidia/ATI driver
Some gpus (like my igpu nVidia GeForce 7050) are not automatically detected (it uses the "vesa" driver by default, and "unknown" as BoardName in xorg.conf).
_________________

|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 19 Aug 2008, 19:41 Post subject:
|
|
can't you force the propriatary drivers in the manual setup?
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
wow
Joined: 29 Jun 2006 Posts: 950
|
Posted: Wed 20 Aug 2008, 15:18 Post subject:
|
|
Not really, it just says something like "you're using the vesa driver, your card is unsupported and compiz won't be loaded" (can't remember I'm not at home now) I'll give you some screenshots later. The same happens with wNOP and MUppy, I can install/setup the driver manually but maybe other users can't.
_________________

|
|
Back to top
|
|
 |
tombh

Joined: 12 Jan 2007 Posts: 422 Location: Bristol, UK
|
Posted: Wed 20 Aug 2008, 16:37 Post subject:
|
|
Ah yes, this is something that has already been discussed on the wNOP thread as a bug, it is something I plan to fix for the next release. To fix it, not only does the option to run the cfwizard manually need to be given under all circumstances, but the code also needs to take responsibility for the
| Code: | | Driver "ati/radeon/nvidia/etc" |
line in xorg.conf, which requires a little extra logic further in the code. I'll try and do this soon and post the fixed script.
_________________ Colour-Memories Database
|
|
Back to top
|
|
 |
wow
Joined: 29 Jun 2006 Posts: 950
|
Posted: Thu 21 Aug 2008, 21:44 Post subject:
|
|
This is the only one message that I got with cfwizard (wNOP and MUppy):
[Click to read some lines from my xorg.conf file]
(As you can see the user can't do nothing more, if I choose <Retry Xorgwizard> it'll drop me to this message over and over again)
@MU and tombh: I'm sorry, what I really meant to say is that I wanted something like this in the "generic vesa..." dialog:
But now that I've seen the code (cfwizard - muppy084), I've noted that it's simplier to edit and comment out these lines:
| Code: | line 95: dialog --colors --title "Compiz-Fusion Wizard" --yes-label "Start X" --no-label "Continue" --yesno "Welcome to the Compiz-Fusion Wizard!
line 98: You can either load X without Compiz-Fusion or continue to try AUTO/MANUAL setup." 0 0
line 102: ##else
line 103: ## xorgwizard
line 104: ## exit |
Or just remove the whole dialog, lines 93 to 107 (MUppy's cfwizard), to go directly to:
Of course you might have more ideas about how to fix this problem.
_________________

|
|
Back to top
|
|
 |
|