Bug 52427

Summary: DVD replay under MSI "655 MAX" mobo interrupted
Product: Base System Reporter: J.D. <jimd_NOSPAM>
Component: i386Assignee: Remko Lodder <remko>
Status: Closed FIXED    
Severity: Affects Only Me CC: jimd
Priority: Normal    
Version: 4.8-STABLE   
Hardware: Any   
OS: Any   

Description J.D. 2003-05-19 14:00:21 UTC
	Playing DVD under this environment results in video and audio blurs
	and skips almost in synchronization with the IDE controller activity
	LED. No amount of ATA DMA on/off settings or BIOS changes (HT on/off,
	APIC on/off) appear to make an difference. Note that setting ATA
	DMA "on" causes system lock up with 'BIG READ' errors.

	Using the exact same CD/DVD and HDD's (minus one extra LVD SCSI) on
	an MSI MS-6533XG motherboard (SiS 651/962 chipsets; onboard AC97:
	RealTek ALC650) with the exact same OS and software, but with a
	2.8GHz (non-HT) P4, does not exhibit any such problem with 
	DVD playback.

	Mplayer has no audio or video playback problems on the "655 Max".
	Playing audio CD's does not result in any playback problem.
	Xmms playback has no problems on the "655 Max".


	I have not yet tried the same under FBSD-5.1-BETA, on the same
	machine, as I have not installed all of the requisite S/W yet.

How-To-Repeat: 	Play any DVD
Comment 1 J.D. 2003-05-31 16:56:51 UTC
DVD playback audio via ogle, et al, under 5.1-BETA2 has no more skips, 
but the video playback still does. The video skips still seem to 
correlate with IDE/CDROM reads (IDE activity LED).


  goggles
kwin: not found
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdread: Using libdvdcss version 1.2.5 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000184
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000092ff
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0004dc49
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003bf0d2
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
Using djbfft for IMDCT transform
#+display: frame rate: 0.000 fps
@@@#display: frame rate: 24.035 fps
@+@@@display: frame rate: 23.917 fps
@#@+@display: frame rate: 23.793 fps
@@#@display: frame rate: 23.807 fps
+@display: frame rate: 23.964 fps
+@@@@@+@display: frame rate: 23.889 fps
@@!###!#!@display: frame rate: 23.122 fps
+##@##@@display: frame rate: 23.458 fps
@#@##+display: frame rate: 23.563 fps
#@++@+display: frame rate: 23.691 fps
#@+@#display: frame rate: 23.605 fps
@@#display: frame rate: 23.933 fps
@@@display: frame rate: 23.990 fps
+@@display: frame rate: 23.941 fps
+display: frame rate: 23.890 fps
@#@+@@display: frame rate: 23.796 fps
+#+display: frame rate: 23.750 fps
@+#@display: frame rate: 23.731 fps
@#display: frame rate: 23.908 fps
#+@###display: frame rate: 23.381 fps
@@###+display: frame rate: 23.665 fps
###@+display: frame rate: 23.514 fps
display: frame rate: 23.981 fps
@#@##display: frame rate: 23.650 fps
##+@###display: frame rate: 23.338 fps
@@display: frame rate: 23.944 fps
+display: frame rate: 23.950 fps
@+display: frame rate: 23.862 fps
##@@display: frame rate: 23.757 fps
@+@@display: frame rate: 23.950 fps
@#@@@@display: frame rate: 23.878 fps
@display: frame rate: 23.978 fps
.
.
.


pkg_info|grep dvd
libdvdcss-1.2.5     Portable abstraction library for DVD decryption
libdvdplay-1.0.1    Portable abstraction library for DVD navigation
libdvdread-0.9.4    This is needed by ogle, which is a DVD player that 
supports

pkg_info | grep ogle
libdvdread-0.9.4    This is needed by ogle, which is a DVD player that 
supports
ogle-0.9.1          Open DVD player that supports DVD menus

pkg_info | grep Goggle
Goggles-0.5.5       A FOX frontend to the Ogle DVD player

pkg_info | grep FOX
Goggles-0.5.5       A FOX frontend to the Ogle DVD player

pkg_info | grep fox
fox-1.1.25          Fast and extensive C++ GUI toolkit
Comment 2 none 2003-06-09 00:48:00 UTC
Using gmplayer (mplayer-gtk-esound-0.90.0.110_2) has reduced the video
skips dramatically, virtually eliminating them. Options enabled with
gmplayer (which have no equivalent with ogle or Goggles):

1) Video driver chosen: X11 (XImage/Shm)
	- enable double buffering
	- enable direct rendering

2) Misc
	- Enable postprocessing (auto quality = 0)
	- Cache on (size = 8192)
	- AutoSync on (value = 30)


The biggest changes in video synchronization were achieved with:

a) enabling double buffering
b) enabling cache=8192

Now there are only small "blips" which may be due to "missing frames" in
original video recording or mpeg generation, but they are usually not
noticable (they don't appear to "drag" the video motion or cause it to
"jump").

The IDE activity LED is now "furious with action" (ie; blinking very
rapidly), rather than emulating a slow heartbeat.

The video output quality appears to be slightly more grainy than that
shown by ogle/Goggles, but is acceptable. There may be more tunables
that will assist this, but I haven't tried everything yet. All three
programs (gmplayer, ogle, Goggles) exhibit slightly grainy/fluid
backgrounds, but gmplayer's is somewhat more noticable.


Note: this testing was done under FreeBSD 5.1-RC1.
Comment 3 Remko Lodder freebsd_committer freebsd_triage 2006-09-11 13:20:57 UTC
State Changed
From-To: open->feedback

So it seems that a lot of things happend in the past time after 
your report and that you almost elimated the problem by using 
a different player.  I am still curious however to see whether 
the current problem is still there in more recent versions of 
FreeBSD, can you tell that to me please? 


Comment 4 Remko Lodder freebsd_committer freebsd_triage 2006-09-11 13:20:57 UTC
Responsible Changed
From-To: freebsd-i386->remko

grab the pr
Comment 5 Remko Lodder freebsd_committer freebsd_triage 2006-09-11 13:26:41 UTC
State Changed
From-To: feedback->closed

the mail bounces, close the pr