Bug 442 - Can Wine support jack audio?
Summary: Can Wine support jack audio?
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-03-19 01:29 CET by Jiang Yike
Modified: 2011-10-24 17:54 CEST (History)
1 user (show)

See Also:
Source RPM: wine
CVE:
Status comment:


Attachments

Description Jiang Yike 2011-03-19 01:29:15 CET
Description of problem:

The present Wine supports pulseaudio, alsa and oss. Is it possible to support jack audio? Some games have no sound, and perhaps jack audio can solve the problem.


Reproducible: 

Steps to Reproduce:
Comment 1 Ahmad Samir 2011-03-19 03:02:40 CET
It does already support jack, just install libjack0 from the Core 32bit repo.

I think we can add a suggests on libjack to the wine package... (I'll sleep on it, it's too late here at the moment :)).

Keywords: (none) => NEEDINFO
Assignee: bugsquad => ahmadsamir3891
Source RPM: Wine => wine

Comment 2 Jiang Yike 2011-03-19 03:10:06 CET
(In reply to comment #1)
> It does already support jack, just install libjack0 from the Core 32bit repo.
> 
> I think we can add a suggests on libjack to the wine package... (I'll sleep on
> it, it's too late here at the moment :)).

OK, after the installation of libjack0, Wine can choose jack audio as the audio driver. Thank you!

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Jiang Yike 2011-03-19 03:45:56 CET
After jack audio is chosen as the audio driver of Wine, all games crash when starting.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 4 Ahmad Samir 2011-03-19 23:40:37 CET
Open winecfg -> Audio, with jack selected as the sound driver, click "Test Sound", does it crash too?

Also what's the output of:
rpm -qa --queryformat "%{NVRA}\n" '*jack*'
Comment 5 Jiang Yike 2011-03-20 00:40:31 CET
(In reply to comment #4)
> Open winecfg -> Audio, with jack selected as the sound driver, click "Test
> Sound", does it crash too?

It crashes too.

> Also what's the output of:
> rpm -qa --queryformat "%{NVRA}\n" '*jack*'

The output:

lib64jack0-1.9.6-1.mga1.x86_64
libjack0-1.9.6-1.mga1.i586
jackit-1.9.6-1.mga1.x86_64
Comment 6 Ahmad Samir 2011-03-20 01:29:27 CET
i586 libjack0 requires i586 jackit, it won't work with x86_64 jackit... so this is more complicated than it looks..

Keywords: NEEDINFO => (none)

Comment 7 Jiang Yike 2011-03-20 01:46:15 CET
(In reply to comment #6)
> i586 libjack0 requires i586 jackit, it won't work with x86_64 jackit... so this
> is more complicated than it looks..

Yes. There is no i586 jackit in the repositories.
Comment 8 Ahmad Samir 2011-03-20 02:39:37 CET
Of course there's i586 jackit, but urpmi won't let you install it as long as x86_64 jackit is installed...
Comment 9 Jiang Yike 2011-03-20 03:22:31 CET
(In reply to comment #8)
> Of course there's i586 jackit, but urpmi won't let you install it as long as
> x86_64 jackit is installed...

I can't see a i586 jackit in the core32 repository which has been added.
Comment 10 Ahmad Samir 2011-03-20 16:06:14 CET
It _is_ there in the repos: ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/jackit-1.9.6-1.mga1.i586.rpm

Try:
linux32 urpmq --sources jackit
Comment 11 Jiang Yike 2011-03-21 00:20:43 CET
(In reply to comment #10)
> It _is_ there in the repos:
> ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/jackit-1.9.6-1.mga1.i586.rpm

It can't be installed.

> Try:
> linux32 urpmq --sources jackit

It shows:
http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/cauldron/i586/media/core/release/jackit-1.9.6-1.mga1.i586.rpm

Why doesn't the Rpmdrake show the file? The Release and Updates repos Core32 have been chosen.
Comment 12 Ahmad Samir 2011-03-21 01:27:54 CET
Because:
(In reply to comment #8)
> Of course there's i586 jackit, but urpmi won't let you install it as long as
> x86_64 jackit is installed...

So you have to, first remove x86_64 jackit for urpmi to let you see/install i586 jackit.

Just be careful if you have any x86_64 installed packages that require jackit, they'll be removed too.
Comment 13 Jiang Yike 2011-03-21 11:07:00 CET
(In reply to comment #12)
> Because:
> (In reply to comment #8)
> > Of course there's i586 jackit, but urpmi won't let you install it as long as
> > x86_64 jackit is installed...
> 
> So you have to, first remove x86_64 jackit for urpmi to let you see/install
> i586 jackit.
> 
> Just be careful if you have any x86_64 installed packages that require jackit,
> they'll be removed too.


I tested as you said. There is the result.

When x86_64 jackit is removed, the following packages are also removed:

- ffmpeg-0.6.1-2.mga1.x86_64
- gimp-2.6.11-4.mga1.x86_64
- lib64avformats52-0.6.1-2.mga1.x86_64
- lib64gegl0.1_0-0.1.2-3.mga1.x86_64
- lib64jack0-1.9.6-1.mga1.x86_64
- lib64sox1-14.3.0-3.mga1.x86_64
- libjack0-1.9.6-1.mga1.i586
- sox-14.3.0-3.mga1.x86_64


And the following packages become orphan:

  lib64avc1394_0-0.5.3-8.mga1.x86_64
  lib64babl0.1_0-0.1.2-3.mga1.x86_64
  lib64dc1394_22-2.1.2-6.mga1.x86_64
  lib64ffado2-2.0.1-3.mga1.x86_64
  lib64freebob0-1.0.11-6.mga1.x86_64
  lib64gimp2.0_0-2.6.11-4.mga1.x86_64
  lib64gsm1-1.0.13-4.mga1.x86_64
  lib64iec61883_0-1.2.0-4.mga1.x86_64
  lib64lpc10_1-1.5-12.mga1.x86_64
  lib64openraw1-0.0.8-5.mga1.x86_64
  lib64postproc51-0.6.1-2.mga1.x86_64
  lib64raw1394_11-2.0.6-2.mga1.x86_64
  lib64rtmp0-2.3-3.mga1.x86_64
  lib64swscaler0-0.6.1-2.mga1.x86_64
  lib64wavpack1-4.60.1-2.mga1.x86_64
  lib64xml++2.6_2-2.32.0-1.mga1.x86_64


The installation of i586 jackit needs the following packages:

- libavahi-client3-0.6.28-4.mga1.i586
- libavahi-common3-0.6.28-4.mga1.i586
- libavahi-glib1-0.6.28-4.mga1.i586
- libavc1394_0-0.5.3-8.mga1.i586
- libcdio12-0.82-3.mga1.i586
- libcdio_cdda0-0.82-3.mga1.i586
- libdbus-glib-1_2-0.88-2.mga1.i586
- libffado2-2.0.1-3.mga1.i586
- libfreebob0-1.0.11-6.mga1.i586
- libgamin-1_0-0.1.10-6.mga1.i586
- libGConf2_4-2.32.0-1.mga1.i586
- libgcrypt11-1.4.6-4.mga1.i586
- libgdu0-2.32.0-1.mga1.i586
- libgio2.0_0-2.28.1-1.mga1.i586
- libglibmm2.4_1-2.25.5-2.mga1.i586
- libgnome-keyring0-2.32.0-1.mga1.i586
- libgpg-error0-1.10-1.mga1.i586
- libgudev1.0_0-166-1.mga1.i586
- libgvfs0-1.6.6-2.mga1.i586
- libIDL2_0-0.8.14-1.mga1.i586
- libiec61883_0-1.2.0-4.mga1.i586
- libjack0-1.9.6-1.mga1.i586
- libmodman1-0.4.6-5.mga1.i586
- libORBit2_0-2.14.19-1.mga1.i586
- libproxy1-0.4.6-5.mga1.i586
- libpth20-2.0.7-8.mga1.i586
- libraw1394_11-2.0.6-2.mga1.i586
- libsigc++2.0_0-2.2.8-2.mga1.i586
- libsoup-2.4_1-2.33.90-1.mga1.i586
- libsqlite3_0-3.7.5-1.mga1.i586
- libudev0-166-1.mga1.i586
- libxml++2.6_2-2.32.0-1.mga1.i586

After the i586 jackit is installed, winecfg doesn't crash when testing jack audio,
but it has no sound and says, "Audio test failed!"

I think that the dependencies of the packages need to be optimized, because at least the x86_64 packages of ffmpeg and gimp should be kept.
Comment 14 Marja Van Waes 2011-10-04 15:06:38 CEST
No maintainer for wine at the moment, assigning back to Bug Squad

CC: (none) => m.van.waes
Assignee: ahmadsamir3891 => bugsquad

Comment 15 Marja Van Waes 2011-10-23 18:00:01 CEST
@ Ake
You made this request against cauldron 7 months ago. Do you already have the enhancement in current cauldron or updated mageia 1 official, or is it still missing?

Keywords: (none) => NEEDINFO

Comment 16 Jiang Yike 2011-10-24 11:29:40 CEST
The lastest Wine doesn't not support jack audio any more. So the bug is invalid now.
Comment 17 Marja Van Waes 2011-10-24 17:54:42 CEST

(In reply to comment #16)
> The lastest Wine doesn't not support jack audio any more. So the bug is invalid
> now.

Thanks for letting us know!

Status: REOPENED => RESOLVED
Resolution: (none) => INVALID


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