[Bug 14134] New: NetBSD fixes for Wine 1.0
http://bugs.winehq.org/show_bug.cgi?id=14134 Summary: NetBSD fixes for Wine 1.0 Product: Wine Version: 1.0.0 Platform: PC OS/Version: NetBSD Status: UNCONFIRMED Severity: enhancement Priority: P1 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: jmcneill(a)netbsd.org Created an attachment (id=14382) --> (http://bugs.winehq.org/attachment.cgi?id=14382) Use wine-kthread by default on NetBSD The attached patches are required for Wine 1.0 to work properly on NetBSD. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #1 from Jared D. McNeill <jmcneill(a)netbsd.org> 2008-06-26 22:28:29 --- Created an attachment (id=14383) --> (http://bugs.winehq.org/attachment.cgi?id=14383) __errno is already defined in errno.h -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #2 from Jared D. McNeill <jmcneill(a)netbsd.org> 2008-06-26 22:28:48 --- Created an attachment (id=14384) --> (http://bugs.winehq.org/attachment.cgi?id=14384) Use /dev/sound instead of /dev/dsp on NetBSD -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Jared D. McNeill <jmcneill(a)netbsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmcneill(a)netbsd.org Difficulty|--- |Minutes -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2008-06-27 01:08:11 --- Please send patches in git diff format to wine-patches(a)winehq.org (if you don't have time for that, leave a note here and I'll submit them for you). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|jmcneill(a)netbsd.org | Difficulty|Minutes |--- -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #4 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-06-27 01:46:23 --- 1. You need to patch configure.ac instead of configure 2. errno related patch is wrong. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Jared D. McNeill <jmcneill(a)netbsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14382|0 |1 is obsolete| | --- Comment #5 from Jared D. McNeill <jmcneill(a)netbsd.org> 2008-06-27 05:33:09 --- Created an attachment (id=14387) --> (http://bugs.winehq.org/attachment.cgi?id=14387) Use wine-kthread by default on NetBSD -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #6 from Jared D. McNeill <jmcneill(a)netbsd.org> 2008-06-27 05:33:54 --- (In reply to comment #4)
2. errno related patch is wrong.
Care to elaborate? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #7 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-06-27 06:06:30 --- (In reply to comment #6)
Care to elaborate?
All the details are in the code you have #ifdef'ed, that overrides must exist. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Jared D. McNeill <jmcneill(a)netbsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14383|0 |1 is obsolete| | --- Comment #8 from Jared D. McNeill <jmcneill(a)netbsd.org> 2008-06-27 06:38:36 --- Created an attachment (id=14388) --> (http://bugs.winehq.org/attachment.cgi?id=14388) __errno and ___errno are already defined in errno.h on NetBSD Thanks Dmitry, here is an updated patch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #9 from Juan Lang <juan_lang(a)yahoo.com> 2008-06-27 14:06:39 --- (In reply to comment #8)
Thanks Dmitry, here is an updated patch.
Again, email patches to wine-patches(a)winehq.org, they're ignored here. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2009-06-30 11:10:20 --- Most of these are fixed, last I checked. Still doesn't run, and the build breaks in dlls/inetcomm... Jared, do you know more about current wine on NetBSD? I haven't tried in a while.. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #11 from Jared D. McNeill <jmcneill(a)netbsd.org> 2009-06-30 12:07:46 --- (In reply to comment #10)
Most of these are fixed, last I checked. Still doesn't run, and the build breaks in dlls/inetcomm...
Jared, do you know more about current wine on NetBSD? I haven't tried in a while..
I haven't tried it but there is a series of patches here for wine 1.0.1 and 1.1.16: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/wine/patches/ http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/wine-devel/patches/ adam(a)NetBSD.org is the maintainer for NetBSD's wine packages, and will be able to provide you with more details. Cheers, Jared -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #12 from Austin English <austinenglish(a)gmail.com> 2009-12-31 13:13:16 --- Definitely still has problems. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #13 from André H. <nerv(a)dawncrow.de> 2011-07-03 07:55:19 CDT --- wine-kthread doesn't exist anymore, so the only valid patch might be the oss stuff. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14384|0 |1 is obsolete| | Attachment #14387|0 |1 is obsolete| | Attachment #14388|0 |1 is obsolete| | --- Comment #14 from André H. <nerv(a)dawncrow.de> 2012-06-12 13:39:32 CDT --- Created attachment 40519 --> http://bugs.winehq.org/attachment.cgi?id=40519 /dev/sound patch I'd suggest this patch, but it's untested. Anyone? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |20907 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|NetBSD fixes for Wine 1.0 |Wrong OSS device is tried | |on NetBSD -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14134 Bug 14134 depends on bug 20907, which changed state. Bug 20907 Summary: $ORIGIN is undefined on NetBSD, breaking compile http://bugs.winehq.org/show_bug.cgi?id=20907 What |Old Value |New Value ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |UPSTREAM -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source Severity|enhancement |normal --- Comment #15 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- I don't think anything has been done with the upstream bug report, so assuming still an issue. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 Adrien Fernandes <adrien_fernandes2(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrien_fernandes2(a)hotmail.c | |om --- Comment #16 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- It is still an issue, I am on NetBSD and I don't have audio supported on OSS -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #17 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- By the way, I quickly come to speak about NetBSD audio. NetBSD sound server will be locked as soon as one source is using it. For example, if I use VLC to watch a video, my audio device will be busy so I won't have sound anymore on other applications until I free the device by closing VLC. Is it a problem for Wine ? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wineoss.drv CC| |aeikum(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #18 from Andrew Eikum <aeikum(a)codeweavers.com> --- A patch like Andre's from comment 14 seems reasonable. Can someone test it? (In reply to Adrien Fernandes from comment #17)
By the way, I quickly come to speak about NetBSD audio. NetBSD sound server will be locked as soon as one source is using it. For example, if I use VLC to watch a video, my audio device will be busy so I won't have sound anymore on other applications until I free the device by closing VLC. Is it a problem for Wine ?
Depending on the application, it can be a problem. Some applications expect to be able to open the same device twice and will fail or be silent if it can't. However, many applications only use one audio device, so it may not be a problem for whatever applications you use. I'd recommend finding a way around this limitation. For example, pulseaudio might be supported on your platform. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #19 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- Yes, PulseAudio is a solution on NetBSD for the moment, until we have a kernel audio mixer (tested by me and working) :) I'll try the patch as soon as I can. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #20 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- It doesn't work with the patch. the "test" button in winecfg is returning any audio. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #21 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- isn't returning any audio (sorry for the mistake) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #22 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Adrien Fernandes from comment #20)
It doesn't work with the patch. the "test" button in winecfg is returning any audio.
Thanks for testing. Do you know what the correct path to the OSSv4 sound device on NetBSD is? Do you have a /dev/sound? What about a /dev/dsp? Finally, can you attach a log with the channels from <https://wiki.winehq.org/Sound> with the patch applied? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #23 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- We have OSSv3 We do have /dev/audio and /dev/sound (both can be used) but no /dev/dsp What do you exactly want ? a +tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp debug file ? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #24 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Adrien Fernandes from comment #23)
We have OSSv3
Oh, that might be the problem. Wine won't build the OSS driver without OSSv4. What does winecfg report for the selected driver? The patches here look like they add OSSv3 support, but I haven't reviewed them: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/wine-devel/patches/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #25 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- I'll try it -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #26 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- When using it, no more game is working, they ALL crash before starting BUT winecfg has sound when pressing "test" button. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #27 from André H. <nerv(a)dawncrow.de> --- Sounds like a perfect OSSv3 patch :D Maybe that's the way to go: https://wiki.netbsd.org/opensoundsystem/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14134 --- Comment #28 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- So maybe it crashes because of locked device. I didn't try OSSv4 on NetBSD (maybe I should try and see). I know that a Nathanial Sloss is working on a kernel audio mixer for NetBSD (https://mail-index.netbsd.org/tech-kern/2016/05/15/msg020572.html) that could fix the audio issue but actually, this patch causes every softwares to crash. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org