Page 8 of 9

wobbling without moving

Posted: Tue 11 Dec 2007, 20:12
by Mycology
Hi fellows,
I installed wNOP like posted here. It looks great (a bit slow of course) / but COOL 8) ) . I did a Frugal install. At startup the compiz-manager opens, but compiz does not work.
I have to open a terminal and type SKIP_CHECKS=yes compiz-manager
then FUSION is coming UP :lol:
Is it possible to do that with a skript?

thanks for this unbelievable "augenschmaus"
THANK YOU ALL

Posted: Tue 11 Dec 2007, 22:48
by tombh
Hi fellows :)

@rarsa: Thanks, that's exactly the kind of thing I was hoping to stumble upon. So ~/.bashrc simply runs etc/profile and looking in that there was nothing obvious, so I copied it and turned it into an executable and then run it to see if it magically fixed the cursors -- nope :( Anyway, turns out mousepad has the same magical effect -- and besides -- I discovered a *full* reboot sorts everything out -- therefore the cursor loads fine and no longer does its ugly reverting. So, that's good enough I think.

@d.preed: What do you reckon to that?

@cb88: I don't know much about the eee pc but wikipedia says it has an intel GMA 900 graphics card which is certainly powerful enough, in fact the eee pc seems like it packs a fair amount of power. I reckon wNOP would run fine on it.

@Mycology: An eye-feast! Indeed! compiz-manger is loaded from the beginning of /root/.xinitrc, if you look there you'll see where you have to put SKIP_CHECKS=yes. I guess you've got an ATI card as you mentioned using kirk's dotpet, so did you have to use the

Code: Select all

Option "XAANoOffscreenPixmaps" "true"
code to get proper window rendering? Where did you put it? Also, is scrolling unbearably slow?

.xinit.rc missing

Posted: Wed 12 Dec 2007, 12:45
by Mycology
@tombh
yes, its an Laptop from ASUS with a mobile RADEON X700 with 64MB

my xorg.conf
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "True"
Option "BackingStore" "True"

I can not find .xinit.rc in root to place "SKIP_CHECKS..."!

found .xinitrc

Posted: Wed 12 Dec 2007, 13:16
by Mycology
@tombh
how can I edit xinitrc from terminal and where should I place it?

sh-3.00# /root/.xinitrc
/root/.xinitrc: line 10: [: too many arguments
/usr/local/bin/startxfce4
/usr/local/bin/startxfce4: X server already running on display :0.0
xfce4-session: Another session manager is already running
sh-3.00# /usr/sbin/delayedrun: line 87: 18659 Terminated yaf-splash -font "8x16" -outline 0 -margin 4 -bg yellow -text "WARNING! Do not unplug USB Flash drive!"

Posted: Wed 12 Dec 2007, 19:19
by topjohn
mycology,

you can edit xinitrc by bringing up the run command or in a terminal "mousepad /root/.xinitrc"

hope that helps.

wobblebobble

Posted: Wed 12 Dec 2007, 21:16
by Mycology
thanks topjohn

sh-3.00# SKIP_CHECKS=yes compiz-manager

Checking for Xgl: not present.
No whitelisted driver found
SKIP_CHECKS is yes, so continuing despite problems.
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)
Backend : ini
Integration : true
Profile : default

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)
/usr/bin/compiz (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
/usr/bin/compiz (snow) - Info: Loaded Texture snowflake.png

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

(emerald:5216): Wnck-WARNING **: Unhandled action type (nil)

compiz starts but not stable. sometimes it is just gone and the windows hung

/root/.xinitrc reads

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $


###########################################
#loads Compiz-Fusion if configured properly

COMPIZFLAG=`cat /etc/compizflag.txt`

if [ $COMPIZFLAG = "yes" ]; then
compiz-manager &
sleep 1
fi
##########################################


. /etc/rc.d/PUPSTATE

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R7/lib/X11/xinit/Xresources
sysmodmap=/usr/X11R7/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge -nocpp $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge -nocpp $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

if [ -f /usr/X11R6/bin/XF86_SVGA ];then #0.9.9
xmodmap -e "keycode 22 = BackSpace"
xmodmap -e "keycode 107 = Delete"
fi

CURRENTWM="`cat /etc/windowmanager`"
#if [ "$CURRENTWM" = "startxfce4" ];then
# exec startxfce4
#fi


#0.9.8 sync cut-buffers and clipboard. only useful for older apps
#such as rxvt that use the cut-buffers...
#/usr/bin/autocutsel &
#...disadvantage of this is it creates a little square bottom-right of screen.

#rxvt &
if [ -e /tmp/videomode ];then #testing a video mode
video-wizard &
fi

#v1.0.7 set by xrandrshell, part of xorg wizard...
if [ -f /etc/xrandrindex ];then
XRANDRINDEX="`cat /etc/xrandrindex`"
[ ! "$XRANDRINDEX" = "0" ] && xrandr -s $XRANDRINDEX
fi


if [ -f /root/.xset.sh ];then
#this is created by /usr/X11R6/bin/gxsetshell...
eval "/root/.xset.sh"
else
#Xorg has it's own fontpath settings in /etc/X11/xorg.conf...
if [ ! "`readlink /usr/X11R7/bin/X`" = "Xorg" ];then
xset fp+ /usr/X11R7/lib/X11/fonts/Type1/
xset fp+ /usr/X11R7/lib/X11/fonts/TTF/
fi
xset s 600 600 s blank
fi

#v1.0.7 also see /etc/rc.d/rc.local0
if [ -f /root/.fonts/fonts.dir ];then
xset fp+ /root/.fonts/
fi

xsetroot -cursor_name top_left_arrow

#v2.0.0
/usr/sbin/delayedrun &

#v2.01 hide cursor when not moving... (setup in /usr/sbin/input-wizard)
if [ -f /etc/mousehide ];then
IDLETIME="`cat /etc/mousehide | cut -f 1 -d ','`"
[ ! "$IDLETIME" = "0" ] && unclutter -idle $IDLETIME &
fi

#exec $CURRENTWM
#v2.11 GuestToo suggested this improvement...
which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec startxfce4

###END###
\if I change anything in the compiz section X does not start
when I start out of a terminal via SKIP_CHECKS.....

totally wobblebobbled :(

Posted: Wed 12 Dec 2007, 21:54
by tombh
Mycology,

I need you to be clear about something. From this post
Hi fellows,
I installed wNOP like posted here. It looks great (a bit slow of course) / but COOL Cool ) . I did a Frugal install. At startup the compiz-manager opens, but compiz does not work.
I have to open a terminal and type SKIP_CHECKS=yes compiz-manager
then FUSION is coming UP Laughing
Is it possible to do that with a skript?

thanks for this unbelievable "augenschmaus"
THANK YOU ALL
you are saying that you got Compiz-Fusion working PERFECTLY (no windows hung) but CANNOT AUTOSTART it. And from this post
compiz starts but not stable. sometimes it is just gone and the windows hung
you are saying you get Compiz-Fusion working AND AUTOSTARTING but NOT PERFECTLY (windows hung).

Am I correct to think this?

I should be much more concrete

Posted: Wed 12 Dec 2007, 22:15
by Mycology
@ tombh
I only can start compiz from terminal typing
SKIP_CHECKS=yes compiz-manager

I did not manage autostart yet like I posted I can not restart X if I edit root/.xinitrc in the compiz-fusion-section

First I got compiz to work all seemed well -----
Now I used compiz for 15 hours maybe and it does not run stable. sometimes I lose compiz while I surf the internet or edit anything. then I have to restart compiz via SKIP_CHECKS...

Posted: Wed 12 Dec 2007, 22:42
by tombh
So you HAVE HAD Compiz working smoothly, but it doesn't anymore?
Would you be able to post up a wNOPdump?
Here's how to do it --
(1) Download the wNOPinspect.tar.gz from the first post of this thread
(2) extract the wNOPinspect script using Xarchive -- xarchive opens automatically when you double click on any *.tar.gz file
(3) Run the script by double clicking on it (I should have programmed some indicator to show that the script has run successfully, but I didn't, sorry)
(4) After the script has run a file called wNOPdump.tar.gz will be placed on your desktop -- which you can then attach to a post on the forum.

Curious, if you find something interesting

Posted: Thu 13 Dec 2007, 12:01
by Mycology
/

Posted: Thu 13 Dec 2007, 12:27
by Lobster
with the new NOP 3.01r2 (in it now) being set up for compiz, will we be seeing a new wobble? aka WNOP?

Hope so :)

Posted: Thu 13 Dec 2007, 21:18
by tombh
@Mycology: Your wNOPdump looks fine, so I'm not really sure what's wrong. Could you describe again in more detail the problem you're having - possibly a screenshot too? Also do you know what these options --

Code: Select all

 Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off" 
do in your xorg.conf file? I'm not sure either, maybe try without them?

@Lobster: Oh yes! I downloaded NOPr2 last nite and have already started adding wobbliness to it :) Still wouldn't mind a bit more positive feedback from the fglrx fix first though. Watch this space!

deleted

Posted: Sat 15 Dec 2007, 21:12
by Mycology
@tombh I deleted Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
in my xorg.conf file.
First nothing changed, I thought.
But maybe compiz is stable now. I
did not "lose compiz" while open or
close windows / applications / run programs .

I did not get "autostart compiz" runnning with xinitrc ...
any advice?

Posted: Sun 16 Dec 2007, 12:12
by tombh
@Mycology: Hope you're Compiz-Fusion continues to run stable. So about autostarting -- the best way is to open /root/.xinitrc in mousepad and edit this bit...

Code: Select all

###########################################
#loads Compiz-Fusion if configured properly

COMPIZFLAG=`cat /etc/compizflag.txt`

if [ $COMPIZFLAG = "yes" ]; then
compiz-manager &
sleep 1
fi
########################################## 
so that

Code: Select all

compiz-manager &
reads

Code: Select all

SKIP_CHECKS=yes compiz-manager &
If that doesn't work you can try autostarting it from Xfce's autostart application. It can be found by going to Menu->Settings->Autostarted Applications->Add. Then type something like 'Compiz-Fusion' in the description box and

Code: Select all

SKIP_CHECKS=yes compiz-manager
in the command box.

If restarting X does not work try a full system reboot.

Let me know how it goes...

autostart still does not function

Posted: Sun 16 Dec 2007, 22:09
by Mycology
@tombh THX for your support
I did an edit of xinitrc like you described.
when puppy starts, nothing has changed. compiz is not active.
If I try to start it manual with SKIP_CHECKS....I get an error message which is attached.
???

Greetings and again TTTTHHHXXX a LOTTTTTTT

Posted: Mon 17 Dec 2007, 05:14
by floborg
tombh wrote:@floborg: Can you not choose the <Plain Xfce> Option during the Compiz-Fusion Wizard at boot time? It would be good if that did work cos otherwise we might have to do it all the old school manual way!
Ok, this one was made running wNOP in Compiz mode.

Posted: Mon 17 Dec 2007, 17:51
by tombh
@Mycology: You forgot the attachment! So you can't get Compiz-Fusion to work at all now? Have you thought about starting all over with a fresh live-CD boot of wNOP and installing kirk's ATI-fglrx dotpet from scratch? I know that might be a lot of work, but it would be good to know the exact steps you go through to get wobbliness -- whether it autostarts or not. Oh yeah, did you try the Xfce autostart application I mentioned?

@floborg: Thanks for the wNOPdump -- I've been able to isolate the problem:

Code: Select all

(WW) ATI(0): DRI static buffer allocation failed -- need at least 4687 kB video memory
You have only

Code: Select all

oem: ATI MACH64
memory: 4096kb
So close! To reduce the amount of memory used by your graphics there are two things you can do:
(1)Use the 16bit colour depth when setting up xorgwizard
(2)Reduce your screen resolution to 800x600.
(3)Or a combination of both -- ie:
Choose 800x600x16 in xorgwizard.
If there is no wobbliness after trying this please send the updated wNOPdump.

However, I fear that this will not get 3D accelaration going anyway :( I'm reading that the default mach64 drivers that come with wNOP have 3D disabled as default (because of a security risk). I have compiled the drivers that do have 3D enabled, but I'm not very experienced in this area so I'm rumaging in the dark a bit. So if the previous method didn't work, first make a wNOPdump and post it, THEN install this dotpet fix (at end of post) then reboot X. And then if that doesn't work either, make yet another wNOPdump and post it.

It is important that you make these wNOPdumps at the correct points in your attempts to fix this as they give important information that is only applicable to your computer at that specific point in time.

Phew! There we are. Good luck with all that. Don't give up, I'd love to see wNOP running on your mach64 :)

[attachment removed and updated further on]

Posted: Tue 18 Dec 2007, 06:20
by floborg
tombh wrote: @floborg: Thanks for the wNOPdump -- I've been able to isolate the problem:

Code: Select all

(WW) ATI(0): DRI static buffer allocation failed -- need at least 4687 kB video memory
You have only

Code: Select all

oem: ATI MACH64
memory: 4096kb
So close! To reduce the amount of memory used by your graphics there are two things you can do:
(1)Use the 16bit colour depth when setting up xorgwizard
(2)Reduce your screen resolution to 800x600.
(3)Or a combination of both -- ie:
Choose 800x600x16 in xorgwizard.
If there is no wobbliness after trying this please send the updated wNOPdump.

However, I fear that this will not get 3D accelaration going anyway :( I'm reading that the default mach64 drivers that come with wNOP have 3D disabled as default (because of a security risk). I have compiled the drivers that do have 3D enabled, but I'm not very experienced in this area so I'm rumaging in the dark a bit. So if the previous method didn't work, first make a wNOPdump and post it, THEN install this dotpet fix (at end of post) then reboot X. And then if that doesn't work either, make yet another wNOPdump and post it.
Actually, I tried 800x600x16 the first time since those are my normal settings. No wobble. Then, I tried 24-bit color after hearing Compiz required it in the YouTube video. So, I went back to 800x600x16 and made a wNOP dump. I then tried 640x480 at 16-bit and 24-bit. No wobble. I then installed the ATI pet under 640x480x16. No wobble immediately after the install, but I assumed I would need to restart X, which I did. No wobble. In fact, getting window borders after restarting X was kind of hit or miss. Anyway, here are the dumps.

Posted: Tue 18 Dec 2007, 12:22
by tombh
@floborg: Well we're definitely getting somewhere. The reduction of resolution and bit depth certainly solved the memory problem but as I suspected DRI (hardware accelerated graphics) failed because of the missing module. After installing my dotpet the relevant modules became available and were loaded, the Xorg log reported a lot more success. This is really so very close :) The error reported is this:

Code: Select all

(EE) ATI(0): [dri] ATIDRIScreenInit failed because of a version mismatch.
[dri] mach64.o kernel module version is 1.0.0, but version 2.x is needed (with 2.x >= 2.0).
[dri] Disabling DRI
So what I did was compile the bleeding edge modules (I double checked the mach64 module as being version 2) from git and made a new dotpet (see below). So if you just install this as per usual and restart X - fingers crossed there should be wobble, but if not please do the usual wNOPdump business again. Thanks floborg.

lost errormessage

Posted: Tue 18 Dec 2007, 18:39
by Mycology
hi,
I got that message and from then on compiz never started again.
Maybe I try a fresh install of wNOP next weekend - or is there a chance to rescue my system?

MESSAGE:
compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

Micha