The time now is Thu 23 May 2013, 18:30
All times are UTC - 4 |
| Author |
Message |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Tue 13 May 2008, 13:51 Post subject:
hidden cursor |
|
@jonyo,
Oh, damn, I've just put another dent in my forehead. While reading .xinitrc to find the cause of other video problems, I suddenly realized no one had asked you if you had checked for a file /etc/mousehide. I now think your mouse cursor times out and gets hidden when you leave the machine alone for some time. You might also look at the mouse wizard to see if the autohide box is checked. A bug in that code could have the effect of a more serious bug in the video driver.
|
|
Back to top
|
|
 |
jonyo
Joined: 28 Dec 2006 Posts: 2727
|
Posted: Tue 13 May 2008, 22:01 Post subject:
|
|
Didn't check it out yet (forgot about it) but it came up when I had the prob in 2.15 & all was set ok.
|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Wed 14 May 2008, 10:06 Post subject:
hack at fix for x exit problems |
|
@tronkel, ttuuxxx,
Here are some files which have worked to solve the problems I've experienced on exits from the X window system on two problem machines. It also works on at least one machine w/o the problem, but needs more testing.
I have deliberately made this a tar.gz instead of something easier to use, to keep people from applying it indiscriminately. You will know where the scripts I've altered belong.
The hangs and black/frozen screens on exit from X were caused by subtle concurrency problems with scripts for starting and stopping X. I have moved the "killall -9 X" to the beginning of xwin, to make sure we have only one set of X processes running at a time. Ditto, the syncs which should be used for every change to a file used to communicate between processes. Both xwin and .xinitrc now perform a sync before they use any files.
I've rewritten some code at the end of xwin, simply because I wasn't sure I could tell exactly what it was doing. This may not be necessary, but I can understand it better.
I'm still not sure about all the purposes xwin is used for. This could break something elsewhere.
This doesn't solve all concurrency problems I've detected. Strange things can still happen at WM startup. There are also cases where Icewm has unreasonable delays on bringing up the main menu, or shows an incomplete main menu. The processes for essential functions of the WM itself should run at with higher priority than various tasks spawned by the WM. It may also help to set the "sticky" bit on some files and programs.
However, I hope this is the end of the show stoppers.
Added: I've updated the xfix.tar.gz. One change was not needed and another small change in xwin gets rid of a potential problem. I've also tried corresponding changes in the scripts for NOP 3.01r6 and Muppy 008.3b, without any obvious disasters.
Note: the first time you run xwin after changing scripts you may see a message caused by leftover files or variables from the previous version. After that it should run without error messages, but, remember, this is still experimental.
prehistoric
 |
| Description |
scripts hacked to get around hangs or black/frozen screen problems on exit from X
|

Download |
| Filename |
xfix.tar.gz |
| Filesize |
8.32 KB |
| Downloaded |
219 Time(s) |
|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Wed 14 May 2008, 14:45 Post subject:
Attention! |
|
Just wanted to notify tronkel and ttuuxxx that the previous post has been edited and the attached hack has been changed.
|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Thu 15 May 2008, 08:57 Post subject:
conky start up success |
|
@tronkel, ttuuxxx,
After the issues with X were resolved, it was simple to find where our startup concurrency problems originate. The line in .xinitrc which launches conky:
Creates a concurrent process. Icewm assumes it controls all these. Solution: remove that line and launch conky from the Startup folder. | Code: | #!/bin/sh
# autostart system monitor display, choose at most one.
exec conky -d
#exec gkrellm | I've named this sysmon.sh and made it executable.
Conky was set up with an interval of 5 seconds on this 350 MHz machine. Even here I can tolerate an interval of 0.5 seconds. (Is that what was intended above?)
I tried an interval of 0.25 seconds, which works, but consumes about 1/3 of CPU cycles. On slower machines this would be a problem. Using gkrellm, the overhead is almost negligible.
If conky runs with double buffering, the distraction from blinking is tolerable. When using xvesa, which doesn't support double buffering, on a slow machine it is awful.
I have restarted X repeatedly on this slow machine without getting that pile up of icons or weird problems with window labels. This appears to eliminate the biggest of our concurrency problems.
Added: When I went to try this fix on Muppy 083b, I found MU was ahead of me, (if only I had known). He also launches HotPup and the Icewm desklets this way, keeping them under the control of Icewm.
|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Thu 15 May 2008, 21:29 Post subject:
reproducing the black/frozen screen problem |
|
I now think I know why people had not been reporting this problem, even though I was able to reproduce it on two machines and four puplets. If you succeed in configuring X on the first try you are generally O.K. If you try something and fail, and then try again without rebooting, you may have more than one X launched.
It's hard to see how this happens; the logic of xwin is convoluted. My solution was to kill any running X processes whenever you enter xwin, to make absolutely sure you never launch two. Because the cause was at the beginning of a session and the symptoms don't show up until you exit it was hard to get meaningful bug reports.
For someone like AJ, who has been having ongoing struggles with video, this kind of mess could kill interest in recent releases. For newcomers to Puppy, a bad experience with video configuration could prevent them from coming to this forum to report problems and ask questions. Like the guy counting bullet holes in airplanes, the ones you don't see bias the results against reports of certain problems.
|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Sun 18 May 2008, 00:21 Post subject:
jonyo's disappearing cursor |
|
@jonyo,
The invisible cursor problem you saw was not specific to the 3.xx series. It turned up on 4.00, when I left it running for a couple of hours.
|
|
Back to top
|
|
 |
tronkel

Joined: 30 Sep 2005 Posts: 1053 Location: Vienna Austria
|
Posted: Sun 18 May 2008, 10:09 Post subject:
|
|
@prehistoric
Thanks for all the hard work you're doing on bug-squashing.
I haven't had much chance in the last week to follow it all, due to visiting a Linux show here and installing Ubuntu on the wife's laptop. Puppy played its part here as well. That will get installed on the home partition as well - just in case Ubuntu decides to do naughties - something which I believe it is well capable of on occasions.
I'm not likely to get much time to work on Chihuahua until nearer the weekend. If you get the time, could you make a short summary of the things that you have found that work OK?
I'll then test and merge these items into Chihuahua for the next build.
_________________ Life is too short to spend it in front of a computer
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 18 May 2008, 10:51 Post subject:
|
|
| tronkel wrote: | @prehistoric
installing Ubuntu on the wife's laptop.build. |
Shame Shame should of installed Linux "Mint" same stuff, way smaller, and looks way better, Plus has the Ubuntu repository
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
jonyo
Joined: 28 Dec 2006 Posts: 2727
|
Posted: Sun 18 May 2008, 10:58 Post subject:
|
|
Ya but then he might be messin with the boss!
|
|
Back to top
|
|
 |
alienjeff

Joined: 08 Jul 2006 Posts: 2290 Location: Winsted, CT - USA
|
Posted: Sun 18 May 2008, 10:59 Post subject:
|
|
"Ubuntu" repository?
_________________ hangout: ##arch-ftw on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker
|
|
Back to top
|
|
 |
jonyo
Joined: 28 Dec 2006 Posts: 2727
|
Posted: Sun 18 May 2008, 11:16 Post subject:
|
|
http://www.google.ca/search?q=mint+ubuntu+repository&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 18 May 2008, 12:22 Post subject:
|
|
| alienjeff wrote: | | "Ubuntu" repository? |
Linux Mint is based on Ubuntu and both distributions have a lot in common. Both distributions use the same software repositories. For instance, release 2.2 (“Bianca”) uses the package pools of Ubuntu “Edgy Eft” (6.10). Most packages are the same on both distributions and the two systems behave almost identically.
http://en.wikipedia.org/wiki/Linux_Mint
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Sun 18 May 2008, 13:10 Post subject:
Re: i810 |
|
@alienjeff,
Welcome back. While you were off, no doubt doing important things, I saw this thread appear. Is this relevant to your problem child? Would a similar hack affect results on Chihuahua?
|
|
Back to top
|
|
 |
alienjeff

Joined: 08 Jul 2006 Posts: 2290 Location: Winsted, CT - USA
|
Posted: Sun 18 May 2008, 13:52 Post subject:
|
|
@prehistoric
Thanks! I read that thread before, however it is based on i810 video working when running Puppy v3.xx, which in my case is not.
My new endeavor is/was to install Puppy to my HP Kayak: a nice box with dual-800 MHz processors and a gig of RAM! Yum! However, there isn't support for installing to SCSI, so I am left with teasing myself with booting from a Wake Up Pup floppy and USB stick. Grrr.
At least I have a box to test any new alphas/betas/RCs that may venture into the land of SCSI HD support.
_________________ hangout: ##arch-ftw on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|