LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 10-02-2020, 08:48 PM   #1
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Rep: Reputation: 7
Openbox video keeps pausing on FreeBSD


Hi there,


I am tesing NomadBSD with Openbox, I find Youtube video keeps pauses every 10 sec. but worked fine with other flavor of *BSD, I am not sure it was Openbox or NomadBSD to caused that, but I want to stick with Openbox coz it is lightweight and responsive, any comment ?
 
Old 10-03-2020, 04:10 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
So you are having performance issues when playing youtube video in your browser even on a lightweight desktop?
IMHO the windowmanager has very little to do with it, you should probably check your browser choice, version, configuration, number of open tabs, javascript & cookie policy...
Or you could try to play youtube videos without the browser, e.g. with mpv + youtube-dl. This is known to be much lighter on resources.
 
Old 10-04-2020, 07:56 PM   #3
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by joboy View Post
Hi there,


I am tesing NomadBSD with Openbox, I find Youtube video keeps pauses every 10 sec. but worked fine with other flavor of *BSD, I am not sure it was Openbox or NomadBSD to caused that, but I want to stick with Openbox coz it is lightweight and responsive, any comment ?
I have FreeBSD with Openbox and youtube works fine but I don't know about NomadBSD.
 
Old 10-04-2020, 10:38 PM   #4
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by ondoho View Post
So you are having performance issues when playing youtube video in your browser even on a lightweight desktop?
IMHO the windowmanager has very little to do with it, you should probably check your browser choice, version, configuration, number of open tabs, javascript & cookie policy...
Or you could try to play youtube videos without the browser, e.g. with mpv + youtube-dl. This is known to be much lighter on resources.

I tried Chrome but same result, the video pauses every 10sec. but audio part non stopping. Have not tried youtube-dl, but if we can not play the video properly straight away in browser then it is a problem to fix.
 
Old 10-04-2020, 10:43 PM   #5
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by Aeterna View Post
I have FreeBSD with Openbox and youtube works fine but I don't know about NomadBSD.

I used Nomad coz it works out of the box with Openbox, I used Gnome before and has no problem playback Youtube, it takes some tweaking to auto start a WM on FreeBSD and I don't know how to switch between different WM like on Linux.
 
Old 10-05-2020, 01:52 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by joboy View Post
I tried Chrome but same result, the video pauses every 10sec. but audio part non stopping. Have not tried youtube-dl, but if we can not play the video properly straight away in browser then it is a problem to fix.
Just give us the specs of your machine, namely CPU, RAM, GPU & driver, and type of hard drive (spinning: how fast).
It could also be a network buffering problem.
 
Old 10-09-2020, 07:35 PM   #7
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by ondoho View Post
Just give us the specs of your machine, namely CPU, RAM, GPU & driver, and type of hard drive (spinning: how fast).
It could also be a network buffering problem.

Sorry for the late reply, it is a Zotac mini black box PC with Celeron N3450 @ 1.10GHz and 4G memory, I know it is old but quite capable, if upgrade memory can fix that I will do it, also install SSD...
 
Old 10-10-2020, 04:32 AM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
Quote:
Requirements

The images for 64-bit and 32-bit computers fit on a >=5GB USB flash drive. A system with a 1.2GHz CPU and 1G of RAM should be able to run NomadBSD decently. Booting is possible via BIOS and UEFI.
Over USB it will be too slow to play video, even with a faster processor, you would likely have problems - only 'possible' solution I can think of would be to increase your video buffer size, but I'm not sure that you can.
 
Old 10-10-2020, 11:41 PM   #9
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by fatmac View Post
Over USB it will be too slow to play video, even with a faster processor, you would likely have problems - only 'possible' solution I can think of would be to increase your video buffer size, but I'm not sure that you can.

I actually installed it on the hard drive with the build in installer, I also replaced the hard drive with SSD, overall performance much improved but video playback still pausing. On the otherhand I installed Debian on a SSD for USB boot and it runs extremely well on the same machine, so there is something in Nomad or Openbox to have caused the problem.
 
Old 10-20-2020, 03:49 AM   #10
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
I finally installed Gnome and now I got a basic Gnome desktop when boot up, but both my Firefox and Thunderbird stopped working with error :

"Your Firefox/Thunderbird profile cannot be loaded. It may be missing or inaccessible"

I removed both also removed the hidden profile folder and reinstall but still the same error, I am posting this with Chrome. I tested again Youtube and there is no pausing in the video, or too brief I can't see, so the problem basically fixed and it was OpenBox to blame but only on FreeBSD, Linux seems to be more reliable and fast on the same machine. Since the system pretty messed up after the changes, I will reinstall from ground up and add Gnome to see what comes.
 
Old 10-20-2020, 08:53 AM   #11
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Unless I'm misunderstanding you: Firefox is not working, so you have not tested playing video...? So for all you know, that situation could be unchanged.

Chromium works (and may have worked running under openbox if you'd tested it?).

Regarding the profile, you'll have to delete the dot files in ~/.mozilla/firefox and ~/.cache/mozilla/firefox

Or you could ensure your user has ownership of those files (as I suspect you've caused this by running firefox as root?)

You may find that performance is unchanged in firefox after you've done all that - in which case, I suggest you use chromium if it works.
 
Old 10-21-2020, 12:42 AM   #12
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
Thank guys for the input, sorry if I've confused you. I reinstall the system from ground up and then add Gnome to it, I got a basic Gnome desktop but got some problem, the sound is not working I only got noise, and I can't add printer, after some messing around I decided to reinstall with GhostBSD, it is ready made everything worked so I can at least test the video playback and it worked fine on any browser, so from there I can try to install other desktop.
 
Old 10-21-2020, 02:45 AM   #13
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
It's not helpful to those attempting to to assist you with these problems, if you're going to continually chop and change OS and reinstall at the first sign if an obstacle.

You could have achieved the same without seeking advice from others here.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Openbox terminate process upon logout of openbox How to? BW-userx Linux - Software 3 02-23-2019 02:19 PM
[SOLVED] Help! Slack 14.2: video stuttering/looping/pausing in browsers ubiloo Slackware 10 11-07-2017 12:26 PM
Pausing and un-pausing programs from a master program using kill knobby67 Programming 1 01-11-2016 12:55 PM
[SOLVED] "Permission denied" when Openbox tries to execute autostart.sh in ~/.config/openbox alarazr Linux - Software 4 10-04-2012 03:50 PM
Openbox autostart.sh and setting alias on openbox start Jelloir Linux - Desktop 1 07-03-2011 03:56 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration