Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 15:38
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Video: picture stops while sound continues - Nightly/ Slacko
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
canbyte


Joined: 10 Jan 2009
Posts: 266
Location: Hamilton, Canada

PostPosted: Tue 04 Sep 2012, 18:40    Post subject:  Video: picture stops while sound continues - Nightly/ Slacko  

I'm having problems watching youtube clips using Slacko's Nightly. The video stops moving while the sound continues. To get the picture moving again, you have to click on the round thing that scrolls along the bottom that shows the position you are in. It stops moving when this happens. The occurrence is intermittent, usually every few minutes. These are short videos not full length. Don't know what other details are needed except that it never happened on older puppies, so i hope someone can diagnose the problem.

Also i'm hoping someone can drop by on my other question relating to downloading/ installing a 'client' on puppy - the question is here -
http://www.murga-linux.com/puppy/viewtopic.php?t=68016

Thanks in advance

_________________
1. Dell Dimension E521, AMD Athln 64, 2 GHz 1.93GB ram,
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN

Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2006
Location: New Zealand

PostPosted: Tue 04 Sep 2012, 19:19    Post subject: Re: Video: picture stops while sound continues - Nightly/ Slacko  

Might be a conflict between adobe flash plugin and alsa sound modules (I had that same freezing effect on my system and kept having to click on the round scrolling thing too). The following fixed it for me: Try stopping and then starting alsa by opening a console and entering the following three lines. Be careful to enter each line below exactly (cut and paste useful); in particular 10alsa is with a zero and the slashes (/) are all required. (You have to wait for each step to complete before entering the following line). Do the above straight after you have booted into Slacko and after that immediately try running the youtube videos in the browser. Let me know if that works please and we can look into a more permanent solution that works between reboots.

Code:

/etc/init.d/10alsa stop
/etc/init.d/10alsa start
retrovol -hide &

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
canbyte


Joined: 10 Jan 2009
Posts: 266
Location: Hamilton, Canada

PostPosted: Tue 04 Sep 2012, 21:36    Post subject:  

Hi mcewanw
I tried those commands (but without rebooting) and it seems to work - tried a few clips, no problem. I'll try rebooting now and report back. fwiw, here is the response to the final command

[2] 31282
[1] exit 127
cannot read file: /root/.retrovolrc
using defaults...

(i couldn't remember how to cut/paste into the console - something about using the scroll wheel?)

rebooting & walking the dog.... You're right, the fix doesn't survive the reboot. Well, hopefully those lines can be done during startup. Hmm. How about a small file in the /root/startup directory? Or maybe where I was fooling around with another file executed on statup. I'll report back after I've had a look.

Well, definitely not to be put in xorg.conf! I'll try adding the two lines to the file /root/startup/retrovol_tray, which already has the third line of your script. processing..... Well, it started ok but the fix not implemented. Now I'll try putting that same script into a small file and try to execute it. ... Processing... Seems to work at least for awhile and it gives an easy way to just repeat at any time. I put the file in /root so it's easy to find.
Note to others adopting this fix: the browser sometimes shuts down during this op so be sure to terminate any work in progress first.

So, thanks very much though I won't mark the issue as resolved pending hopefully, a permanent fix.

_________________
1. Dell Dimension E521, AMD Athln 64, 2 GHz 1.93GB ram,
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN

Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2006
Location: New Zealand

PostPosted: Wed 05 Sep 2012, 00:38    Post subject: flash video freezing caused by alsa sound module conflict
Subject description: and NOt by the adobe flash plugin version
 

canbyte wrote:

Note to others adopting this fix: the browser shuts down during this op so be sure to terminate any work in progress first.

So, thanks very much though I won't mark the issue as resolved pending a permanent fix.


My Seamonkey browser actually doesn't shutdown when I manually enter these lines, but definitely safer to close it before such actions. I also get the error message about /root/.retrovolrc not being found, but retrovol seems to start up okay again anyway.

To make the above happen at every boot I simply modified the script /root/Startup/retrovol_tray to become:

Code:

#!/bin/sh
/etc/init.d/10alsa stop
/etc/init.d/10alsa start
retrovol -hide &


However, a more permanent fix is to run lsmod before the "fix" and check what sound module(s) get loaded. On my own system both snd_intel8x0 and snd_intel8x0m were amongst the modules being loaded but your sound card may well be a different one. Once you find the modules loaded before the fix, run lsmod again after the fix and compare. You will probably find less sound modules loaded this time. On my system, snd_intel8x0m was no longer being loaded now. Having identified whatever sound module(s) is no longer being loaded, simply blacklist it so that it no longer gets loaded at boot time. Then you won't need the stop or stop alsa lines above at all. On my system I therefore had to blacklist snd_intel8x0m.

The utility that you can use to blacklist modules is the Bootmanager configure bootup utility which you will fine in Slacko start menu -> System. After blacklisting the errant/flash-video-conflicting alsa sound module all should be fine thereafter. Please let me know if that is the case for the benefit of other users that no doubt have experienced the same problem with flash videos. Too many people immediately suspect the adobe flash plugin version and waste a lot of time trying different versions (as I did...) when the real problem may often be a loaded module conflict.

I believe there is probably a problem with Slacko's 10alsa script, so the maintainers of that really need to look into that to find a true permanent fix - but the above repair seems to work once it is done anyway.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
canbyte


Joined: 10 Jan 2009
Posts: 266
Location: Hamilton, Canada

PostPosted: Wed 05 Sep 2012, 16:34    Post subject:  

OK here goes. I'll record the output here and hope you can help figure it out.

First I had to look up Karl's instruction to copy in rxvt:
Quote:
Normally highlighting with the mouse keeping left button held down, releasing the left button and press the middle button to paste



Before the fix:
Quote:
Module Size Used by
snd_hda_codec_idt 39895 1
snd_hda_intel 16350 0
snd_hda_codec 54223 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 3704 1 snd_hda_codec
snd_pcm_oss 27363 0
snd_mixer_oss 9846 1 snd_pcm_oss
snd_pcm 46865 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_page_alloc 4685 2 snd_hda_intel,snd_pcm
snd_seq_dummy 907 0
snd_seq_oss 19155 0
snd_seq_midi 3248 0
snd_seq_midi_event 3636 2 snd_seq_oss,snd_seq_midi
snd_rawmidi 11838 1 snd_seq_midi
snd_seq 32220 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device 3541 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_timer 11743 2 snd_pcm,snd_seq
snd 32906 12 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_timer
soundcore 3321 1 snd
b44 19474 0
ssb 34121 1 b44
mmc_core 50083 1 ssb
pcspkr 1195 0
k8temp 2351 0
i2c_nforce2 4056 0
i2c_core 12559 1 i2c_nforce2
shpchp 17907 0
evdev 5816 0
button 3275 0
processor 20513 0
thermal_sys 9722 1 processor
hwmon 965 2 k8temp,thermal_sys
fuse 47599 0
aufs 119852 75
squashfs 18852 1
#



After running the fix:
Quote:
Module Size Used by
snd_hda_codec_idt 39895 1
snd_hda_intel 16350 0
snd_hda_codec 54223 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 3704 1 snd_hda_codec
snd_pcm_oss 27363 0
snd_mixer_oss 9846 1 snd_pcm_oss
snd_pcm 46865 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_page_alloc 4685 2 snd_hda_intel,snd_pcm
snd_seq_dummy 907 0
snd_seq_oss 19155 0
snd_seq_midi 3248 0
snd_seq_midi_event 3636 2 snd_seq_oss,snd_seq_midi
snd_rawmidi 11838 1 snd_seq_midi
snd_seq 32220 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device 3541 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_timer 11743 2 snd_pcm,snd_seq
snd 32906 12 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_timer
soundcore 3321 1 snd
b44 19474 0
ssb 34121 1 b44
mmc_core 50083 1 ssb
pcspkr 1195 0
k8temp 2351 0
i2c_nforce2 4056 0
i2c_core 12559 1 i2c_nforce2
shpchp 17907 0
evdev 5816 0
button 3275 0
processor 20513 0
thermal_sys 9722 1 processor
hwmon 965 2 k8temp,thermal_sys
fuse 47599 0
aufs 119852 75
squashfs 18852 1
#


My eyes are going squirrel/y - i can't see any diff! But a youtube vid works fine.

_________________
1. Dell Dimension E521, AMD Athln 64, 2 GHz 1.93GB ram,
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN

Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2006
Location: New Zealand

PostPosted: Wed 05 Sep 2012, 18:24    Post subject:  

I copied the before and after lists you supplied into geany and made two texts files out of them. I then compared them with the utility you can find in Slacko menu called "Xdiff". They are indeed identical...

Either your problem is something else (related to alsa it would seem) or you didn't actually get a listing "before the fix". You would have to make sure that your computer was in the state where it was intermittently freezing videos, per your first post, before running lsmod to obtain the "before the fix" lsmod result. i.e. immediately after rebooting your system with no fix yet applied. If you did that and then applied the fix (and checked videos were no longer freezing) before running lsmod again for the second result and the result is identical as you submitted then I am not sure what is going on!

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
canbyte


Joined: 10 Jan 2009
Posts: 266
Location: Hamilton, Canada

PostPosted: Wed 05 Sep 2012, 23:49    Post subject:  

That's a nice little comparator. I did as suggested after rebooting and ensuring that videos were stalling. Xfdiff says the two files are still the same - however something must be not working in that program. I do see several differences to the last post fix in some of the second numbers ('used by' column). So for instance, in the second line, the last number is 3 before the fix and 0 after.
This difference didn't show up in xdiff. 7th line the number changes from 4 to 3. Do you think this is the source of the problem?



Here's the full listing pre fix -
Quote:
Module Size Used by
snd_hda_codec_idt 39895 1
snd_hda_intel 16350 3
snd_hda_codec 54223 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 3704 1 snd_hda_codec
snd_pcm_oss 27363 0
snd_mixer_oss 9846 1 snd_pcm_oss
snd_pcm 46865 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_page_alloc 4685 2 snd_hda_intel,snd_pcm
snd_seq_dummy 907 0
snd_seq_oss 19155 0
snd_seq_midi 3248 0
snd_seq_midi_event 3636 2 snd_seq_oss,snd_seq_midi
snd_rawmidi 11838 1 snd_seq_midi
snd_seq 32220 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device 3541 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_timer 11743 3 snd_pcm,snd_seq
snd 32906 16 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_timer
soundcore 3321 1 snd
b44 19474 0
ssb 34121 1 b44
mmc_core 50083 1 ssb
pcspkr 1195 0
k8temp 2351 0
i2c_nforce2 4056 0
i2c_core 12559 1 i2c_nforce2
shpchp 17907 0
evdev 5816 0
processor 20513 0
button 3275 0
thermal_sys 9722 1 processor
hwmon 965 2 k8temp,thermal_sys
fuse 47599 0
aufs 119852 72
squashfs 18852 1
#

_________________
1. Dell Dimension E521, AMD Athln 64, 2 GHz 1.93GB ram,
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN

Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2006
Location: New Zealand

PostPosted: Thu 06 Sep 2012, 02:44    Post subject:  

Xdiff on Slacko did show the differences on the two different lists for me. I believe the number you refer to is a list of how often the given module is being used. man lsmod or google will reveal more about that. Unfortunately I don't see what is going on in terms of finding any module to blacklist. I can only suggest you run alsaconf first and see if the problem goes away thereafter or after running the fixes I suggested. Otherwise, I have to leave the matter for someone else to find a more complete fix for. Meanwhile, at least you have it working :-)
_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
Bruce B


Joined: 18 May 2005
Posts: 11049
Location: The Peoples Republic of California

PostPosted: Fri 07 Sep 2012, 22:15    Post subject:  

Video has less priority than sound. If things are too slow the player will drop video frames and try and keep the sound playing.

You can download the youtube video, you can tell when it is finished downloading by the progress bar of the player. Pause it or let it finish, but don't close the page.

Then using another player, play the video from the /tmp directory. This will help you in the diagnostics.



~

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

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
[ Time: 0.0864s ][ Queries: 12 (0.0047s) ][ GZIP on ]