Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556402 - media-video/mjpg-streamer-0_pre20120621 outputs empty picture when using a kernel newer than 3.18
Summary: media-video/mjpg-streamer-0_pre20120621 outputs empty picture when using a ke...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: ChaosEngine
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-31 17:18 UTC by Sebastian Heyn
Modified: 2015-08-10 10:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with new patch for >=kernel-3.18 (mjpg-streamer-0_pre20120621-r1.ebuild,1.93 KB, text/plain)
2015-08-10 09:12 UTC, ChaosEngine
Details
patch for >=kernel-3.18 (0_pre20120621-to-work-with-kernel-3.18.patch,3.34 KB, patch)
2015-08-10 09:13 UTC, ChaosEngine
Details | Diff
single patch file for version 0_pre20120621-r1 (mjpg-streamer-r1-kernel-3.18.patch,6.60 KB, patch)
2015-08-10 10:16 UTC, ChaosEngine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Heyn 2015-07-31 17:18:55 UTC
After updating kernel newer than 3.18, the streamer outputs an empty picture. 


Reproducible: Always

Steps to Reproduce:
1. upgrade kernel
2.
3.
Actual Results:  
empty stream

Expected Results:  
image content

The problem has been also reported for raspberry pi. 
https://github.com/raspberrypi/firmware/issues/347

and a solution is available here, which did not work for me after compilation

https://github.com/codewithpassion/mjpg-streamer/pull/4
Comment 1 ChaosEngine 2015-08-04 09:38:44 UTC
Good catch, works for my on kernel-4.* I will try to prepare new ebuild based on github fork, coz sourceforge is pretty much dead.
Comment 2 Sebastian Heyn 2015-08-05 15:52:16 UTC
Sorry for asking. do you mean it works for you with the old one or the github version? 
If it works with new kernel+old version may I ask for your .config so I can check which settings gives the issue for me?
Comment 3 ChaosEngine 2015-08-05 16:28:49 UTC
(In reply to Sebastian Heyn from comment #2)
> Sorry for asking. do you mean it works for you with the old one or the
> github version? 
> If it works with new kernel+old version may I ask for your .config so I can
> check which settings gives the issue for me?

It works (since 2 days on my rig) both with old sourceforge and github version.

My gentoo-sources-4.0.5-gentoo amd64 .config:
http://sprunge.us/CDFa
Comment 4 ChaosEngine 2015-08-10 09:12:33 UTC
Created attachment 408710 [details]
ebuild with new patch for >=kernel-3.18
Comment 5 ChaosEngine 2015-08-10 09:13:33 UTC
Created attachment 408712 [details, diff]
patch for >=kernel-3.18

for media-video/mjpg-streamer-0_pre20120621-r1  ebuild
Comment 6 ChaosEngine 2015-08-10 10:16:58 UTC
Created attachment 408714 [details, diff]
single patch file for version 0_pre20120621-r1

incorporated 0_pre20120621-to-work-with-kernel-3.18.patch and mjpg-streamer-0_pre20120621-r1.ebuild
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-10 10:27:31 UTC
(In reply to ChaosEngine from comment #6)
> Created attachment 408714 [details, diff] [details, diff]
> single patch file for version 0_pre20120621-r1
> 
> incorporated 0_pre20120621-to-work-with-kernel-3.18.patch and
> mjpg-streamer-0_pre20120621-r1.ebuild

Better post 2 files, as you did before. Anyway, patch works with me, and now all fixes in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5356a342d4ad09098a73f130105ff049c56318ce