Bug 5577 - With 2 DVD slots, Mageia 2 can't read audioCD with Kscd nor Amarok
Summary: With 2 DVD slots, Mageia 2 can't read audioCD with Kscd nor Amarok
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 7011
Blocks: 7049
  Show dependency treegraph
 
Reported: 2012-04-24 04:37 CEST by Philippe Didier
Modified: 2012-09-14 19:21 CEST (History)
6 users (show)

See Also:
Source RPM: phonon-gstreamer
CVE:
Status comment:


Attachments

Description Philippe Didier 2012-04-24 04:37:16 CEST
Description of problem:

Two DVD slots (useable after the workaround proposed in bug 5533)

Using Beta3 KDE LiveCD as a live CD (but having a huge memory I can had lots of rpms)

I configured rpmdrake in CCM to have core tainted and non-free repositories 
Amarok automatically asks for plugins and dependancies (I can read mp3, m4a, wav,wma files)


I insert an audioCD 
A notification message proposes 
to open it in Dolphin : OK I can see its content
to read it with Kscd : I can see its content but it is not heard (the time counter doesn't run)
to read it with Amarok : its content is shown but it can't be heard (the time counter doesn't run)

I try to use the audiocd service in Konqueror : no access to the device

If I choose one of the tracks shown by Dolphin and convert it to foo.wav this wav file can be read by Amarok


I add gstreamer-cdio and gstreamer-cdparanoia : the audioCD can't be read 

I update Kde4-audiocd and dependancies nothing better



I install Grip (and dependancies) the CD is read (time counter runs) but no sound !


Is there something wrong with gstreamer or phonon-gstreamer ???

If I install VLC (and phonon-VLC): I can hear the audoCD !


To investigate, must I try with xine and phonon-xine (changing the engine in phonon configuration)
Comment 1 Manuel Hiebel 2012-04-24 10:38:54 CEST
so seems that there is again some issue with the script inside draklive
Comment 2 Manuel Hiebel 2012-04-24 10:39:12 CEST
oups sorry wrong bug
Manuel Hiebel 2012-04-24 10:59:52 CEST

CC: (none) => balcaen.john, lmenut

Comment 3 Philippe Didier 2012-04-24 22:53:21 CEST
Other tests on Ageia2 Beta3 KDE LiveCD :

Tried to change the phonon engine (xine instead of gstreamer) no change ! no way to hear any audioCD with amarok, kscd, (they show the content but the timer doesn't move and we get no sound)


Grip seems able to read (the timer runs) but we get no sound !
K3b and Grip and Dolphin display the content and can encode the tracks

Only VLC allows to hear it 


Tried to use Mageia2beta3 Gnome liveCD

Soundjuicer can play the audioCD
The default videoplayer (totem) can play it
Grip gives no sound (but the timer runs)


Perhaps a problem with PulseAudio for grip ?

And a problem in KDE (kio-audiocd component) for Kscd and Amarok
Comment 4 Philippe Didier 2012-04-24 22:55:20 CEST
Perhaps needs to had Colin Guthrie to the CC list (for grip and pulseaudio) ?
Comment 5 Philippe Didier 2012-04-25 21:22:09 CEST
Some progresses to find the causes of the problem:

Using mageia2 beta3 KDE LiveCD as a livecd


I added vlc with its tainted plugins and phonon-vlc (using rpmdrake, adding tainted repo)
Changed the phonon engine in KDE desktop settings (from gstreamer to vlc), disconnected and reconnected.

With Amarok I can now read and hear mp3 m4a wav wma files and I can hear an audiocd !!! 

It seems there's a problem with phonon-gstreamer or gstreamer itself that can't play an audiocd on the KDE LiveCD. (what is surprising is the fact that gstreamer does its job on the Gnome LiveCD : soundjuicer and totem can play audioCDs )

If it's to late to correct the phonon-gstreamer problem maybe would it be wise to choose vlc instead of gstreamer for the livecd (but that means a lot of work too !)


Kscd displays always the audioCD content but can't read it (Kscd doesn't work the same way as Amarok : it doesn't use kio_audiocd nor the phonon engine as far as I remember)
If Amarok does its job we can get rid of it (it's so ugly)

Grip can't play the track (something to do with Pulse ?) but can encode it !
Comment 6 Philippe Didier 2012-04-25 21:49:33 CEST
Sorry :
Kscd does use phonon-gstreamer !

It seems to be stricly a phonon-gstreamer problem for the KDE LiveCD

Colin did the last submit for phonon-gstreamer, he may indeed be added to the CC list
Comment 7 Luc Menut 2012-04-25 22:10:18 CEST
I just tried beta3 live CD on usb key, and I can listen audioCD with kscd and amarok (with the default phonon-gstreamer backend).
I guess that this bug happens only on systems with multiple CD/DVD  drives.
Comment 8 Philippe Didier 2012-04-25 22:51:13 CEST
Thanks Luc ...

I hope that's the reason why ! (it was already a little tricky to see my DVDs : I had to add the kernel option rdloaddriver=pata_amd)

I can't try to install mageia beta3 on my production computer to see if the problem remains !
Perhaps should I try to use a usb key too !

NB : this doesn't happen on the beta3 GnomeliveCD with the same computer ...
Comment 9 Philippe Didier 2012-04-27 19:56:11 CEST
Some news :

Indeed, Luc, you guessed well

Using a usb key to try the KDE-LiveCD solved partly the problem : I can hear the audioCD with Amarok (only with the MasterDVD writer, not with the slave DVDreader)
But no way to have Kscd working !
No sound from Grip (but it reads the track : the timer runs)


To summarize 

Using M2B3 KDE LiveCD from a burned CD on a computer with two DVD slots :
Phonon-gstreamer doesn't allow to hear an audioCD with Amarok
if I install Phonon-vlc and choose vlc as phonon-engine : Amarok works
(I can see vlc in PulseAudio)
if I install Sound-juicer or Totem (and dependancies) they can read audioCD (they use Gstreamer that works on the same basis...)
Kscd never works (but shows the content of the audioCD)
Grip gives no sound


Using M2B3 Gnome LiveCD from a burned CD on a computer with two DVD slots :
Sound-juicer and Totem can read audioCD and we can hear the sound
Grip gives no sound


Using M2B3 LiveCD from a usb Key :
I can hear an audioCD with Amarok
Kscd doesn't work
Grip gives no sound


Maybe 3 different bugs in fact :
 
- Using KDELiveCD from a burned CD on a computer with 2 DVD slots doesn't allow to play an audioCD with Amarok (it's a little bug of phonon-gstreamer not very serious : there are workarounds and it's a particular case)


- Kscd can never play an audioCD (but shows its content) no workaround found (is it true for an installed Mageia2 ? need an other bug report to see ?)


- Grip can play an audioCD but we cannot hear any sound (bug of pulse audio ? is it true for installed Mageia ? need an other bug report ?)

Summary: Mageia2Beta3 KDE LiveCD : can't read audioCD with Kscd nor Amarok nor Grip , only with VLC => with 2 DVD slots Mageia2Beta3 KDE LiveCD : can't read audioCD with Kscd nor Amarok nor Grip , only with VLC

Comment 10 Marja Van Waes 2012-05-26 13:04:11 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 11 Philippe Didier 2012-05-26 19:29:30 CEST
The bug is still valid for the final KDE LiveCD :

and worse :

I always need to use the workaround from bug 5533 (add kernel option rdloaddriver=pata_amd )

I can't hear any audiocd

My dvreader can't be opened anymore using the physical button 
when my dvdwriter can be

I can display the content of an audiocd with Dolphin if in the dvdwriter slot
Sander Lepik 2012-05-26 19:30:39 CEST

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik

Comment 12 Philippe Didier 2012-05-28 17:41:38 CEST
This may be linked to bug 5533
(but not simply a duplicate)

I found a way to hear an audiocd with amarok or kscd on my computer...

The problem is caused by a double dvd drives

If i modify the links in /dev/ I can hear my audiocd with kscd and amarok !!!

Whatever we do in KDE system settings... phonon-gstreamer or kscd want to play an audiocd from /dev/cdrom even if they display the content that they read on /dev/cdrom1

I simply modified the /dev/cdrom and /dev/cdrom1 links to make them point to the other cddrivers (/dev/cdrom linked to /dev/sr1 and /dev/cdrom1 linked to /dev/sr0)

It seems to be specifical to computers with 2 dvd slots 
Just need to mention it in the erratas
Philippe Didier 2012-05-28 17:48:27 CEST

Summary: with 2 DVD slots Mageia2Beta3 KDE LiveCD : can't read audioCD with Kscd nor Amarok nor Grip , only with VLC => with 2 DVD slots Mageia2 KDE LiveCD final release : can't read audioCD with Kscd nor Amarok

Comment 13 Philippe Didier 2012-05-28 17:51:40 CEST
Post scriptum
There's still a problem with grip but I must open a new bug report...

I think it is a pulseaudio problem
Comment 14 Frédéric "LpSolit" Buclin 2012-05-31 00:51:50 CEST
This is not a new problem, see:

https://qa.mandriva.com/show_bug.cgi?id=50507
https://bugs.kde.org/show_bug.cgi?id=195557

Luc fixed this problem for Mandriva in 2009 but Mageia 2 is still affected by this problem.

I'm increasing the severity to critical, because people like me who have 2 DVD writers are highly affected by this bug, and VLC doesn't play nice with audio CD (one reason is bug 6115, the other one is that VLC pauses between each track, which is very annoying).

CC: (none) => LpSolit
See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=195557, https://qa.mandriva.com/show_bug.cgi?id=50507
Summary: with 2 DVD slots Mageia2 KDE LiveCD final release : can't read audioCD with Kscd nor Amarok => With 2 DVD slots, Mageia 2 can't read audioCD with Kscd nor Amarok
Severity: normal => critical

John Balcaen 2012-08-17 03:41:06 CEST

Blocks: (none) => 7049

Luc Menut 2012-08-23 23:16:37 CEST

Depends on: (none) => 7011

Comment 15 Luc Menut 2012-08-23 23:33:48 CEST
The main bug is in phonon-gstreamer : it doesn't forward to gstreamer the device to use (patch on KDE review board https://git.reviewboard.kde.org/r/106082).
This bug should be fixed with phonon-gstreamer-4.6.2-1.2.mga2 and kscd-4.8.5-1.2.mga2 availables in updates_testing (cf. update candidate bug 7011 for kde 4.8.5 and bug 7049 for phonon-gstreamer 4.6.2).
Amarok should be fixed with phonon-gstreamer-4.6.2-1.2 .
Kscd needs kscd-4.8.5-1.2.mga2 and phonon-gstreamer-4.6.2-1.2.mga2 .

regards,
Luc

Component: Release (media or process) => RPM Packages
Hardware: i586 => All

Comment 16 Thomas Backlund 2012-09-05 20:17:48 CEST
KDE 4.8.5 Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0185

CC: (none) => tmb

Comment 17 Philippe Didier 2012-09-12 20:24:48 CEST
Thanks to Luc !!!!

I updated KDE 4.8.5 from mageia2/core/update repo

Nothing better  for this problem with 2 dvd slots !

But then 

I updated "phonon-gstreamer-4.6.2-1.2.mga2" from mageia2/core/update_testing repo
(cherry picking it and only it...)
AND EVERYTHING IS ALLRIGHT NOW !!!!!!!!

I am not member of the QA team but I can say it works (at least on a 586 version)
I don't know if QA team members have an engine with two DVD Slots to test it !

If no other validation is required I would say you can move phonon-gstreamer-4.6.2-1.2.mga2 from mageia2/core/update_testing repo to mageia2/core/update repo

Thanks again for your wise job !

philippe
Comment 18 Philippe Didier 2012-09-12 20:27:12 CEST
If the update is validated on x86-64 (perhaps not needed) this bug can be closed as wonderfully resolved for KsCD and Amarok and KDE too !
Comment 19 Philippe Didier 2012-09-14 19:06:51 CEST
Claire Robinson validated on a x86-64 Mageia2 :
 bug 7011 
and bug 7049

bug 5577  is correctly marked as depending on bug 7011

but unfortunately 
bug 5577 was marked as blocking bug 7049 (it's the contrary : bug 7049 was blocking bug 5577, or bug 5577 depended on bug 7049...)

So :
bug 5577 was not automagically closed as fixed and resolved


It can be closed as fixed and resolved now...

I don't know if I'm allowed to do this ... maybe triage team's privilege ?
Comment 20 Manuel Hiebel 2012-09-14 19:21:16 CEST
yep everyone can close a bug iirc, but thanks for the reminder.

Status: NEW => RESOLVED
Resolution: (none) => FIXED
Source RPM: (none) => phonon-gstreamer


Note You need to log in before you can comment on or make changes to this bug.