You are not logged in.

#1 2017-01-18 23:08:48

net5
Member
Registered: 2017-01-18
Posts: 11

VLC - Video

Hello. Just installed bl in a Dell inspiron 15 laptop.
Everything works fine except my VLC playback. Video is extreme lagging. How can i fix that?
Thank you.
Video driver - Intel.

Offline

#2 2017-01-18 23:42:08

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,485

Re: VLC - Video

Try disable compositing by killing/stopping the compton program: https://forums.bunsenlabs.org/viewtopic … 144#p32144.

Alternatively, if the problem is due to e.g. trying to play 1080p or 4k video on a very old laptop, look into using hardware-accelerated decoding of video if it is supported by your integrated GPU, through vaapi: https://wiki.videolan.org/VLC_VAAPI/.


A silent kite against the blue, blue sky

Offline

#3 2017-01-19 03:28:02

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 373

Re: VLC - Video

Or the hardware might be too new to be supported by the stock Jessie video stack. But only you can tell us the model and year of your laptop.

Offline

#4 2017-01-19 07:08:23

net5
Member
Registered: 2017-01-18
Posts: 11

Re: VLC - Video

Hello.
This is my laptop: https://www.snapdeal.com/product/dell-i … 2794688286

I tried to install VAAPI but links dont working in that guide. I find out that when the vlc window is small then the playback is fine but if i go fullscreen then the playback is totally lagging.

Offline

#5 2017-01-19 07:46:11

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video

The video stack in BL is a little old for that hardware but it can be updated, to a degree (the Xorg version will still be old but the Intel drivers will be newer).

Guide here:

https://forums.bunsenlabs.org/viewtopic.php?id=1185


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#6 2017-01-19 11:22:08

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,485

Re: VLC - Video

net5 wrote:

Hello.
This is my laptop: https://www.snapdeal.com/product/dell-i … 2794688286

I tried to install VAAPI but links dont working in that guide. I find out that when the vlc window is small then the playback is fine but if i go fullscreen then the playback is totally lagging.

Ah, it is a new model.

You can follow HoaS suggestion to upgrade the graphics stack as far as possible under Debian Jessie by leveraging backports, or upgrade straight to Debian testing (which is soon to become Debian Stretch) which has newer graphics stuff. Besides Stretch or Jessie backports, you could look at Ubuntu 16.10 for an up-to-date, Debian-like OS.

As a general guideline, in 2014 I bought a then-new Intel Haswell laptop, installed literally the latest Linux kernel and graphics stack, and just last week with the upgrade to Xserver 1.19 I still noted a noticeable bump in graphics performance – it always pays to get the latest graphics stuff when on Linux.


A silent kite against the blue, blue sky

Offline

#7 2017-01-19 14:38:13

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,817
Website

Re: VLC - Video

And a more general suggestion: Use mpv.

Offline

#8 2017-01-19 20:33:21

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video

I have just forked the bunsen-netinstall script and changed the package list so that it will install correctly:

[REDACTED]

Last edited by Head_on_a_Stick (2017-01-20 08:49:46)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#9 2017-01-19 20:51:16

net5
Member
Registered: 2017-01-18
Posts: 11

Re: VLC - Video

I followed the guide provided from Head. Fixed my video problem but messed up with my wifi firmwares. Tryied to reconfigure them but no luck.

Firmware: Network controller: Broadcom Corporation BCM43142 802.11b/g/n
Guide: https://wiki.debian.org/bcm43xx

Offline

#10 2017-01-19 21:00:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video

net5 wrote:

Firmware: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

Ah, my condolences hmm

Please post the *exact* commands that you used.

You should also post the *full* output of the commands, especially in the case of any error messages.

To identify your device, see this guide:

https://wiki.debian.org/HowToIdentifyADevice/PCI


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#11 2017-01-19 21:20:53

net5
Member
Registered: 2017-01-18
Posts: 11

Re: VLC - Video

Reconfigure b43:

sudo dpkg-reconfigure firmware-b43-installer
No chroot environment found. Starting normal installation
--2017-01-19 16:14:57--  http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
Resolving www.lwfinger.com (www.lwfinger.com)... 173.254.28.119
Connecting to www.lwfinger.com (www.lwfinger.com)|173.254.28.119|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13514651 (13M) [application/x-bzip]
Saving to: ‘broadcom-wl-5.100.138.tar.bz2’

broadcom-wl-5.100.13 100%[========================>]  12.89M  1.19MB/s   in 11s    

2017-01-19 16:15:09 (1.18 MB/s) - ‘broadcom-wl-5.100.138.tar.bz2’ saved [13514651/13514651]

Deleting old extracted firmware...
broadcom-wl-5.100.138/
broadcom-wl-5.100.138/linux/
broadcom-wl-5.100.138/linux/wl_apsta.o
broadcom-wl-5.100.138/linux/wl_ap.o
broadcom-wl-5.100.138/linux/wl_sta.o
broadcom-wl-5.100.138/README
broadcom-wl-5.100.138/config/
broadcom-wl-5.100.138/config/wlconfig_lx_shared
broadcom-wl-5.100.138/config/wl.mk
broadcom-wl-5.100.138/config/wl_default
broadcom-wl-5.100.138/config/wl_hnd
broadcom-wl-5.100.138/config/wlconfig_nomimo
This file is recognised as:
  filename   :  wl_apsta.o
  version    :  666.2
  MD5        :  e1b05e268bcdbfef3560c28fc161f30e
Extracting b43/lp0initvals14.fw
Extracting b43/lcn0bsinitvals25.fw
Extracting b43/n0bsinitvals25.fw
Extracting b43/n0bsinitvals17.fw
Extracting b43/ucode17_mimo.fw
Extracting b43/ucode16_lp.fw
Extracting b43/sslpn1initvals27.fw
Extracting b43/lp2bsinitvals19.fw
Extracting b43/sslpn3bsinitvals21.fw
Extracting b43/ucode16_sslpn.fw
  ucode time:     01:15:07
Extracting b43/ucode25_lcn.fw
Extracting b43/ucode21_sslpn.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/ucode20_sslpn.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/lp1initvals20.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/lp2initvals19.fw
Extracting b43/n2bsinitvals19.fw
Extracting b43/sslpn4bsinitvals22.fw
Extracting b43/ucode16_sslpn_nobt.fw
  ucode date:     2011-02-23
Extracting b43/n1bsinitvals20.fw
Extracting b43/n1initvals20.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/ucode22_sslpn.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/ht0initvals26.fw
Extracting b43/ucode33_lcn40.fw
Extracting b43/sslpn1bsinitvals20.fw
Extracting b43/lcn400bsinitvals33.fw
Extracting b43/ucode14.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/lp1bsinitvals22.fw
Extracting b43/n16initvals30.fw
Extracting b43/lp0bsinitvals16.fw
Extracting b43/lcn1bsinitvals25.fw
Extracting b43/lcn400initvals33.fw
Extracting b43/n0bsinitvals24.fw
Extracting b43/lcn2bsinitvals26.fw
Extracting b43/lcn1initvals26.fw
Extracting b43/n0bsinitvals22.fw
Extracting b43/n18initvals32.fw
Extracting b43/lcn2initvals26.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/lcn2initvals24.fw
Extracting b43/lcn0initvals26.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/ucode21_sslpn_nobt.fw
  ucode time:     01:15:07
Extracting b43/ucode26_mimo.fw
Extracting b43/n2initvals19.fw
Extracting b43/sslpn3initvals21.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/sslpn4initvals22.fw
Extracting b43/pcm5.fw
Extracting b43/ucode22_mimo.fw
Extracting b43/ucode9.fw
Extracting b43/lcn2initvals25.fw
Extracting b43/lp1initvals22.fw
Extracting b43/sslpn1bsinitvals27.fw
Extracting b43/lcn0initvals24.fw
Extracting b43/ucode32_mimo.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/n18bsinitvals32.fw
Extracting b43/n0initvals24.fw
Extracting b43/n0initvals25.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/ucode24_lcn.fw
Extracting b43/n0initvals17.fw
Extracting b43/n0bsinitvals16.fw
Extracting b43/lp0initvals15.fw
Extracting b43/b0g0initvals5.fw
Extracting b43/ucode20_sslpn_nobt.fw
Extracting b43/lcn1initvals24.fw
Extracting b43/sslpn0initvals16.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/lp1bsinitvals20.fw
Extracting b43/sslpn2initvals19.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/lcn1bsinitvals24.fw
Extracting b43/ucode5.fw
Extracting b43/lcn2bsinitvals24.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/n0initvals16.fw
Extracting b43/ucode19_sslpn_nobt.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/ucode11.fw
Extracting b43/lp0initvals16.fw
Extracting b43/ucode16_mimo.fw
Extracting b43/lcn0bsinitvals26.fw
Extracting b43/ht0initvals29.fw
Extracting b43/lcn2bsinitvals25.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/ucode29_mimo.fw
Extracting b43/lcn0bsinitvals24.fw
Extracting b43/ucode19_sslpn.fw
Extracting b43/lcn1initvals25.fw
Extracting b43/ucode30_mimo.fw
Extracting b43/n16bsinitvals30.fw
Extracting b43/ucode25_mimo.fw
Extracting b43/ucode24_mimo.fw
Extracting b43/ucode27_sslpn.fw
Extracting b43/lp0initvals13.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/ht0bsinitvals26.fw
Extracting b43/ucode13.fw
Extracting b43/sslpn2bsinitvals19.fw
Extracting b43/ucode15.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/n0initvals11.fw
Extracting b43/lcn0initvals25.fw
Extracting b43/sslpn0bsinitvals16.fw
Extracting b43/sslpn1initvals20.fw
Extracting b43/lcn1bsinitvals26.fw
Extracting b43/n0initvals22.fw
Extracting b43/ht0bsinitvals29.fw

broadcom:

broadcom-sta-dkms:


sudo dpkg-reconfigure broadcom-sta-dkms 

-------- Uninstall Beginning --------
Module:  broadcom-sta
Version: 6.30.223.248
Kernel:  3.16.0-4-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.16.0-4-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod......

Backing up initrd.img-3.16.0-4-amd64 to /boot/initrd.img-3.16.0-4-amd64.old-dkms
Making new initrd.img-3.16.0-4-amd64
(If next boot fails, revert to initrd.img-3.16.0-4-amd64.old-dkms image)
update-initramfs....

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.30.223.248
completely from the DKMS tree.
------------------------------
Done.
Loading new broadcom-sta-6.30.223.248 DKMS files...
Building only for 4.8.0-0.bpo.2-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-4.8.0-0.bpo.2-amd64

b43legacy:

sudo dpkg-reconfigure firmware-b43legacy-installer
No chroot environment found. Starting normal installation
--2017-01-19 16:16:35--  [url]http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o[/url]
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 652866 (638K) [application/octet-stream]
Saving to: ‘wl_apsta-3.130.20.0.o’

wl_apsta-3.130.20.0. 100%[========================>] 637.56K   744KB/s   in 0.9s   

2017-01-19 16:16:37 (744 KB/s) - ‘wl_apsta-3.130.20.0.o’ saved [652866/652866]

Deleting old extracted firmware...
This file is recognised as:
  filename   :  wl_apsta.o
  version    :  295.14
  MD5        :  e08665c5c5b66beb9c3b2dd54aa80cb3
Extracting b43legacy/ucode2.fw
Extracting b43legacy/ucode4.fw
Extracting b43legacy/ucode5.fw
Extracting b43legacy/ucode11.fw
Extracting b43legacy/pcm4.fw
Extracting b43legacy/pcm5.fw
Extracting b43legacy/a0g0bsinitvals2.fw
Extracting b43legacy/b0g0bsinitvals5.fw
Extracting b43legacy/a0g0initvals5.fw
Extracting b43legacy/a0g1bsinitvals5.fw
Extracting b43legacy/a0g0initvals2.fw
Extracting b43legacy/a0g1initvals5.fw
Extracting b43legacy/b0g0bsinitvals2.fw
Extracting b43legacy/b0g0initvals5.fw
Extracting b43legacy/b0g0initvals2.fw

iwconfig:

eth0      no wireless extensions.

lo        no wireless extensions.

Last edited by net5 (2017-01-19 21:25:23)

Offline

#12 2017-01-19 21:53:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#13 2017-01-19 22:08:19

net5
Member
Registered: 2017-01-18
Posts: 11

Re: VLC - Video

Already did that and getting this error:

modprobe wl
modprobe: FATAL: Module wl not found.

Offline

#14 2017-01-19 22:24:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video

Did you try:

sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
sudo modprobe wl

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2017-01-19 22:30:01

net5
Member
Registered: 2017-01-18
Posts: 11

Re: VLC - Video

Yes did that. Same error:

sudo modprobe wl
modprobe: FATAL: Module wl not found.

Offline

#16 2017-01-19 22:40:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video

OK, let's try again from the top:

sudo -i
apt install module-assistant
m-a prepare
aptitude reinstall broadcom-sta-dkms
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
exit

Please post any error messages.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#17 2017-01-19 22:51:57

net5
Member
Registered: 2017-01-18
Posts: 11

Re: VLC - Video

Got this at broadcom reinstall:

aptitude reinstall broadcom-sta-dkms
The following packages will be REINSTALLED:
  broadcom-sta-dkms
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/2,170 kB of archives. After unpacking 0 B will be used.
(Reading database ... 115794 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-dkms_6.30.223.248-3_all.deb ...

------------------------------
Deleting module version: 6.30.223.248
completely from the DKMS tree.
------------------------------
Done.
Unpacking broadcom-sta-dkms (6.30.223.248-3) over (6.30.223.248-3) ...
Setting up broadcom-sta-dkms (6.30.223.248-3) ...
Loading new broadcom-sta-6.30.223.248 DKMS files...
Building only for 4.8.0-0.bpo.2-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.

This at modprobe wl:

modprobe wl
modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='wl'
modprobe: ERROR: could not insert 'wl': Function not implemented
modprobe: ERROR: ../libkmod/libkmod-module.c:960 command_do() Error running install command for wl
modprobe: ERROR: could not insert 'wl': Operation not permitted

Offline

#18 2017-01-19 23:00:53

beaker
Member
Registered: 2016-03-06
Posts: 117

Re: VLC - Video

what kernel are you running then? I says it skipped building for current kernel and built for 4.8

Offline

#19 2017-01-19 23:11:44

net5
Member
Registered: 2017-01-18
Posts: 11

Re: VLC - Video

Linux home 4.8.0-0.bpo.2-amd64 #1 SMP Debian 4.8.15-2~bpo8+2 (2017-01-17) x86_64 GNU/Linux

Offline

#20 2017-01-19 23:19:35

damo
....moderator....
Registered: 2015-08-20
Posts: 5,059

Re: VLC - Video

HoaS may correct me, but it seems you don't have the linux headers installed for that kernel. (Google that module build error message wink )

sudo apt-get update
sudo apt-get install linux-headers-$(uname -r)

Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#21 2017-01-19 23:21:20

beaker
Member
Registered: 2016-03-06
Posts: 117

Re: VLC - Video

Well I'm not too familiar with debian stable or backports so I hope I'm not putting you wrong.

If this was me I'd update sources, install latest backported kernel and headers. Reboot into newly installed kernel and try doing HoaS's post #16 again.

By all means wait until someone intelligent comes along however...

Offline

#22 2017-01-20 05:11:29

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,740
Website

Re: VLC - Video

Head_on_a_Stick wrote:

I have just forked the bunsen-netinstall script and changed the package list so that it will install correctly:https://github.com/Head-on-a-Stick/bunsen-netinstall

I'm going to make a "helium-dev" branch of that netinstall repo very soon. My conclusions about package removal were the same as yours (obmenu will need repackaging), except... why did you add 'ed' and 'vim' to the default package list?? Not letting a bit of personal preference creep in there I suppose?

The section which rebuilds sources.list will need some s/jessie/stretch/g as will the Debian-version test and all the explanations of course. A hefty dose of "EXPERIMENTAL!" here and there too.

Eventually it will access rebuilt BL packages from a future "helium" repo, but meanwhile some hacks will be needed in /usr/bunsen/skel to cope with the hydrogen ones (eg themes and fonts).


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#23 2017-01-20 07:25:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video

johnraff wrote:

why did you add 'ed' and 'vim' to the default package list??

They are essential packages, I will perhaps remove vim but ed is the standard text editor and should remain  monkey

But seriously, that fork was just for my personal usage John, it does not represent a takeover attempt smile


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#24 2017-01-20 07:39:53

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: VLC - Video

@OP: why are you running the jessie-backports kernel?

You said that you had installed a stretch-based version of BL.

Please confirm the status of your system:

apt-cache policy
cat /proc/version

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#25 2017-01-20 08:10:07

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,740
Website

Re: VLC - Video

Head_on_a_Stick wrote:
johnraff wrote:

why did you add 'ed' and 'vim' to the default package list??

They are essential packages, I will perhaps remove vim but ed is the standard text editor and should remain

...that fork was just for my personal usage...

But you're sharing that fork with other users.
Debian says about 'ed': Priority: optional
but if you seriously consider it (and possibly vim) an "essential package" then you should raise it with the other devs and get it added to the install list.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

Board footer

Powered by FluxBB