summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2001-07-09 18:46:07 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2001-07-09 18:46:07 +0000
commitcec0ffca0dfba3f6807e63636ea2c12cec982db9 (patch)
tree9dd78a97f7ad767cd1d07c9d0812f7f7e7e52825
parentfc919406468a16b3ca9383162477d320c0826566 (diff)
downloadxine-lib-cec0ffca0dfba3f6807e63636ea2c12cec982db9.tar.gz
xine-lib-cec0ffca0dfba3f6807e63636ea2c12cec982db9.tar.bz2
document a few known problems with the solaris version of xine
add a prototype for the mlib accelerated yub2rgb subroutine CVS patchset: 262 CVS date: 2001/07/09 18:46:07
-rw-r--r--doc/README.solaris31
-rw-r--r--src/video_out/yuv2rgb.h1
2 files changed, 32 insertions, 0 deletions
diff --git a/doc/README.solaris b/doc/README.solaris
index 020a61085..36b4a0e2f 100644
--- a/doc/README.solaris
+++ b/doc/README.solaris
@@ -12,3 +12,34 @@ building xine on solaris
here:
http://www.sun.com/sparc/vis/mediaLib.html
+
+
+Known Problems
+--------------
+
+* gcc 2.95.2 produces buggy code when compiling xine-lib/src/libac3/imdct.c
+ with -O3. Playback of mpeg files with AC3 sound crashes in
+ imdct_do_512. The stack backtrace for this problem looks like this:
+
+ fdfa807c imdct_do_512 (10, 0, fdfc43c0, fdcfe923, fdcfe923, fdfc43c4) + 2fc
+ fdfa8df0 imdct (fdfbef90, fdfbdea4, fdfbefc0, 40000, fdfbd800, fdfbef90) + f0
+ fdfa6454 ac3_decode_frame (fdfc07c0, 2, fdfbec00, fdfc0400, 4d58, d1728) + 1b4
+ fdfac668 ac3dec_decode_data (188e18, 1044, 5d0800, 1048, 1024, 1044) + 148
+ ff368bfc audio_decoder_loop (5f5d0, 13a8, 1000, 1, 12cc, 1394) + 4bc
+ feebbb98 _thread_start (5f5d0, 0, 0, 0, 0, 0) + 40
+
+ Workaround: Compile the complete package with gcc-3.0, or compile
+ imdct.c with gcc-2.95.2 and -O.
+
+
+* Can't use MIT shared memory for local video display
+
+ The default value for the maximum allowed shared memory segment size
+ (1MByte) is very small on solaris. You may want to increase the
+ max. allowed shared memory segment size. Add the following line to
+ /etc/system to increase the shmmax parameter to 8MBytes:
+
+ set shmsys:shminfo_shmmax=8388608
+
+ Reboot the machine after modifying /etc/system to activate the new
+ default.
diff --git a/src/video_out/yuv2rgb.h b/src/video_out/yuv2rgb.h
index 9a2e2fb0a..8ff6fbc9c 100644
--- a/src/video_out/yuv2rgb.h
+++ b/src/video_out/yuv2rgb.h
@@ -69,6 +69,7 @@ int yuv2rgb_setup (yuv2rgb_t *this,
void yuv2rgb_init_mmxext (yuv2rgb_t *this, int mode);
void yuv2rgb_init_mmx (yuv2rgb_t *this, int mode);
+void yuv2rgb_init_mlib (yuv2rgb_t *this, int mode);
/*
void Color565DitherYV12MMX1X(unsigned char *lum, unsigned char *cr,