[mythtv-users] No video but a kernel oops with mythtv 0.8.1

Daniel Beyer postkasten at daniel-beyer.com
Thu Aug 18 09:55:19 UTC 2005


 Hi there,

with mythtv 0.8.1 I can't view recordings and live-TV anymore. It worked
just fine with mythtv 0.7. 

If I start to view a recording or Live-TV, I can hear for less than a
second sound. After that sound stops and the screen keeps blank. 
Mythbackend now starts to tell me:
->Timed out waiting for free video buffers.
->Attempting video sync thread restart

->Timed out waiting for free video buffers.
->Attempting video sync thread restart

--> And so on


Every time those two messages are printed I get a Kernel Oops, too.


There is only one machine affected by that problem. The master-backend,
and three other clients doesn't have this problem.

I'm using the debian packages provided at
http://dijkstra.csh.rit.edu/~mdz/debian

Mplayer and Xine working just fine (even with xv and in fullscreen) on
the affected machine.


Here are some information about the used machines:

3 Clients:
-Nvidia Cards
-AMD-CPUs
->Mythfrontend works


Master-Backend
-Intel Celeron Processor
-Intel OnBoard Graphic
-2 DVB-Cards
->Mythfrontend works


Broken Client:
Hardware:
-IBM X31 2672-CDG
-ATI Radeon 7200
-Pentium M

Software:
-Distrib.: Debian Sid
-X-Server: X.org with Xinerama and "radeon" (from X.org) as driver
-Mythtv: 0.8.1-3 via apt from http://dijkstra.csh.rit.edu/~mdz/debian 


Below you can find some debug-output from mythfrontend and dmesg.



I first discovered the problem quite some time ago (when mythtv 0.8
came), but hoped it would disappear by itself. This thing isn't critical
at all, as I'm using my notebook not very often to watch TV...

Btw: It's mostly not a problem with the X.org server, as I had the same
with the XFree86, too (X.org is quite new in Debian). It worked fine
with mythtv 0.7 (with XFree, Xinerama and "radeon" as driver).

Thanks for your help!!!

Daniel


--------------------------------
#mythfrontend --verbose playback
--------------------------------
2005-08-17 15:32:41.086 New DB connection, total: 1
Total desktop width=2304, height=1024, numscreens=2
2005-08-17 15:32:41.228 Using screen 0, 1024x768 at 0,0
2005-08-17 15:32:41.290 mythfrontend version: 0.18.1.20050510-1
www.mythtv.org
2005-08-17 15:32:41.291 Enabled verbose msgs : important general
playback
Xlib:  extension "RANDR" missing on display ":0.0".
DisplaResX: Unable to XRRgetScreenInfo
2005-08-17 15:32:41.674 max_width: 0 max_height: 0
Xlib:  extension "RANDR" missing on display ":0.0".
DisplaResX: Unable to XRRgetScreenInfo
2005-08-17 15:32:41.841 Switching to square mode (G.A.N.T.)
Could not find theme: Default
mythtv: could not connect to socket
mythtv: Datei oder Verzeichnis nicht gefunden
lirc_init failed for mythtv, see preceding messages
2005-08-17 15:32:42.472 Joystick disabled.
2005-08-17 15:32:42.680 Registering Internal as a media playback plugin.
2005-08-17 15:32:42.737 Registering MythDVD DVD Media Handler as a media
handler
/usr/lib/mythtv/plugins/libmythgame.so: undefined symbol:
_ZN18ConfigurationGrou p4loadEP12QSqlDatabase
Unable to initialize plugin 'mythgame'.
2005-08-17 15:32:44.181 Connecting to backend server: 10.10.10.1:6543
(try 1 of 47)
2005-08-17 15:32:44.216 Using protocol version 15
2005-08-17 15:32:52.085 All Programs
2005-08-17 15:32:54.370 AVFD
2005-08-17 15:32:54.370 AVFD: Opening Stream #0: codec id 2
2005-08-17 15:32:54.370 detectInterlace(Detect Scan, Detect Scan, 25,
576) ->Int erlaced Scan
2005-08-17 15:32:54.370 Interlaced: Interlaced Scan  video_height: 576
fps: 25
2005-08-17 15:32:54.371 AVFD: Looking for decoder for 2
2005-08-17 15:32:54.371 AVFD
2005-08-17 15:32:54.371 AVFD: Opening Stream #1: codec id 86016
2005-08-17 15:32:54.371 AVFD: Looking for decoder for 86016
2005-08-17 15:32:54.375 Estimated bitrate = 15192
2005-08-17 15:32:54.577 Image size. dispxoff 0, dispyoff: 0, dispwoff:
0, dispho ff: 0
2005-08-17 15:32:54.577 Image size. imgx 0, imgy: 0, imgw: 720, imgh:
576
2005-08-17 15:32:54.577 positionMap[ 0 ] == 0.
2005-08-17 15:32:54.725 positionMap[ 0 ] == 159659.
2005-08-17 15:32:54.883 HandleGopStart: gopset not set, syncing
positionMap
2005-08-17 15:32:54.883 SyncPositionMap prerecorded, from DB: 2 entries
2005-08-17 15:32:54.883 Stream initial keyframedist: 12.
2005-08-17 15:32:54.883 positionMap[ 2 ] == 351453.
2005-08-17 15:32:55.073 positionMap[ 3 ] == 535106.
2005-08-17 15:32:55.366 KeyFrameDistance has changed to 9 from 12.
2005-08-17 15:32:55.366 Setting(2) length to: 1, total frames 27
2005-08-17 15:32:55.366 positionMap[ 5 ] == 690357.
2005-08-17 15:32:55.975 KeyFrameDistance has changed to 15 from 9.
2005-08-17 15:32:55.975 Setting(2) length to: 3, total frames 75
2005-08-17 15:32:56.455 KeyFrameDistance has changed to 12 from 15.
2005-08-17 15:32:56.455 Setting(2) length to: 2, total frames 60
2005-08-17 15:32:56.456 positionMap[ 6 ] == 1095010.
2005-08-17 15:32:56.936 positionMap[ 7 ] == 1270915.
2005-08-17 15:32:57.367 New DB connection, total: 2
2005-08-17 15:32:57.449 positionMap[ 8 ] == 1463455.
2005-08-17 15:32:57.719 AVFD
2005-08-17 15:32:57.719 AVFD: Opening Stream #0: codec id 2
2005-08-17 15:32:57.772 Using libmpeg2 for video decoding
2005-08-17 15:32:57.772 detectInterlace(Detect Scan, Detect Scan, 25,
576) ->Int erlaced Scan
2005-08-17 15:32:57.772 Interlaced: Interlaced Scan  video_height: 576
fps: 25
2005-08-17 15:32:57.772 AVFD: Looking for decoder for 2
2005-08-17 15:32:57.772 AVFD
2005-08-17 15:32:57.772 AVFD: Opening Stream #1: codec id 86016
2005-08-17 15:32:57.772 AVFD: Looking for decoder for 86016
2005-08-17 15:32:57.831 Estimated bitrate = 15192
2005-08-17 15:32:57.999 Position map filled from DB to: 76218
2005-08-17 15:32:58.001 SyncPositionMap prerecorded, from DB: 6272
entries
2005-08-17 15:32:58.057 SyncPositionMap, new totframes: 76218, new
length: 3048,  posMap size: 6272
2005-08-17 15:32:58.057 Position map found
2005-08-17 15:32:58.138 Opening audio device '/dev/dsp'.
2005-08-17 15:32:58.138 Opening OSS audio device '/dev/dsp'.
2005-08-17 15:32:58.254 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2005-08-17 15:32:58.330 Using XV port 61
2005-08-17 15:32:58.340 Image size. dispxoff 0, dispyoff: 0, dispwoff:
1024, dis phoff: 768
2005-08-17 15:32:58.341 Image size. imgx 0, imgy: 0, imgw: 720, imgh:
576
2005-08-17 15:32:59.420 Changing from None to WatchingPreRecorded
2005-08-17 15:32:59.421 New DB connection, total: 3
2005-08-17 15:32:59.459 Realtime priority would require SUID as root.
2005-08-17 15:32:59.634 nVidiaVideoSync: Could not open
device /dev/nvidia0, Dat ei oder Verzeichnis nicht gefunden
2005-08-17 15:33:02.258 Timed out waiting for free video buffers.
2005-08-17 15:33:02.258 Attempting video sync thread restart
2005-08-17 15:33:04.586 Timed out waiting for free video buffers.
2005-08-17 15:33:04.586 Attempting video sync thread restart
2005-08-17 15:33:06.932 Timed out waiting for free video buffers.
2005-08-17 15:33:06.932 Attempting video sync thread restart
2005-08-17 15:33:09.315 Timed out waiting for free video buffers.
2005-08-17 15:33:09.315 Attempting video sync thread restart











--------------------------------
#dmesg (/var/log/messages)
--------------------------------
Aug 17 15:32:59 daphne kernel:  <1>Unable to handle kernel NULL pointer
dereference at virtual address 00000010
Aug 17 15:32:59 daphne kernel: f10e0105
Aug 17 15:32:59 daphne kernel: PREEMPT
Aug 17 15:32:59 daphne kernel: Modules linked in: psmouse e100 pcmcia
yenta_socket rsrc_nonstatic pcmcia_core uhci_hcd ehci_hcd arc4
ieee80211_crypt_wep snd_intel8x0 hw_random intel_agp rfcomm l2cap
snd_pcm_oss snd_seq_oss snd_emu10k1 snd_ac97_codec snd_util_mem
snd_hwdep usb_storage michael_mic wp512 crc32c aes_i586 cmp ohci1394
ieee1394 sr_mod cdrom pcips2 ibm_acpi firmware_class ieee80211
ieee80211_crypt hci_uart irtty_sir sir_dev irda crc_ccitt videodev
cryptoloop loop blowfish mii vfat nls_cp437 nls_utf8 nls_iso8859_1
nls_iso8859_15 nls_cp850 exportfs msdos fat zlib_deflate libcrc32c
snd_seq_midi_event snd_seq snd_mixer_oss snd_rtctimer rtc snd_rawmidi
snd_seq_device snd_pcm snd_timer snd_page_alloc snd soundcore usbhid
ide_scsi pcspkr radeon drm hci_usb bluetooth usbcore agpgart romfs
Aug 17 15:32:59 daphne kernel: CPU:    0
Aug 17 15:32:59 daphne kernel: EIP:    0060:[pg0+818229509/1068962816]
Not tainted VLI
Aug 17 15:32:59 daphne kernel: EFLAGS: 00210286   (2.6.12.3)
Aug 17 15:32:59 daphne kernel: EIP is at radeon_driver_vblank_wait
+0x25/0x160 [radeon]
Aug 17 15:32:59 daphne kernel: eax: 00000000   ebx: ef861000   ecx:
f10e00e0   edx: ef343000
Aug 17 15:32:59 daphne kernel: esi: 00000010   edi: ef861000   ebp:
ef861000   esp: e08b3e70
Aug 17 15:32:59 daphne kernel: ds: 007b   es: 007b   ss: 0068
Aug 17 15:32:59 daphne kernel: Process mythfrontend (pid: 15352,
threadinfo=e08b2000 task=ef378560)
Aug 17 15:32:59 daphne kernel: Stack: 00200246 c0361148 0000082d
00200246 00000000 d547db70 f10df6d7 c16df080
Aug 17 15:32:59 daphne kernel:        d547db40 ef861000 f10edf45
f10f36d7 00000066 00200246 0000002c ef861000
Aug 17 15:32:59 daphne kernel:        c2ad0500 f10f80e0 00000010
ad773110 c02280ac e08b3efc ef861000 00000010
Aug 17 15:32:59 daphne kernel: Call Trace:
Aug 17 15:32:59 daphne kernel:  [pg0+818226903/1068962816]
radeon_driver_open_helper+0x27/0x60 [radeon]
Aug 17 15:32:59 daphne kernel:  [pg0+818286405/1068962816]
drm_open_helper+0x105/0x1d0 [drm]
Aug 17 15:32:59 daphne kernel:  [copy_from_user+108/176] copy_from_user
+0x6c/0xb0
Aug 17 15:32:59 daphne kernel:  [pg0+818290394/1068962816]
drm_wait_vblank+0xfa/0x2a0 [drm]
Aug 17 15:32:59 daphne kernel:  [chrdev_open+269/512] chrdev_open
+0x10d/0x200
Aug 17 15:32:59 daphne kernel:  [pg0+818283681/1068962816] drm_ioctl
+0xf1/0x1b8 [drm]
Aug 17 15:32:59 daphne kernel:  [handle_vm86_fault+42/2032]
handle_vm86_fault+0x2a/0x7f0
Aug 17 15:32:59 daphne kernel:  [handle_vm86_fault+42/2032]
handle_vm86_fault+0x2a/0x7f0
Aug 17 15:32:59 daphne kernel:  [lock_kernel+47/80] lock_kernel
+0x2f/0x50
Aug 17 15:32:59 daphne kernel:  [handle_vm86_fault+42/2032]
handle_vm86_fault+0x2a/0x7f0
Aug 17 15:32:59 daphne kernel:  [do_ioctl+112/160] do_ioctl+0x70/0xa0
Aug 17 15:32:59 daphne kernel:  [handle_vm86_fault+42/2032]
handle_vm86_fault+0x2a/0x7f0
Aug 17 15:32:59 daphne kernel:  [vfs_ioctl+101/496] vfs_ioctl+0x65/0x1f0
Aug 17 15:32:59 daphne kernel:  [handle_vm86_fault+42/2032]
handle_vm86_fault+0x2a/0x7f0
Aug 17 15:32:59 daphne kernel:  [fget_light+133/160] fget_light
+0x85/0xa0
Aug 17 15:32:59 daphne kernel:  [sys_ioctl+69/112] sys_ioctl+0x45/0x70
Aug 17 15:32:59 daphne kernel:  [handle_vm86_fault+42/2032]
handle_vm86_fault+0x2a/0x7f0
Aug 17 15:32:59 daphne kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Aug 17 15:32:59 daphne kernel:  [handle_vm86_fault+42/2032]
handle_vm86_fault+0x2a/0x7f0
Aug 17 15:32:59 daphne kernel: Code: ff ff eb d1 89 f6 55 31 c0 57 56 53
83 ec 58 8b 6c 24 6c 8b 95 f8 06 00 00 89 44 24 10 85 d2 0f 84 11 01 00
00 8b 82 e4 00 00 00 <8b> 48 10 8b 41 44 25 01 00 00 02 74 03 89 41 44
83 4a 64 08 8d



More information about the mythtv-users mailing list