LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   xine problems (https://www.linuxquestions.org/questions/linux-general-1/xine-problems-314075/)

x13729388 04-17-2005 03:41 AM

xine problems
 
Hi, I install xine 1.0 library from the rpm package, after install all the necessary rpms, then I type xine to start it.

xine starts but it quits immediately. It does not display any error messages. I tried to uninstall and reinstall it again, but it still give me the same result. Could someone help me?

masand 04-17-2005 03:47 AM

try running

xine-config

and see if u can get to something

x13729388 04-18-2005 06:53 AM

I've tried that. The xine-config can just list the installed directory of xine. I don't know how to use this command to diagnose where the problem is, any other suggestions?

masand 04-18-2005 07:52 AM

what do u get the results of the

xine-config

command

post that here

regards

x13729388 04-19-2005 04:36 AM

Here is the result:

[root]# xine-config
Usage: xine-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--acflags]
[--cflags]
[--plugindir]
[--datadir]
[--scriptdir]
[--localedir]
[--objcflags]
[root]# xine-config --prefix
/usr/local
[root]# xine-config --exec-prefix
/usr/local
[root]# xine-config --version
1.0.0
[root]# xine-config --libs
-L/usr/local/lib -lxine -lz -lnsl -lpthread -L/usr/X11R6/lib -L/usr/X11R6/lib -lXv -lXext
[root]# xine-config --acflags
-I /usr/local/share/aclocal
[root]# xine-config --cflags
-I/usr/local/include
[root]# xine-config --plugindir
/usr/local/lib/xine/plugins/1.0.0
[root]# xine-config --datadir
/usr/local/share/xine
[root]# xine-config --scriptdir
/usr/local/share/xine/scripts
[root]# xine-config --localedir
/usr/local/share/locale
[root]# xine-config --objcflags

[root]#

__J 04-19-2005 05:14 AM

run "xine-check" and see what it says, it may be a bad package or a bad dependency package

masand 04-19-2005 05:51 AM

Quote:

Originally posted by __J
run "xine-check" and see what it says, it may be a bad package or a bad dependency package
hey thanks for reminding the correct command
i also wanted to the user to run the xine-check command but was confused with
xine-check and xine-config
and this will only help in checking for corrupt packages

x13729388 04-20-2005 01:53 AM

Here is the result by xine-check:

Please be patient, this script may take a while to run...
[ good ] you're using Linux, doing specific tests
[ good ] looks like you have a /proc filesystem mounted.
[ good ] You seem to have a reasonable kernel version (2.4.29-1)
[ good ] intel compatible processor, checking MTRR support
[OUCH!!] no MTRR support in kernel.
If you have an AGP graphics card, you can probably get some
performance improvements if you recompile your kernel with
MTRR support.
press <enter> to continue...

[ good ] found the player at /usr/bin/xine
[ good ] /usr/bin/xine is in your PATH
[ good ] found /usr/bin/xine-config in your PATH
[ good ] plugin directory /usr/lib/xine/plugins/1.0.0 exists.
[ good ] found input plugins
[ good ] found demux plugins
[ good ] found decoder plugins
[ good ] found video_out plugins
[ good ] found audio_out plugins
[ good ] skin directory /usr/share/xine/skins exists.
[ good ] found logo in /usr/share/xine/skins
[ good ] I even found some skins.
[ good ] /dev/cdrom points to /dev/hdd
[ hint ] /dev/dvd is /dev/dvd, not a DVD device
/dev/dvd is the default device that xine uses for playing DVDs.
You could make your life easier by creating a symlink named /dev/dvd
pointing to your DVD device (something like /dev/scd0 or /dev/hdc).
If your DVD-ROM device is /dev/hdb (slave ATAPI device on primary bus),
rm /dev/dvd
ln -s hdb /dev/dvd
typed as root will give you the symlink.
Alternatively, you can configure xine to use the real device directly,
using the setup dialog within xine, but I can't check your DMA
settings in that case...
press <enter> to continue...

[ good ] found xvinfo: X-Video Extension version 2.2
[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
[ good ] your Xv extension supports YUY2 overlays
[ good ] Xv ports: YUY2 YV12 I420 RV15 RV16 Y211

My computer has not any DVD rom, I don't think disable the MTRR support casue xine quits unexpectly.
Previously, xine 0.99 has been installed and work without any problem, but one day it quits after it started, then I uninstall it again. It didn't solve the problem. Then I installed the 1.0 version. It also does not solve the problem, it quits immediately after it started. It seems that the problem is cause by another library use by xine but which does not provided by the package.
If it is about the library dependency problem, what can I do?

__J 04-20-2005 06:02 AM

strace it and see if you can see where it is hanging. ( see "man strace" for a (moderately long) list of options).

masand 04-20-2005 08:08 AM

i think the problme is with some audio or video cards

so u need to start xine with some other audio/vedio card

try

xine - A arts
xine - A alsa
xine - A oss

or

xine -V xv

ther are other video cards too but i do not remember them now
regards

x13729388 04-22-2005 02:40 AM

I've tried:

xine -A via82cxx

but whcih give me the same result.

Then I tried strace which givie me a large log file about 300kb. There are too many "open" and "close" list on the file. Which item can be used to determinate the problem (where it is hanging)?

masand 04-22-2005 02:51 AM

u need to try for ur sound plugins not ur sound card

what about the commands i mentioned above??

x13729388 04-22-2005 09:43 AM

The about command give me the same result.

masand 04-22-2005 09:54 AM

ther last option

reinstall xine from source

remove the rpms first

when u run ./configure in xine run that with

./configure --prefix=/usr

x13729388 04-23-2005 05:44 AM

After remove the rpm package, is it necessary to remove the remained xine files left?

Also from the official web site of xine, there are some steps in install xine.

Step 1: Download and install xine lib

xine-lib-1.0.tar.gz (signatures)
xine-lib-1-rc8.tar.gz
xine-lib-1-rc7.tar.gz (signatures)
xine-lib-1-rc6a.tar.gz
xine-lib-0.9.13.tar.gz

There are serval libraries, should I get all of them or just any one of them?

Step 2: Download and install a frontend

xine-ui-0.99.3.tar.gz
xine-ui-0.99.2.tar.gz
xine-ui-0.99.1.tar.gz (signatures)
xine-ui-0.9.23.tar.gz
xine-ui-0.9.22.tar.gz

Same question, should I get all of them or just any one of them?


All times are GMT -5. The time now is 11:51 PM.