Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOVLED] can't play dvd's.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 342

PostPosted: Tue Aug 05, 2014 3:32 pm    Post subject: [SOVLED] can't play dvd's. Reply with quote

audio cd's work fine.

when I put a disk in dmesg shows:

Code:
vlc[26746]: segfault at 8 ip 0000003abbe445db sp 00007fff94073fa8 error 4 in libQtDBus.so.4.8.5[3abbe00000+7b000]:


ISO 9660 CDROM file system support is built into the kernel, dvd use flag is enabled globally.

If I try to manually mount /dev/sr0, mount returns "no medium found..."

Enabled flags for vlc:
Code:
X a52 alsa avcodec avformat cdda dbus dvbpsi dvd ffmpeg flac fontconfig kde matroska mmx mp3 mpeg ogg opengl png postproc qt4 sdl sse swscale truetype udev vorbis x264 xcb xml xv


Last edited by mrbassie on Thu Aug 07, 2014 5:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4899

PostPosted: Tue Aug 05, 2014 3:43 pm    Post subject: Re: VLC can't play dvd's Reply with quote

mrbassie wrote:
If I try to manually mount /dev/sr0, mount returns "no medium found..."

Sure vlc shouldn't segfault with an empty disk, but if you mount the disk and it show "no medium found", you don't need to dig vlc, as all players will have the problem that your dvd isn't detecting the medium.

Fix the dvd problem, you may as well avoid the vlc bug after solving it.
I was about to suggest looking at iso9660 support, but it's not need.
But at least ask help on fixing your dvd to read the disk instead of querying users for vlc help.
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 342

PostPosted: Tue Aug 05, 2014 3:49 pm    Post subject: Reply with quote

somebody got out the wrong side of bed this morning.

I wasn't sure where the problem lies, I found it by trying to play in vlc, hence the title which I've changed.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 33969
Location: 56N 3W

PostPosted: Tue Aug 05, 2014 6:21 pm    Post subject: Reply with quote

mrbassie,

Video DVDs do not contain a useful filesystem. To be sure, its present and can be mounted but its deliberately corrupt to stop you using dd to copy the video.

Video players play the video using a block list to know what blocks and in what order to read the disk to play the video.
This requires raw device access, which you clearly have since you can play CDDA. That works he same way.

Taken together, this implies that your software stack is broken.
Does revdep-rebuild wand to do anything?
If so, let it finish.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 342

PostPosted: Tue Aug 05, 2014 7:04 pm    Post subject: Reply with quote

Hi Neddy,

Code:
Dynamic linking on your system is consistent... All done.


I've tried a usb dvd drive this evening since I posted the thread, external drive is recognised but the discs are not (including blank discs). GUI apps also see the drive(s) but think they are empty. I wonder could it be a permissions problem? I am in the cdrom group.

Code:
lrwxrwxrwx 1 root root      3 Aug  5 17:49 /dev/cdrom -> sr0
brw-rw---- 1 root cdrom 11, 0 Aug  5 17:49 /dev/sr0
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 33969
Location: 56N 3W

PostPosted: Tue Aug 05, 2014 8:10 pm    Post subject: Reply with quote

mrbassie,

What does ls -l /dev/sr* tell?

Code:
$ ls -l /dev/sr*
brw-rw---- 1 root cdrom  11, 0 Sep 20  2013 /dev/sr0
brw-rw---- 1 root cdrom  11, 1 Sep 20  2013 /dev/sr1
is a good start.
You may have more or less devices than me.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 342

PostPosted: Wed Aug 06, 2014 6:52 am    Post subject: Reply with quote

Just the one, it's a laprop

Code:
brw-rw---- 1 root cdrom 11, 0 Aug  6 07:43 /dev/sr0
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4899

PostPosted: Wed Aug 06, 2014 7:42 am    Post subject: Reply with quote

Go with a
Code:
emerge -1 hwinfo && hwinfo --cdrom
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 342

PostPosted: Wed Aug 06, 2014 4:24 pm    Post subject: Reply with quote

Code:
23: SCSI 100.0: 10602 CD-ROM (DVD)                             
  [Created at block.249]
  Unique ID: KD9E.ZyY8TBTIFs2
  Parent ID: w7Y8.9dnwHDTTEvF
  SysFS ID: /class/block/sr0
  SysFS BusID: 1:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0
  Hardware Class: cdrom
  Model: "TSSTcorp CDDVDW TS-L633C"
  Vendor: "TSSTcorp"
  Device: "CDDVDW TS-L633C"
  Revision: "AC01"
  Driver: "ahci", "sr"
  Driver Modules: "ahci"
  Device File: /dev/sr0 (/dev/sg1)
  Device Files: /dev/sr0, /dev/cdrom, /dev/disk/by-id/ata-TSSTcorp_CDDVDW_TS-L633C_R3686GAZ201666
  Device Number: block 11:0 (char 21:1)
  Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W
  Drive status: no medium
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #18 (SATA controller)
  Drive Speed: 24
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5100
Location: Saint Amant, Acadiana

PostPosted: Wed Aug 06, 2014 4:26 pm    Post subject: Reply with quote

To eliminate hardware problem, can you boot some live distro and confirm it works?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 342

PostPosted: Thu Aug 07, 2014 5:18 pm    Post subject: Reply with quote

I'm so sorry Gents but I've wasted your time. The drive is effed.

When I said I'd tried an external it was writing to a dvdr. Oddly, k3b reports a blank disk as "no medium" rather than 'empty medium' and I assumed as soon as I saw that that it was a configuration error on my part and dvd's simply weren't recognised (I know, ass u me {with the emphasis being very much on me}).

I should have tested more thoroughly before I asked for help. Apologies galore.

Thank you all for trying to help.

In way of recompense:
Neddy, here's a Goon's recording which I like

[url]
https://www.youtube.com/watch?v=N8sgTrfE5U8[/url]

Krinn, here's an owl

http://i.telegraph.co.uk/multimedia/archive/02467/owl_2467479b.jpg

Jaglover, here's a jag

http://assets.blog.hemmings.com/wp-content/uploads//2013/11/JagEType_2000-700x329.jpg

:oops: :oops: :oops:
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 33969
Location: 56N 3W

PostPosted: Thu Aug 07, 2014 5:52 pm    Post subject: Reply with quote

mrbassie,

:)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2014
Location: /usa/utah

PostPosted: Mon Aug 18, 2014 10:48 pm    Post subject: Reply with quote

mrbassie wrote:
If I try to manually mount /dev/sr0, mount returns "no medium found..."


You don't need to mount the DVD to access it.

NeddySeagoon wrote:
mrbassie,

Video DVDs do not contain a useful filesystem. To be sure, its present and can be mounted but its deliberately corrupt to stop you using dd to copy the video.

Video players play the video using a block list to know what blocks and in what order to read the disk to play the video.
This requires raw device access, which you clearly have since you can play CDDA. That works he same way.


Eh, sorry Neddy, but that's not right at all .... :) *ducks*

The DVD sits on an UDF filesystem -- make sure *that* is in your kernel support.

Also, It's the video that is encrypted, not the filesystem.

Code:
CONFIG_UDF_FS=y

_________________
If it ain't broke, tweak it. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
sgarcia
Apprentice
Apprentice


Joined: 21 May 2003
Posts: 254
Location: Bakersfield, CA

PostPosted: Tue Aug 19, 2014 12:38 am    Post subject: Reply with quote

mrbassie wrote:
I'm so sorry Gents but I've wasted your time. The drive is effed.



Have you replaced the drive and are you *sure* that the old one was bad?

The reason I ask is that I have identical symptoms and my drive is fine. It boots from a live-dvd with no problems, but it will not mount (or recognize) a DVD when I'm booted into my Gentoo system. It works fine with a music CD, but DVDs are "empty."

I'm suspecting udev issues since I allowed udev-215 to install and had to screw around with gudev (and that involved tricky things with gvfs.) But that also involved installing a new kernel, and maybe I broke something with that. And yes, beandog, I checked and CONFIG_UDF_FS=y is set.

In any case, I'm pretty sure the problem is something in the system that I've broken, and not a hardware problem. I'd love for someone to convince me otherwise, a replacement DVD is cheap. :)

I'm not sure where to even start looking for the problem.
_________________
Ignorance killed the cat. Curiosity was framed.
Back to top
View user's profile Send private message
sgarcia
Apprentice
Apprentice


Joined: 21 May 2003
Posts: 254
Location: Bakersfield, CA

PostPosted: Tue Aug 19, 2014 2:10 am    Post subject: Reply with quote

OK, I can now tell you where to start.

Do an empty-tree rebuild of the system. That seemed to fix my problem.
_________________
Ignorance killed the cat. Curiosity was framed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum