LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2003, 12:44 PM   #1
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Rep: Reputation: 30
Xine, why isn't it working right?


Ok, so I compiled Xine, and I think everything went right, but when I go to install frontends for it, it tells me Ishould install Xine-lib first...but that just what I finished setting compiling (takes so long to compile too). The only thing the install file for Xine-lib said to do was:
./configure
make
make install
And all three steps woked.
Is there anything I'm missing...I can't find anything by the name xine-lib anywhere though...so could it be compiling everything except what I am trying to install?

RH9 installed on i686.

I tried installing the newest BETA version of xine-lib and an older non BETA version, and same problem.

Is Xine really better than mPlayer....can it play DVD's smoothly? up to now I haven't had much luck playing DVD's in linux on my P4, it would appear that a P4 is not fast enough to process DVD data in realtime.
 
Old 05-19-2003, 05:49 PM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Quote:
Is there anything I'm missing...I can't find anything by the name xine-lib anywhere though...so could it be compiling everything except what I am trying to install?
Here you will find everything you need to set up the latest Xine version
Xine binaries

Quote:
Is Xine really better than mPlayer....can it play DVD's smoothly? up to now I haven't had much luck playing DVD's in linux on my P4, it would appear that a P4 is not fast enough to process DVD data in realtime.
A P4 is definitely fast enough to process DVD data in real-time, for Xine to play encrypted DVD's you will need libdvdcss though.
f your playback is choppy I would recommend installing 3D drivers for your graphics card, don't know what you use but they're available for both nVidia and Ati.
An Ati-based card could be more problematic under RH9 but MembraX has installed 3rd-party drivers for his Radeon under RH9 and it worked like a charm so it is do-able.
 
Old 05-19-2003, 06:35 PM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 750

Rep: Reputation: 53
in addition to the previous post, there is good info here:
http://xinehq.de/index.php/faq

note the section
Build problems: frontend (gxine/xine-ui/...)
I have installed xine-lib but the frontend complains about not finding it!



I found that even with dma set to on, I was getting a jumpy playback, but then I dicovered this setting:

hdparm -d1 -X34 /dev/hd* ( where hd* is your dvd player)

to be honest I cant remember what the -X34 means.

read all the documentation before using hdparm, as some options are dangerous (apparently)
 
Old 05-19-2003, 08:09 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
the X34 is multiword dma something.
the -d1 by itself would set the cdrom to dma mode, and
the drive was probably already initialized to its highest
possible speed by the computer's bios when you turned
it on.
run mplayer -vo help and try the other video drivers too,
but any machine will play dvd choppy if the dvd drive
isn't running dma.
 
Old 05-20-2003, 06:07 PM   #5
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
I tried to install a RPM version of xine-lib...

: rpm -i xine-lib-1.0.0-fr0.beta12.1.i386.rpm

And this is what it gave me:

warning: xine-lib-1.0.0-fr0.beta12.1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
aalib is needed by xine-lib-1.0.0-fr0.beta12.1
alsa-lib is needed by xine-lib-1.0.0-fr0.beta12.1
flac is needed by xine-lib-1.0.0-fr0.beta12.1
glut is needed by xine-lib-1.0.0-fr0.beta12.1
libFLAC.so.4 is needed by xine-lib-1.0.0-fr0.beta12.1
libaa.so.1 is needed by xine-lib-1.0.0-fr0.beta12.1
libasound.so.2 is needed by xine-lib-1.0.0-fr0.beta12.1
libasound.so.2(ALSA_0.9) is needed by xine-lib-1.0.0-fr0.beta12.1
libfame is needed by xine-lib-1.0.0-fr0.beta12.1
libfame-0.9.so.0 is needed by xine-lib-1.0.0-fr0.beta12.1
xvidcore is needed by xine-lib-1.0.0-fr0.beta12.1

So I am missing a lot of different things...but I was sure I had half of them.

Also I can't seem to get ldconfig or hdparm to run in RH9...so I can't follow the instructions for building the file...or is that one of the things I need to get?

Thanks, for all the help up to now,
Nick

Last edited by oudent; 05-20-2003 at 06:10 PM.
 
Old 05-20-2003, 06:11 PM   #6
Silent Bob
Member
 
Registered: Feb 2003
Location: Ireland
Distribution: Debian
Posts: 56

Rep: Reputation: 15
if you have a relatively new computer you could use UltraDMA (I'm not sure if this is actually any better... but come on! with a name like "Ultra" it's got to be good! ) by using the -X switch and adding 64 to the DMA mode number

So for mode 2, instead of -X34 you would use -X66
 
Old 05-20-2003, 06:20 PM   #7
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
ok, so su does not work for those two commands, you have to be root. That would have been nice to know...makes a big difference
I'll try again as root
 
Old 05-20-2003, 09:38 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Try 'su -'.
 
Old 05-20-2003, 10:54 PM   #9
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
Finally it works!!! It is smoother than in Windows! I just had to do the whole thing as root, because I guess SU is not enough. Thanks for the help.

Thanks
Nick
 
Old 05-21-2003, 05:54 PM   #10
Silent Bob
Member
 
Registered: Feb 2003
Location: Ireland
Distribution: Debian
Posts: 56

Rep: Reputation: 15
su gives you root permissions, but it does not treat it as a login so you are left with the same environment variables as you had before (same $PATH etc.)

hdparm is usually in /sbin/hdparm which isn't in a normal users $PATH but is in root's

su - treats it as a proper login, you get all root's environment stuff.

End result: Use su - when you want superuser permissions, unless you know that you don't need to use superuser 'only' programs.
 
Old 05-22-2003, 04:50 PM   #11
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
Thanks, that makes a lot of sense.
 
Old 07-31-2003, 03:33 PM   #12
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Here's how to make your DVD playback not choppy, you must enable DMA mode for the DVD drive.

hdparm -d1 /dev/hdc

replace hdc with whatever device your dvd drive is.
 
Old 08-01-2003, 12:30 AM   #13
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
to everyone on this forum who might need it, i found a great place to get the xinelib, xineui, and libdvdcss in rpm packages. all at this url:
http://cambuca.ldhs.cetuc.puc-rio.br/xine/
remember this though: to get dvd working, you must install the libdvdcss devel package as well as the main library. dont ask me why.
 
Old 11-28-2003, 04:23 PM   #14
DingoDave
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
Hey, the 'hdparm -d1 /dev/[dvd_device]' works like a champ! Fixed my jumpiness problem.

DingoDave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xine not working Johnno56 Linux - Software 15 12-02-2005 05:01 PM
Xine Not working lngmn7 Linux - Software 3 08-27-2005 09:30 AM
xine not working properly achal Linux - Newbie 4 04-20-2005 03:26 PM
xine stopped working Seiken Slackware 6 03-15-2005 07:34 AM
Xine not working corbis_demon Linux - Software 1 02-21-2005 09:28 AM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration