XenialDog 64bit (Ubuntu 'Xenial Xerus' LTS, 64-bit)
belham,
Yes, I can read and write and even speak English - I do not speak Bulgarian but wish I did. I have trouble with your 'technical' language however.
I did note your claim you tested zram via loading browser tabs. However, those of us who know such tests realise your claim isn't a good one because loading browser tabs like that eventually needs swap on low RAM systems and the advantage of zram becomes obvious at that stage. You didn't discover that, hence you didn't do your 'browser loading tests' adequately, sorry.
https://www.kernel.org/doc/Documentatio ... v/zram.txt
wiak
Yes, I can read and write and even speak English - I do not speak Bulgarian but wish I did. I have trouble with your 'technical' language however.
I did note your claim you tested zram via loading browser tabs. However, those of us who know such tests realise your claim isn't a good one because loading browser tabs like that eventually needs swap on low RAM systems and the advantage of zram becomes obvious at that stage. You didn't discover that, hence you didn't do your 'browser loading tests' adequately, sorry.
https://www.kernel.org/doc/Documentatio ... v/zram.txt
wiak
Last edited by wiak on Mon 22 Jan 2018, 09:41, edited 2 times in total.
Did you open separate zram thread backi or someone else or are you requesting for such a thread to be opened? Just open one yourself I suggest, or I can if you like. Then we could blank our posts about it here and copy main stuff to new thread? Certainly a lot of zram/zswap issues/ideas to explore.backi wrote:It also worked as far as i remember also in Dpup Exprimo .....works also in Tahrpup.....but not in each Puppy...can`t remember exactly.
Thanks for opening seperate Zram Thead .Interesting Topic .
Cheers !
By the way, I find it useful to make a copy of the /usr/bin/init-zram-swapping bash script (under other name) to make mods to it for testing zram in different configurations and for different uses (e.g. making RAM disks out of it using the likes of mkfs -t ext4 /dev/ram1). When using the systemd service method of using zram you can disable it simply by 'systemctl stop zram-config.service' or by running script '/usr/bin/end-zram-swapping' Can start it again using either 'systemctl start zram-config.service' or by running '/usr/bin/init-zram-swapping'.
wiak
Hi wiak !
Can only find interrupted Threads here :
http://www.murga-linux.com/puppy/viewto ... 1587d507c2
http://www.murga-linux.com/puppy/viewto ... 257c2a98a8
http://bkhome.org/news/201701/overlayfs ... -zram.html
Think it is better to start separate Zram Thread from Scratch .
Since my English is not so fluent and my technical knowledge and Expression is quite limited ,you would do me a favor if you would open this Thread .But .......don`t hurry..... keep it cool man .
Can only find interrupted Threads here :
http://www.murga-linux.com/puppy/viewto ... 1587d507c2
http://www.murga-linux.com/puppy/viewto ... 257c2a98a8
http://bkhome.org/news/201701/overlayfs ... -zram.html
Think it is better to start separate Zram Thread from Scratch .
Since my English is not so fluent and my technical knowledge and Expression is quite limited ,you would do me a favor if you would open this Thread .But .......don`t hurry..... keep it cool man .
Okay backi,
Late here where I am, so I'll open thread tomorrow. Mainly cos it would be good to keep the tested/discovered info/ideas together, since it is an interesting/useful topic, in one thread and to free up this xenialdog64 thread of Fred. IMO anyone with 2GB or less of RAM would be advised to use zswap or zram - the benefits are actually obvious to anyone with a brain that still works.
wiak
Late here where I am, so I'll open thread tomorrow. Mainly cos it would be good to keep the tested/discovered info/ideas together, since it is an interesting/useful topic, in one thread and to free up this xenialdog64 thread of Fred. IMO anyone with 2GB or less of RAM would be advised to use zswap or zram - the benefits are actually obvious to anyone with a brain that still works.
wiak
New topic about zram and zswap here (thanks wiak !)
http://www.murga-linux.com/puppy/viewtopic.php?t=112599
Fred
http://www.murga-linux.com/puppy/viewtopic.php?t=112599
Fred
SUSPEND function not working
is there a way to suspend as the install of this pet did not work and also holding hown the power button has the option to suspend but does not work on my laptop a hp elitebook 2540p intel i7. Im running a persistent usb install works flawlessly otherwise
I got the pet from
http://murga-linux.com/puppy/viewtopic.php?t=76894
I got the pet from
http://murga-linux.com/puppy/viewtopic.php?t=76894
Re: SUSPEND function not working
Hi Ushichan,Ushichan wrote:is there a way to suspend as the install of this pet did not work and also holding hown the power button has the option to suspend but does not work on my laptop a hp elitebook 2540p intel i7. Im running a persistent usb install works flawlessly otherwise
I got the pet from
http://murga-linux.com/puppy/viewtopic.php?t=76894
I doubt that pet is relevant since it is very old from 2012 or so.
I have an older elitebook but have never used suspend or hibernate with it and haven't tried as yet. However, I came across this post, which may or may not help or be relevant:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1574120
Bruno followed that config file change with a reboot.Bruno Santos (bsantos) wrote on 2016-04-24: comment #5
Adding HandleLidSwitchDocked=suspend in /etc/systemd/logind.conf solved it in my system, but suspend was flawless before upgrading to 16.04.
EDIT: From same thread:
Bob (caltinay) wrote on 2017-06-15: comment #106
I have the same issue on a HP ZBook G3 running Debian with the 4.11 kernel from experimental and after reading comment #103 I tried
rmmod hp_wmi
and this fixed it!
i.e. See: https://lkml.org/lkml/2017/4/9/57Carlo (carlo-b) wrote on 2017-04-10: #103
Just FYI I posted this https://lkml.org/lkml/2017/4/9/57 yesterday. Still to be reviewed.
Hope it helps.
Permanent fix might thus be found in upgraded kernel.
You may find more useful information via that bugs.launchpad thread link given above.
wiak
For info, the hp-wmi module is already blacklisted by default in Xenialdog.
I can't remember exactly why I did that, something to do with WiFi not working due to rfkill and the blacklisting fixed that, in /etc/modprobe.d/blacklist.conf:
EDIT: @Ushichan, backi fixed suspend not working problem with acpitool:
http://murga-linux.com/puppy/viewtopic. ... 465#978465
Fred
I can't remember exactly why I did that, something to do with WiFi not working due to rfkill and the blacklisting fixed that, in /etc/modprobe.d/blacklist.conf:
Code: Select all
blacklist hp-wmi
http://murga-linux.com/puppy/viewtopic. ... 465#978465
Fred
could I turn off the blacklisting instead as I dont use wife and never will, only ethernet cables here to avoid radiation for our kids
I tried to open as by finally finding filemnt when searching system files but cannot do as you suggested with only open as text as the closest option to your suggestion
I tried to open as by finally finding filemnt when searching system files but cannot do as you suggested with only open as text as the closest option to your suggestion
Should open automatically with leafpad when clicking on /etc/modprobe.d/blacklist.conf from pcmanfm or rox, for me it does, not for you ?Ushichan wrote:I tried to open as by finally finding filemnt when searching system files but cannot do as you suggested with only open as text as the closest option to your suggestion
For other files you may need to associate to leafpad, by "Open with..." and choose leafpad from list
Fred
Hello Fred
I couldnt get this window or the ability to open with anything but geany so cannot get to the screen window you suggest....very dumb user here
I couldnt get this window or the ability to open with anything but geany so cannot get to the screen window you suggest....very dumb user here
fredx181 wrote:@backi, thanks ! strange that suspend doesn't work for you, it works for me with 'pm-suspend'
If you have time can you do in terminal (and what's the message?):@Null_ID, indeed what rcrsn51 suggested works , but you can also use filemnt, it just needs association (supports also .2fs, .3fs .4fs, besides iso, squashfs and sfs) just right-click on the pupsave file > open with, and type filemnt as custom command line, see pic below (for pcmanfm)Code: Select all
pm-suspend
Fred
Yes thank you Fred I was able to do as you said here but still dont know what to do after clicking on blacklist.conf. Still having trouble setting up open with leafpad as it still has geany as the only optionfredx181 wrote:Should open automatically with leafpad when clicking on /etc/modprobe.d/blacklist.conf from pcmanfm or rox, for me it does, not for you ?Ushichan wrote:I tried to open as by finally finding filemnt when searching system files but cannot do as you suggested with only open as text as the closest option to your suggestion
For other files you may need to associate to leafpad, by "Open with..." and choose leafpad from list
Fred
The only thing is, it seems some would (understandably) like suspend to work on closing the lid, which it is supposed to I think. That's what I was posting about, but admit to never having tried it myself! Basically, I was however curious if anyone tried the method:fredx181 wrote:For info, the hp-wmi module is already blacklisted by default in Xenialdog.
I can't remember exactly why I did that, something to do with WiFi not working due to rfkill and the blacklisting fixed that, in /etc/modprobe.d/blacklist.conf:EDIT: @Ushichan, backi fixed suspend not working problem with acpitool:Code: Select all
blacklist hp-wmi
http://murga-linux.com/puppy/viewtopic. ... 465#978465
Fred
Of course I can try it myself sometime, though really I never care to suspend/hibernate my systemAdding HandleLidSwitchDocked=suspend in /etc/systemd/logind.conf
EDIT: well method suggested above didn't work for me on my HP Elitebook 2530p in a quick test. Having said that, my elitebook is a strange old beast which for unknown reason (maybe just BIOS battery - haven't changed it as yet) takes over a minute to even reach grub4dos menu (fine after that) so the suspend idea needs further testing by anyone with more reliable machine I'd say... EDIT2: Hmmm, I'm not sure if it worked or not - discovered I was still logged in the murga forum when lid was opened, but fan seemed to keep running all the time (but then again, I'm not using battery power and have to check if BIOS has fan always on when on mains power.
wiak
Not completely sure if I understand well your problem, anyway see screenshot how to associate from pcmanfm filemanager, e.g. with leafpad (under accessories)Ushichan wrote:I couldnt get this window or the ability to open with anything but geany so cannot get to the screen window you suggest....
Once you opened the file /etc/modprobe.d/blacklist.conf, to un-blacklist, remove the line:
Code: Select all
blacklist hp-wmi
(I doubt if that will help for your suspend problem, but worth trying anyway)
Fred
- Attachments
-
- open_with.png
- Open with...
- (45.87 KiB) Downloaded 449 times
Am at early stage of writing a simple app to control webcam parameters and for image/video previews was hoping to use:
However, I find there is a lag in the mpv playing webcam video of several seconds (i.e. it can't keep up with movements - as if it is buffering first). I've only tested this with XenialDog64 mpv.
There is no such lag when using the mplayer available in XenialDog64 with "mplayer tv://" command but I'd like possibility of using mpv as alternative to mplayer if desired. Anyone come across an mpv lag fix for the above?
wiak
EDIT: I've tried creating ~/.config/mpv/mpv.conf and playing around with options like cache=nnn and demuxer-readahead-secs=nnn but not having any effect. Might not be doing it right but as I say mplayer works fine - webcam image keeps up with movements with no lags/delay at all.
Code: Select all
mpv av://v4l2:/dev/video0
or
mpv tv://
There is no such lag when using the mplayer available in XenialDog64 with "mplayer tv://" command but I'd like possibility of using mpv as alternative to mplayer if desired. Anyone come across an mpv lag fix for the above?
wiak
EDIT: I've tried creating ~/.config/mpv/mpv.conf and playing around with options like cache=nnn and demuxer-readahead-secs=nnn but not having any effect. Might not be doing it right but as I say mplayer works fine - webcam image keeps up with movements with no lags/delay at all.
Hi wiak, maybe try newer mpv, didn't test on XD, but I expect it works:
https://fredx181.github.io/bionicdog/Pa ... _amd64.deb
Fred
https://fredx181.github.io/bionicdog/Pa ... _amd64.deb
Fred
hmmm... well I tried installing that mpv you provided fred by right click install deb action from pcmanfm. However, that revealed there were missing dependencies, which I thought it was then auto-installing... But actually, it was installing a lot of other stuff (including mplayer...) whilst removing gnome-mplayer and mpv amongst some other stuff.fredx181 wrote:Hi wiak, maybe try newer mpv, didn't test on XD, but I expect it works:
https://fredx181.github.io/bionicdog/Pa ... _amd64.deb
Fred
How best to install it? Maybe if I noted some of the apparently missing dependencies and installing them first? Sorry, haven't had time to try more.
wiak