|
News News regarding BSD and related. |
|
Thread Tools | Display Modes |
|
|||
The many ways of running Firefox on OpenBSD
http://undeadly.org/cgi?action=artic...20170425173917
Quote:
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase Last edited by e1-531g; 27th April 2017 at 12:24 PM. |
|
|||
Quote:
Tested on my toshiba nb305 netbook with 1GB ram. Added 1 GB more and still it's unbearable. |
|
|||
ok, so how do I smoothly run a youtube video on my openbsd?
|
|
||||
Have you increased the ulimit for firefox yet?
https://marc.info/?l=openbsd-misc&m=149338191601850&w=2 I use this (my normal user is in the staff group): Code:
staff:\ :datasize-cur=3072M:\ :datasize-max=infinity:\ :maxproc-max=512:\ :maxproc-cur=256:\ :ignorenologin:\ :requirehome@:\ :tc=default: |
|
|||
Before FF could stream videos from YT, I was using Chromium, but I don't know how many RAM does Chromium wants.
One also can use ./www/youtube-dl package to download and then play using ./multimedia/mpv. You can also experiment with SMTube, SMPlayer.
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
|||
Actually mpv could use youtube-dl internally to download video. Some examples with the same video, but different resolution and framerate:
Code:
#720p@30fps mpv --ytdl-raw-options=format=22 ytdl://https://www.youtube.com/watch?v=6_W2w0oBwb8 #720p@60fps mpv --ytdl-raw-options=format=298+140 ytdl://https://www.youtube.com/watch?v=6_W2w0oBwb8 #1080p@60fps mpv --ytdl-raw-options=format=299+140 ytdl://https://www.youtube.com/watch?v=6_W2w0oBwb8
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
|||
I increased the u limit for Firefox, but it's still soooo slow.
On my Toshiba NB305 with 1,6GHz and 2GB RAM it's making my CPU work hard at 100% and ~60C... It uses around 320MB RAM. I mean seriously... 1,6GHz + 2 GB is not that little. The same thing happens with Chrome, although it seems just a little lighter. Is there a way for me to watch a YT video like a decent human being? Downloading and watching via ytdl is a poor option since while looking for something I often browse through YT and I sometimes listen to music via yt playlists. And guys, come on...to be honest, using youtube by downloading via youtube downloader and watching on mpv is like watching porn on vhs when each time you have to go to the video rental shop |
|
|||
I was worried your gonna say this...but its battery though, amazing. 7 years and still full capacity!!!
So, anyone wants to buy a really cool Toshiba NB305? Or sell a decent ThinkPad? |
|
||||
It's a fact of life that Firefox is simply slow, full stop. Even on my relatively new Linux i5-6400 machine with 8GB RAM the performance difference between Firefox and Chromium is quite large.
It's workable ... most of the time. Although some web applications are literally unusable. The development tools are also so slow that it's semi-useless. There's this old joke, "computer have become a thousand times faster in the last 30 years but the time it takes to start your word processor is the time". When it comes to "the web" matters seem to be even worse :-( |
|
|||
Stated another way, applications are developed to run developers' machines. As long as users are using similar hardware configurations, applications should run as experienced (& expected) by developers.
|
|
||||
That's certainly true, but I think that's just part of the story. The other part is that the developer community is collectively suffering from a second system effect, resulting in some very smart people producing very poor software. This is especially the case for the web developer community in my observation.
|
|
|||
Quote:
Somewhere between 5.9 and 6.0 release there were improvements to OpenBSD which resulted in Youtube working on most recent laptops and mine is included. I have two core Sandy Bridge-based 2,2GHz Pentium-class processor underclocked to 1,3Ghz and I can watch Youtube in Firefox. Switching between videos is rather slow, but when video starts playing I can watch it. I have also 6GB DDR3 RAM@1333 MHZ though. Quote:
Firefox running on OpenBSD is slow, so I use Chromium most of the time. On the other side clean Firefox (without extensions, cache cleared from time to time) is running fine on my Windows system and it should be to running good on Gnu/Linux distros too.
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
|||
... firefox bug? ...
Not to interject off-topic, but here firefox, if one inputs a number, 3 for instance, into a text box, often one is put into a whole other TAB rendering web input useless. [ FreeBSD not openbsd... but ...]. Partially fixed by using 'three' instead of '3' ...
__________________
FreeBSD 13-STABLE |
|
|||
ok, I know it's low-end and generally slow CPU, but comparing to Windows 7 or Lubuntu I tested on it, OpenBSD's firefox seemed the slowest. That's it, just an observation.
But you're right. I might be expecting too much, so I'll do a test on a really powerful machine as soon as I get my hands on one. |
|
||||
This blog entry is a year old now and I'm sure that progress has been made since then but it discusses some of the issues in respect of FF performance in OpenBSD:
http://www.tedunangst.com/flak/post/firefox-vs-rthreads I think it is important to recognise that the speed gains enjoyed by other operating systems will almost certainly inflict a cost in other areas. Or to quote fortune(6): Quote:
|
|
|||
Quote:
'single key tab switch' which I disabled, restarted firefox, 'solved'
__________________
FreeBSD 13-STABLE |
Tags |
browser, firefox, openbsd |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
running OpenBSD from live CD's | bsd-keith | OpenBSD Installation and Upgrading | 22 | 29th March 2015 03:28 PM |
How is SSL hopelessly broken? Let us count the ways | J65nko | News | 0 | 12th April 2011 01:17 AM |
Running Symantec Netbackup under OpenBSD | tcleamy | OpenBSD General | 2 | 26th March 2011 04:20 AM |
Getting OpenBSD up and running | Larry | OpenBSD Installation and Upgrading | 10 | 14th May 2010 11:14 PM |
Anyone running an OpenBSD email server ? | roundkat | OpenBSD General | 9 | 10th May 2008 03:08 AM |