Page 3 of 5

Re: Porteus-v2.0-x86_64 bug reports

Posted: 16 Mar 2013, 16:38
by oranus
Hi fanthom,

In early release 1.2 has power-saver script to decrease CPU frequency but 2.0 doesn't have. Do I miss something? How can I decrease cpu frequency on 2.0.

Thanks for everything.....

Re: Porteus-v2.0-x86_64 bug reports

Posted: 16 Mar 2013, 21:40
by brokenman
v2.0 uses laptop-mode tools.

You can tweak the config file here:
/etc/laptop-mode/conf.d/cpufreq.conf

Re: Porteus-v2.0-x86_64 bug reports

Posted: 16 Mar 2013, 22:57
by att
Hello,

I have another problem with Porteus2.0 64bit (both KDE and XFCE).
When I want to view an AVI-video-file, it will only play the sound, but it will not display the video.
This is true both for MPLAYER (invoked by MC (Midnight Commander)) and Gnome Player.

Re: Porteus-v2.0-x86_64 bug reports

Posted: 17 Mar 2013, 01:25
by brokenman
Try to find the codec/compression used for the avi file. Also any errors in console when starting the file?

Re: Porteus-v2.0-x86_64 bug reports

Posted: 18 Mar 2013, 07:18
by cttan
Hi fanthom,

I have tested using Always Fresh mode and putting my laptop to sleep mode for 10 times. 5 times with power connected and 5 times on battery. Porteus never crash. :Bravo:

Another issue is I am unable to get the battery info screen when I press the Battery Monitor icon from the triangle shape icon pop up screen.

Edited 19 Mar 2013
Snapshot with the problem:-
http://postimage.org/image/sflrfesb7/

Snapshot when the AC is unplugged and the Battery Monitor is in the tray icon:-
http://postimage.org/image/hikfqn5jn/

Re: Porteus-v2.0-x86_64 bug reports

Posted: 18 Mar 2013, 08:39
by fanthom
@Rava
a) please upgrade to 2.0 final first -> test hdmi sound without nVidia driver (for debugging purpose) -> if still not work then please test on Ubuntu/other linux with reent kernel (i want to make sure that hardware is ok and that kernel driver can handle it)
b) ffmpeg was created for converting files between formats, mplayer was created for playing files.
btw: i'll update mplayer to latest version for next release.

@oranus
please have a look here for details what needs to be changed in LMT config:
http://forum.porteus.org/viewtopic.php? ... 431#p12431

@cttan
a) you can try to unload external drivers before going to sleep as described in this arch wiki:
https://wiki.archlinux.org/index.php/Pm ... end_to_RAM
(did not test myself)
i hope that powerdevil uses pm-utils for suspend so creating /etc/pm/config.d/modules would be enough to sort this issue out.
b) again - pictures are too small to see anything

Re: Porteus-v2.0-x86_64 bug reports

Posted: 18 Mar 2013, 09:59
by att
Sorry, I was not specific enough.
All video players in Porteus2.0/64bit CANNOT play videos if they are called from inside a vncserver window.
To re-create the bug:
a) Boot porteus (any way you want), start X session (any way you want).
b) Play a video, for example, with mc and pressing F3, which invokes the video-player. Everything seems alright.
c) start a vncserver: vncserver -geometry 1280x1024 - choose your password
d) connect to the vnc: "vncviewer localhost:1" -> vncviewer asks you for your password
e) inside the VNCVIEWER window, start terminal, in terminal: start MC, and try to display a video. Result: All video playback is gone! :shock:

Any solution appreciated.

Re: Porteus-v2.0-x86_64 bug reports

Posted: 18 Mar 2013, 11:31
by fanthom
@att

that's clear now as default driver for mplayer is 'xv' and virtual session does not support it.
please switch video driver to 'x11' in smplayer/gnom mplayer preferences and should be fine (performance may suffer but we have no choice in this case).

Re: Porteus-v2.0-x86_64 bug reports

Posted: 19 Mar 2013, 02:58
by cttan
Hi fanthom,

How do I know which external drivers to unload? Any clue here? Any list available?

I have uploaded the picture to the previous post.

Re: Porteus-v2.0-x86_64 bug reports

Posted: 19 Mar 2013, 07:56
by fanthom
hi cttan,

a) kde4 devs decided to hide battery monitor by default in certain scenarios (on AC, fully charged, etc.. seen bug report but cant find the link now). to change default settings please do:
right mouse click on System Tray -> System Tray Settings -> Entries -> Change Battery Monitor to "Always Visible"

b) you could run following command to find kernel drivers not provided with default ISO:

Code: Select all

find /mnt/live/memory/images -name "*.ko$" | grep -v 00
Cheers

Re: Porteus-v2.0-x86_64 bug reports

Posted: 20 Mar 2013, 03:44
by cttan
Hi fanthom,

Battery meter works now.

External drivers:-
# find /mnt/live/memory/images -name "*.ko" | grep -v 00
/mnt/live/memory/images/VirtualBox-4.2.6-porteus-v2.0-x86_64-1ftm.xzm/lib/modules/3.7.8-porteus/misc/vboxdrv.ko
/mnt/live/memory/images/VirtualBox-4.2.6-porteus-v2.0-x86_64-1ftm.xzm/lib/modules/3.7.8-porteus/misc/vboxnetadp.ko
/mnt/live/memory/images/VirtualBox-4.2.6-porteus-v2.0-x86_64-1ftm.xzm/lib/modules/3.7.8-porteus/misc/vboxnetflt.ko
/mnt/live/memory/images/VirtualBox-4.2.6-porteus-v2.0-x86_64-1ftm.xzm/lib/modules/3.7.8-porteus/misc/vboxpci.ko

Re: Porteus-v2.0-x86_64 bug reports

Posted: 20 Mar 2013, 13:42
by oranus
Thanks to brokenman and fanthom.
I change CPU_GOVERNOR=performance to "ondemand" on /etc/laptop-mode/conf.d/cpufreq.conf but
"CPU_GOVERNOR=performance" is set on default whether configuration on /etc/laptop-mode/conf.d/cpufreq.conf.
So I add rc.local to /etc/rc.laptop-mode start to set CPU_GOVERNOR=ondemand
Thanks....

Re: Porteus-v2.0-x86_64 bug reports

Posted: 27 Mar 2013, 01:51
by Pedro
oranus wrote:Thanks to brokenman and fanthom.
I change CPU_GOVERNOR=performance to "ondemand" on /etc/laptop-mode/conf.d/cpufreq.conf but
"CPU_GOVERNOR=performance" is set on default whether configuration on /etc/laptop-mode/conf.d/cpufreq.conf.
So I add rc.local to /etc/rc.laptop-mode start to set CPU_GOVERNOR=ondemand
Thanks....
I had the same problem, cpu always in performance mode, your solution made it work
Thanks

Re: Porteus-v2.0-x86_64 bug reports

Posted: 27 Mar 2013, 11:11
by att
Another bug: When I boot via Option 1 (boot to graphic menu) and when I get to the login screen,
and if I leave all options to "default" it DOES NOT let me log in.
Only if I select something else than "default", for example "LXDE" or "KDE", then the login works.

Re: Porteus-v2.0-x86_64 bug reports

Posted: 27 Mar 2013, 11:52
by att
Addendum: When I boot to the graphical interface, and do log in with KDE (or anything else), everything looks fine.
But when I start a terminal and inside the terminal another vncserver, and when I connect to the vnc using vncviewer, the window does not look fine anymore:

http://666kb.com/i/ccpn6vzo589xmh6sh.jpg

No buttons, no background, no option to move or resize any window, just one "unmoveable" terminal. - What's going on?