DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
Old 2nd December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by kerasi View Post
is it normal to have 30% or more cpu usage?
I don't know. I do not have your hardware, so I cannot replicate your experience. I'll recommend again, post your dmesg, your X.org log, and your problem details to the misc@ mailing list -- you'll likely get better answers from people with the same or similar equipment.

My main OpenBSD workstation is a netbook with a 1200x600 display and an Atom N270 that struggles to play 840x480 at 24 fps. With mplayer. Playing video via Firefox is impossible. However, the netbook works great as a DLNA media server to media players, because that doesn't involve any of its terrible video hardware. Serving 1280x720x50fps to a PS3 operating as a media player consumes around 3% of its CPU.

Last edited by jggimi; 2nd December 2014 at 06:12 PM. Reason: clarity, typo
Reply With Quote
Old 4th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

thank you very much jggimi i will post them my problem :-)


thank you again
Reply With Quote
Old 5th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

I think the problem must be my graphic card i have no accelaration the system is very quick only youtube vimeo and other that uses flash it is so sad :-(
Reply With Quote
Old 5th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by kerasi View Post
I think the problem must be my graphic card...
We here (or the misc@ mailing list) would not know this without a copy of your /var/log/Xorg.0.log. I believe I mentioned this particular log file at least twice, above.
Quote:
... that uses flash ...
This is discussed in FAQ 13.14.
Reply With Quote
Old 5th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

I have sent the log files to misc@mailinglist
Reply With Quote
Old 5th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Are you certain you used the correct Email address? I have not seen an Email regarding your problem posted there.

The word "misc" must be placed to the left of the at sign "@", and the domain "openbsd.org" must be placed to the right of the at sign "@". I have provided the Email address in this form to try to prevent the address from being harvested for spam.

More information is available at http://www.openbsd.org/mail.html

Last edited by jggimi; 5th December 2014 at 04:21 PM. Reason: typo, clarity
Reply With Quote
Old 5th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

hello is it now ok? is my problem posted there?
Reply With Quote
Old 5th December 2014
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by kerasi View Post
...is my problem posted there?
Yes, your post has been distributed.

http://marc.info/?l=openbsd-misc&m=141782107028947&w=2

The project's page on mailing lists gives URL's to a number of archive sites:

http://www.openbsd.org/mail.html

...& you can confirm receipt & distribution yourself.
Reply With Quote
Old 6th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I have not seen any replies on the mailing list yet. But I did notice this in your Xorg.0.log output:
Code:
[    28.842] (--) intel(0): Output LVDS1 using initial mode 1600x900 on pipe 0 
[    28.842] (--) intel(0): Output DP2 using initial mode 1920x1200 on pipe 1
Neither display is configured to display 4K video. LVDS1 is capable of displaying 720p, and DP2 is capable of displaying 1080p.

Reply With Quote
Old 8th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

yes my Laptop can HD+

and my external Monitor is an http://www.pcmag.com/article2/0,2817,2362472,00.asp

i will try this week to put this into

/etc/sysctl.conf

'machdep.allowaperture=1'

maybe it works than
Reply With Quote
Old 8th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

My point was that you reported performance problems with 4K video. Neither monitor is 4K-capable; your video system must downscale any 4K video to display it. The scaling down of video to fit your displays may be the source of your performance problem.

The OpenBSD xf86(4) Aperture driver is no longer required with KMS-capable Intel and Radeon hardware. You may ignore the warning message, according to the original OpenBSD Journal Article that announced this feature.

Last edited by jggimi; 8th December 2014 at 05:51 PM. Reason: clarity
Reply With Quote
Old 8th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

Hello jggimi

i play on youtube trailer with 360p,480p,720p,1080p,1440,2160p

and the video playback with firefox,chrome on 360p is very poor it falters also 480p and so on.

On windows 7 pro i can play the trailers on fullscreen size only 2160 falters a little.

On Linux which i had bevore all works fine no falter.

As i say bevore when i play the downloaded videos they run without falter perfectly and the cpu usage where about 8-15% unfortunately it works only so. I hope hey will find a solution for me but i will try this week to set 'machdep.allowaperture=1'.

ps: i had in the past installed OpenBSD 5.4 and as i remeber i had no problem with firefox and trailers only when i played my avi. .mp4 with vlc or mplayer when they speak it was not synchronus.

Also the resolution was not set right to my 24' NEC i had to set it with xrandr now it was set automaticaly right.
Reply With Quote
Old 8th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by kerasi View Post
...the video playback with firefox,chrome on 360p is very poor it falters also 480p and so on.
This was not clear from your initial report here.
Quote:
On windows 7 ...only 2160 falters a little.
Due to downscaling, I assume.
Quote:
i will try this week to set 'machdep.allowaperture=1...
You can make the change, but as I just stated, this is unlikely to "fix" your performance issue. For systems that require the Aperture driver, X will not run if it is not enabled. For systems that do not require it, it is not used.
Reply With Quote
Old 8th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

what did you think occures the problem? my graphic card? the drivers?
iam so sad about that i like OpenBSD so much i like the puristic style of fvwm
Reply With Quote
Old 8th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by kerasi View Post
what did you think occures the problem? my graphic card? the drivers?
You've reported that you have a problem with video using Firefox or Chrome. You have stated, above, that you do not have the same problem when playing videos previously downloaded with youtube-dl. I assume, but you did not state, that you played the previously downloaded video using mplayer or some other video player application, rather than Firefox or Chrome.

Since the problem occurs with the browser, but (if I understood your report) does NOT occur with mplayer, then the problem is NOT caused by your graphics card or graphic driver. Instead, it is due to how the browsers display video.

These browsers are large, complex applications, with dozens of dependencies. Determining the source of the problem may be very difficult to do. (It so happens my workstation, being i386, is too small an architecture to be able to build the debugging version of Firefox.)

If you do not received further help here, or from misc@, and you require video-embedded-in--a-browser, I recommend using Linux or Win7 for this requirement. Choose your OS based on your application requirements.

Since you mention you prefer fvwm, you can install and run that window manager on Linux if you wish.
Reply With Quote
Old 8th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

ok i understand what you say

yes with mplayer all are fine,lip speaking erc all synchronous

thank you indeed for all the help and patient you give to me
Reply With Quote
Old 15th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

hello jggimi

i installed today OpenBSD 5.6 snapshot for i386

i have installed chrome and i get this message when i start

Code:
$ chrome
/usr/local/bin/chrome[17]: ulimit: bad -d limit: Invalid argument
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
what does this mean?

this shows top when i play this with 720p
Code:
load averages:  1.73,  1.48,  1.30                      cray.my.domain 16:55:21
46 processes: 43 idle, 3 on processor
CPU0 states: 23.2% user,  0.0% nice,  9.2% system,  3.4% interrupt, 64.3% idle
CPU1 states: 21.4% user,  0.0% nice, 11.0% system,  0.0% interrupt, 67.7% idle
CPU2 states: 28.7% user,  0.0% nice, 22.2% system,  0.0% interrupt, 49.1% idle
CPU3 states: 32.5% user,  0.0% nice, 18.8% system,  0.0% interrupt, 48.7% idle
Memory: Real: 418M/1247M act/tot Free: 2178M Cache: 685M Swap: 0K/3749M

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
24729 xc40      28    0  323M  280M onproc    thrslee   0:43 27.93% chrome
 7430 xc40       2    0  156M  143M onproc    poll      0:52 23.83% chrome
32615 xc40       2    0   11M   29M sleep     select    1:18 14.31% Xorg
but the videos run fluently also with mplayer there i have this CPU usage
Code:
load averages:  1.01,  1.12,  1.28                      cray.my.domain 17:12:33
47 processes: 46 idle, 1 on processor
CPU0 states:  1.8% user,  0.0% nice,  1.4% system,  0.0% interrupt, 96.8% idle
CPU1 states:  0.4% user,  0.0% nice,  0.8% system,  0.0% interrupt, 98.8% idle
CPU2 states:  0.8% user,  0.0% nice,  1.6% system,  0.0% interrupt, 97.6% idle
CPU3 states:  4.6% user,  0.0% nice,  1.6% system,  0.0% interrupt, 93.8% idle
Memory: Real: 374M/1220M act/tot Free: 2205M Cache: 664M Swap: 0K/3749M

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
32615 xc40       2    0   11M   57M sleep     select    2:50  5.13% Xorg
 7430 xc40       2    0  154M  121M sleep     poll      2:38  2.78% chrome
Reply With Quote
Old 15th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by kerasi View Post
i installed today OpenBSD 5.6 snapshot for i386
If this is your Thinkpad, you are only using 3GB of its 16GB RAM, because that is the maximum amount of RAM addressable by OpenBSD/i386.
Quote:
what does this mean?
The file /usr/local/bin/chrome is a Bourne shell script. The error occurs with one of the shell script's ulimit -d commands within the script. I do not have enough information to tell you why the command has failed. I also do not have enough information to be able to tell you if if the LibGL errors which follow are caused by or related to the first error, or if they are unrelated and a separate problem.

--------

The -current branch of the OS is where development occurs, and it is under constant change. Whenever you wish to report an issue with a -current system, a full dmesg(8) is always helpful. At minimum, you must report the first two lines of your dmesg, (obtainable with $ sysctl kern.version). Snapshots are built as developers need them, which can be several times in a single day on some architectures and at some times, and your local mirror may have a different snapshot from another local mirror.

The message regarding ulimit failure indicates a problem with your user's process limits, which we have previously discussed. The class being used by the running user is needed. If you have customized /etc/login.conf to change class limits, please let us know.

Since your problem involves www/chromium, and you are running -current, please provide the specific installed package you are using. The chromium port was just updated two days ago, and I do not know what package you have installed.

Since the LibGL errors appear to be related to X11 drivers, once again, the contents of your /var/log/Xorg.0.log file may be helpful.

In summary, post:
  1. dmesg
  2. class of running user
  3. www/chromium package specification
  4. Xorg.0.log
Reply With Quote
Old 15th December 2014
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by jggimi View Post
If this is your Thinkpad, you are only using 3GB of its 16GB RAM, because that is the maximum amount of RAM addressable by OpenBSD/i386.
...and therefore you should start over, using OpenBSD/amd64 as your platform.

To tell if your CPU supports running the amd64 platform, let's take a look at your dmesg. Specifically this line:
Code:
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
The fourth to last item on that list is LONG. If you see LONG in your CPU's feature set then it is very likely that you want to use the OpenBSD/amd64 platform, as you have a 64-bit CPU.
Reply With Quote
Old 25th December 2014
kerasi kerasi is offline
Shell Scout
 
Join Date: Mar 2013
Location: Germany
Posts: 90
Default

Hello and Marry Christmas

so i have now installed 5.6 current #692 and all run fluently :-)

chrome watching youtube,vimeo very good now
mplayer super fast it is great now

i dont know what they have change but now it is perfect :-)

ps: how can i disable the bell in tty?
and the time is + 1 hour how can i change that???

ls -l /etc/localtime shows me the right Zone

in my BIOS the Time is ok

Last edited by kerasi; 25th December 2014 at 05:59 AM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Plugins syrushcw FreeBSD Ports and Packages 0 16th December 2011 08:42 PM
Firefox 4 classicmanpro General software and network 14 3rd April 2011 01:50 PM
firefox darken FreeBSD General 5 27th July 2008 11:01 PM
Upgrading firefox to firefox 3 -keeping plugins+bookmarks kasse FreeBSD Ports and Packages 11 5th July 2008 01:34 PM
firefox problems bsdnewbie999 FreeBSD General 2 16th May 2008 05:39 AM


All times are GMT. The time now is 03:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick