Results 1 to 8 of 8
I have two problems with xine
1.It only plays dvds as root. If I try to play a dvd as a user I get the following message: xine engine error
...
- 12-08-2006 #1Just Joined!
- Join Date
- Oct 2006
- Location
- The Bricks
- Posts
- 59
Xine will not play DVDs as user
I have two problems with xine
1.It only plays dvds as root. If I try to play a dvd as a user I get the following message: xine engine error
There is no input plugin available to handle 'dvd/
Maybe MRL syntax is wrong or file/stream source doesn't exist
The source can't be read. Maybe you don't have enough rights for this etc....
2. Even though it plays while logged in as root it stutters.
- 12-08-2006 #2Linux Newbie
- Join Date
- Jul 2005
- Posts
- 180
Make sure that your user has access to the video group and the cdrom group. I bet that it's a group issue.
As far as playback issues, you can reconfigure hdparm to help with that. Also it will greatly help to use a 3d accelerated driver for video.
- 12-08-2006 #3Just Joined!
- Join Date
- Oct 2006
- Location
- The Bricks
- Posts
- 59
Not quite sure how would I go about doing that.
Originally Posted by mahlerfan
I am using the ATI driver, which I installed becauSe I thought it would fixed the stuttering problem.
The system is a Athlon XP 2100, 1 gig of ram ATI 9500 pro.
- 12-09-2006 #4Just Joined!
- Join Date
- Nov 2006
- Posts
- 38
Some DVD players require DMA to be set on. That may fix your stuttering problems. See the hdparm man page.
- 12-15-2006 #5Just Joined!
- Join Date
- Oct 2006
- Location
- The Bricks
- Posts
- 59
No matter what options I use I get the same results. It just gives me the options.
root@adell:~# hdparm -c
hdparm - get/set hard disk parameters - version v6.6
Usage: hdparm [options] [device] ..
Options:
-a get/set fs readahead
-A set drive read-lookahead flag (0/1)
-b get/set bus state (0 == off, 1 == on, 2 == tristate)
-B set Advanced Power Management setting (1-255)
-c get/set IDE 32-bit IO setting
-C check IDE power mode status
-d get/set using_dma flag
- 12-15-2006 #6Just Joined!
- Join Date
- Nov 2006
- Posts
- 38
In the xine settings dialogue under media, ensure that the correct device is selected for dvd playback, it's a little way down the menu.
On my system /dev/dvd, /dev/hdc and /dev/cdrom all work (they are all linked).
eg;
#ln -s /dev/hdc /dev/dvd
/etc/fstab on my system is as follows:
Equally it could be /dev/hdc or /dev/dvd assuming that the devices are linked./dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
Importantly the option users is used, rather than the default owner, which is root.
or /dev/hdc or /dev/cdrom will indicate whether dma is on.#hdparm /dev/dvd
If not you can turn it on for the specified device - for example;
or whatever device your dvd is.#hdparm -d1 /dev/hdc
To turn dma off
This works on my system, Slackware 11.0, kernel 2.6.18.3 or 2.6.17.13 works fine.#hdparm -d0 /dev/hdc
- 12-22-2006 #7Just Joined!
- Join Date
- Oct 2006
- Location
- The Bricks
- Posts
- 59
I tried that and it indicates that it is on,
root@adell:~# hdparm /dev/dvd
/dev/dvd:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument
- 12-22-2006 #8Just Joined!
- Join Date
- Nov 2006
- Posts
- 38
OK great, that's one out of the way.
How is /etc/fstab setup
Mine looks like this. The dvd line only,
/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
Just some ideas;
Equally, depending on how your devices are linked you could replace /cdrom with /hdc or /dvd.
Most likely in Slackware 11.0 install it will be the former. However if you don't like that you can specifically link devices as required.
eg
#ln -s /dev/hdc /dev/dvd
Probably /dev/hdc is already linked to /dev/cdrom.


Reply With Quote