Excessive CPU use while capturing
Bug #500649 reported by
jorge
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Luciole |
Fix Released
|
High
|
NicoInattendu | ||
0.8 |
Fix Released
|
High
|
NicoInattendu | ||
luciole (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
luciole-0.7.4 (34) from the PPA, Ubuntu Karmic, with a logitech webcam. While luciole is capturing from the webcam, the CPU utilization pegs at 100%.
Related branches
lp:~nico-inattendu/luciole/bug_excessive_cpu
Merged
into
lp:luciole/0.8
- NicoInattendu: Approve
-
Diff: 804 lines (+364/-74)8 files modifiedlucioLib/gui/dialog_project_properties.py (+166/-24)
lucioLib/lcl_gst/lcl_gst_acq.py (+41/-11)
lucioLib/lcl_gst/lcl_gst_base.py (+10/-6)
lucioLib/lcl_gst/lcl_gst_play.py (+0/-1)
lucioLib/lucioWebCamDetect/luciole_webcam_detection.py (+70/-16)
lucioLib/luciole_controller.py (+11/-6)
lucioLib/luciole_project.py (+64/-10)
luciole.py (+2/-0)
Changed in luciole: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → NicoInattendu (nico-inattendu) |
milestone: | none → 0.8.1 |
Changed in luciole (Ubuntu): | |
status: | New → Confirmed |
Changed in luciole: | |
status: | In Progress → Fix Committed |
summary: |
- Excesive CPU use while capturing + Excessive CPU use while capturing |
tags: | added: acquisition gstreamer |
To post a comment you must log in.
Part of the trouble is with jpegenc in PhotoSaveBin. If i understand it right, it is encoding all the time. If i replace jpegenc with identity the utilization is reduced (the capture is broken, obviously, just looking for cpu hogs). Even with this, the cpu gets hit, but at the same level than cheese (about 50%). With jpegenc enabled y see two proceses with 50% each.
Perhaps it could be possible to link jpegenc right before the snapshot is taken, and unlink it after.