View previous topic :: View next topic |
Author |
Message |
notext n00b
Joined: 29 Aug 2002 Posts: 8
|
Posted: Thu Aug 29, 2002 9:16 am Post subject: Xine troubles part 2 |
|
|
Finally get Xine .12 working and experiance massive stuttering of video and audio. So, I decide to try to get .13 working. Get it to work as well and stuttering is still there.
I figure maybe to do with DMA so I try to turn DMA on using hdparm but it doesn't work
bash-2.05a# hdparm -d 1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
I also have DMA as default option in kernel.
I have never had this problem, even with gentoo being installed previously.
p3 650
512mb ram
intel 815 mb (asus)
nvidia geforce2 with latest nvidia drivers.
Any help appreciated. |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Aug 29, 2002 1:48 pm Post subject: |
|
|
Have you compiled in the kernel support for your (specific) IDE Controller? |
|
Back to top |
|
|
notext n00b
Joined: 29 Aug 2002 Posts: 8
|
Posted: Thu Aug 29, 2002 7:26 pm Post subject: . |
|
|
yes?
I can get it to do DMA on the hd, it just won't do it on the dvd (pioneer dvd-114).
I have no idea why it won't let me turn DMA on. |
|
Back to top |
|
|
notext n00b
Joined: 29 Aug 2002 Posts: 8
|
Posted: Thu Aug 29, 2002 10:14 pm Post subject: . |
|
|
Okay solved the problem.
I had compiled "Use DMA for disk only" in the kernel and didn't notice it.
Changing this allowed me to use DMA on the dvd and solved the stuttering of video/audio. |
|
Back to top |
|
|
spendabuck Apprentice
Joined: 28 Apr 2002 Posts: 256
|
Posted: Sun Sep 01, 2002 12:27 am Post subject: |
|
|
Hey notext how did you get xine-ui and xine-dvdnav to compile? I tried to get them compiled but they keep aborting. I tried both gentoo 1.2 and 1.4. no mater which ebuild I use. |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Sun Sep 01, 2002 12:43 am Post subject: |
|
|
spendabuck wrote: | Hey notext how did you get xine-ui and xine-dvdnav to compile? I tried to get them compiled but they keep aborting. I tried both gentoo 1.2 and 1.4. no mater which ebuild I use. |
Could you paste the exact error please?
Did you add "dvd" to your USE flags in /etc/make.conf before emerging? |
|
Back to top |
|
|
spendabuck Apprentice
Joined: 28 Apr 2002 Posts: 256
|
Posted: Sun Sep 01, 2002 2:20 am Post subject: |
|
|
yes I do have dvd in my make.conf, I'm thinking when I emerge xine-lib I would normally find the xine execute file in /usr/bin but looking in /usr/bin I don't see the xine execute file but yet xine-lib compiled without any errors (maybe I forgot to mention that I'm using gentoo 1.4 with gcc 3.2) anyways here is the so called error message..
Calculating dependencies ...done!
>>> emerge media-video/xine-dvdnav-0.9.12 to /
>>> md5 xine-dvdnav-0.9.12.tar.gz
>>> Unpacking source...
>>> Unpacking xine-dvdnav-0.9.12.tar.gz
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for strerror in -lcposix... no
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=i686 -O3 -pipe ) works... yes
checking whether the C compiler (gcc -mcpu=i686 -O3 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for ANSI C header files... (cached) yes
checking for unistd.h... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for pthread_create in -lpthread... yes
checking for xine-config... /usr/bin/xine-config
checking for XINE-LIB version >= 0.9.10... yes
checking for dvdnav-config... /usr/bin/dvdnav-config
checking for DVDNAV-LIB version >= 0.1.1... yes
checking for dlopen in -lc... no
checking for dlopen in -ldl... (cached) yes
checking for string.h... yes
checking if gcc supports -mpreferred-stack-boundary=2 flags... yes
checking if gcc supports -fno-strict-aliasing flags... yes
checking if gcc supports -fschedule-insns2 flags... yes
checking if gcc supports -mwide-multiply flags... no
checking if gcc supports -mcpu=i386 flags... yes
checking if gcc supports -mcpu=athlon flags... yes
checking __attribute__ ((aligned ())) support... 64
updating cache ./config.cache
creating ./config.status
creating Makefile
creating input/Makefile
creating m4/Makefile
creating misc/Makefile
creating xine-dvdnav.spec
creating config.h
make all-recursive
make[1]: Entering directory `/var/tmp/portage/xine-dvdnav-0.9.12/work/xine-dvdnav-0.9.12'
Making all in input
make[2]: Entering directory `/var/tmp/portage/xine-dvdnav-0.9.12/work/xine-dvdnav-0.9.12/input'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/include -I/usr/include/dvdnav -c input_dvdnav.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/include -I/usr/include/dvdnav -c input_dvdnav.c -fPIC -DPIC -o input_dvdnav.lo
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
input_dvdnav.c: In function `dvdnav_plugin_read_block':
input_dvdnav.c:655: `dvdnav_stream_change_event_t' undeclared (first use in this function)
input_dvdnav.c:655: (Each undeclared identifier is reported only once
input_dvdnav.c:655: for each function it appears in.)
input_dvdnav.c:655: `stream_event' undeclared (first use in this function)
input_dvdnav.c:656: parse error before ')' token
input_dvdnav.c:667: parse error before ')' token
make[2]: *** [input_dvdnav.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-dvdnav-0.9.12/work/xine-dvdnav-0.9.12/input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-dvdnav-0.9.12/work/xine-dvdnav-0.9.12'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -182, Exitcode 2
!!! (no error message)
I get this no mater which ebuild I use. |
|
Back to top |
|
|
|