Personal computing discussed
Moderators: renee, SecretSquirrel, notfred
lex-ington wrote:Totem says I don't have the rights to play the media, and Xine says the same thing pretty much . . . it also says "Error reading NAV packet".
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000124
[root@localhost ~]# xine-check
Please be patient, this script may take a while to run...
[OUCH!!] You're running me with root permissions?
You should definitely run xine as normal user, not root. Running it as
root will expose you to some severe security issues.
This script should run as the same user that you would use to run
xine. If you run me as root (as you currently are), I cannot check
if your real-life user has sufficient permissions...
Unless you want to recheck something with root permissions, you should
abort me now (press Ctrl-C) and run me from your usual account.
press <enter> to continue...
[ 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.6.22.9-91.fc7)
[ good ] intel compatible processor, checking MTRR support
[ good ] you have MTRR support and there are some ranges set.
[ 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/lib64/xine/plugins/1.1.7 exists.
[ good ] found unknown plugin: xineplug_flac.so
[ good ] found unknown plugin: xineplug_wavpack.so
[ 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/scd0
[ good ] /dev/dvd points to /dev/scd0
[ hint ] Your DVD drive seems not to be attached via ATAPI.
This might be due to the use of an ide-scsi emulation.
If you really have a SCSI DVD drive, your SCSI controller is likely
to do perfect DMA, so there's no reason to worry about this.
However, if you're using ide-scsi, there is a chance that DMA is
disabled for the DVD drive. Moreover, I don't know how to enable
DMA in that case, so you probably have to live with some performance
loss. (FIXME: check for /proc/ide, provide solution)
press <enter> to continue...
[ good ] found xvinfo: X-Video Extension version 2.2
[ hint ] Your X server doesn't support YV12 overlays.
That means xine will have to do color space transformation and scaling
in software, which is quite CPU intensive. Maybe upgrading your
X server will help here.
If you have an ATI card, you'll find accelerated X servers on
http://www.linuxvideo.org/gatos/
press <enter> to continue...
[ hint ] Your X server doesn't support YV12 overlays.
That means xine will have to do color space transformation and scaling
in software, which is quite CPU intensive. Maybe upgrading your
X server will help here.
If you have an ATI card, you'll find accelerated X servers on
http://www.linuxvideo.org/gatos/
press <enter> to continue...
[ hint ] Your X server doesn't have any XVideo support...
XVideo is an X server extension introduced by XFree86 4.x. This
extension provides access to hardware accelerated color space
conversion and scaling, which gives a great performance boost.
If you have a fast (>1GHz) machine, you may be able to watch all
kinds of video, anyway. You will waste lots of CPU cycles, though...
press <enter> to continue...
[root@localhost ~]#
lex-ington wrote:That's unwise in general. root's really best left for system administration and for sometimes for testing stuff that isn't working for other users. There's no need to open yourself up like that on a regular basis.I always login as root actually. . . . I haven't setup a secondary user.
/dev/cdrom points to /dev/scd0
[ good ] /dev/dvd points to /dev/scd0
[ hint ] Your DVD drive seems not to be attached via ATAPI.
This might be due to the use of an ide-scsi emulation.
If you really have a SCSI DVD drive, your SCSI controller is likely
to do perfect DMA, so there's no reason to worry about this.
However, if you're using ide-scsi, there is a chance that DMA is
disabled for the DVD drive. Moreover, I don't know how to enable
DMA in that case, so you probably have to live with some performance
loss. (FIXME: check for /proc/ide, provide solution)
press <enter> to continue...
[HTPC@localhost ~]$ vlc
VLC media player 0.8.6c Janus
libdvdnav: Using dvdnav version 0.2.1cvs from http://dvd.sf.net
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: BACKYARDIGANS_VOLCANO
libdvdnav: DVD Serial Number: 363F5146
libdvdnav: DVD Title (Alternative): BACKYARDIGANS_VOLCANO
libdvdnav: Unable to find map file '/home/HTPC/.dvdnav/BACKYARDIGANS_VOLCANO.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: Suspected RCE Region Protection!!!
[00000311] main playlist: nothing to play
bitvector wrote:lex-ington wrote:any ides is much appreciated!!!
Like I said earlier, it sounds like a libdvdcss problem. The "libdvdread: Encrypted DVD support unavailable." output shows that libdvdcss is not being found.
[HTPC@localhost ~]$ vlc
VLC media player 0.8.6c Janus
libdvdnav: Using dvdnav version 0.2.1cvs from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdnav: DVD Title: BACKYARDIGANS_VOLCANO
libdvdnav: DVD Serial Number: 363F5146
libdvdnav: DVD Title (Alternative): BACKYARDIGANS_VOLCANO
libdvdnav: Unable to find map file '/home/HTPC/.dvdnav/BACKYARDIGANS_VOLCANO.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000247
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000002b7
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00000328
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00000565
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000005fa
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x000005fa)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x001f010b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x001f0661
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x001f0d99
libdvdread: Elapsed time 9
libdvdread: Found 5 VTS's
libdvdread: Elapsed time 10
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: ifoRead_TITLE_VOBU_ADMAP vtsi failed
[00000322] dvdnav demuxer error: cannot set title (can't decrypt DVD?)
libdvdread: Invalid title IFO (VTS_03_0.IFO).
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x000005fa)!!
[00000322] dvdread demuxer error: read failed for block 0
[00000311] main playlist: nothing to play
libdvdread: Invalid title IFO (VTS_03_0.IFO).
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x000005fa)!!
[00000338] dvdread demuxer error: read failed for block 0
[00000311] main playlist: nothing to play
(.:5044): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(.:5044): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(.:5044): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(.:5044): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(.:5044): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(.:5044): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
[00000311] main playlist: stopping playback
[HTPC@localhost ~]$
Vrock wrote:I thought it was illegal to play DVDs on Linux?
Vrock wrote:I thought it was illegal to play DVDs on Linux?
Comparison with DeCSS
libdvdcss is not to be confused with DeCSS. While DeCSS uses a cracked DVD player key to perform authentication, libdvdcss uses a generated list of possible player keys. If none of them work (for instance, when the DVD drive enforces region coding) a brute force algorithm is tried so the region code of a DVD is ignored. Unlike DeCSS, libdvdcss has never been fought over in a courtroom, in part because Section 1201(f) of the Digital Millennium Copyright Act authorizes such circumvention for purposes of software interoperability.
lex-ington wrote:Well, you could probably survive if one disc out of everything doesn't work. Also, is the disc known-good? I've gotten a faulty DVD or 2 before (and moved the earth trying fruitlessly to get one to work on a linux machine before realizing "oh crap, it's just a bad disc")mattsteg wrote:Have you tried other titles?
now why didn't I think of that
But if it is disc specific, how would I solve that - cause this machine HAS to play children's DVD's too.
bitvector wrote:The stuttering is probably since you don't have the XVideo extension supported with whatever X drivers you are using. So it has to resort to drawing the pixels to the screen like a picture rather than using hardware overlays.
You should probably try giving the fglrx drivers from the livna repos a spin. If you can get the Xv extension working, you'll really save a ton of wasted CPU power when watching video.
lex-ington wrote:But . . . . I did that . . . . at least that's where the fglrx drivers came from . . .I think.
bitvector wrote:lex-ington wrote:But . . . . I did that . . . . at least that's where the fglrx drivers came from . . .I think.
Sorry, I was going by your earlier xine-check output which says "Your X server doesn't have any XVideo support... " If that output is no longer current (after driver changes), then disregard.
I have to ask, though... after you installed the fglrx drivers, did you edit your xorg.conf to actually use the fglrx driver (instead of ati or radeon or vesa)?
Section "Device"
...
Driver "<whatever>"
...
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1280x720" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection