Bug 1173952

Summary: video freeze on switching channels
Product: [Fedora] Fedora Reporter: Stas Sergeev <stsp2>
Component: xawtvAssignee: Dmitry Butskoy <dmitry>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 21CC: dmitry, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-27 23:25:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stas Sergeev 2014-12-14 12:45:01 UTC
Description of problem:
I used xawtv for many years without problems.
After upgrade to F21, I can no longer switch channels.
Whatever channel was set when xawtv started, displays
fine. But when I switch the channel, the image freezes.
The sound, however, changes fine. If I restart xawtv,
it will properly display the channel to which I switched.

Version-Release number of selected component (if applicable):
xawtv-3.103-4.fc21.x86_64
(worked on the latest from F19, not tried on F20)

How reproducible:
Easily

Steps to Reproduce:
1. start xawtv
2. make sure the disaplay is fine
3. switch channel

Actual results:
Video freezes, only sound changes

Expected results:
Both sound and video changes.

Additional info:
Verified with tvtime: switching works fine.
Unfortunately tvtime does not support sound, so I have
to stick to xawtv...

Comment 1 Stas Sergeev 2014-12-14 17:00:08 UTC
ioctl: VIDIOC_REQBUFS(count=0;type=VIDEO_CAPTURE;memory=MMAP): Device or resource busy
ioctl: VIDIOC_REQBUFS(count=2;type=VIDEO_CAPTURE;memory=MMAP): Device or resource busy
Warning: Non-character code(s) in source.
Warning: Non-character code(s) in source.
ioctl: VIDIOC_QBUF(index=0;type=VIDEO_CAPTURE;bytesused=221184;flags=0x2003 [MAPPED,QUEUED,(null)];field=BOTTOM;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Device or resource busy
libv4l2: error dequeuing buf: Device or resource busy
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Device or resource busy
ioctl: VIDIOC_REQBUFS(count=0;type=VIDEO_CAPTURE;memory=MMAP): Device or resource busy
v4l2: read: Invalid argument


What can this mean?
Maybe xawtv now tries to open the new channel somehow
before closing the previous one? Just a wild guess.

Comment 2 Stas Sergeev 2014-12-27 19:12:32 UTC
The fix is posted:
https://bugzilla.redhat.com/show_bug.cgi?id=1155784#c5

Comment 3 Dmitry Butskoy 2014-12-27 23:25:24 UTC

*** This bug has been marked as a duplicate of bug 1155784 ***