bundle opengl32sw.dll with Mixxx

Bug #1798858 reported by RJ Skerry-Ryan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Low
Unassigned

Bug Description

Follow-up to Bug #1786718. We could ensure that Mixxx will not crash at startup with Qt's dynamic OpenGL support enabled by bundling opengl32sw.dll. We can either build mesa ourselves or use pre-built DLLs from Qt.

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Low
Be (be.ing)
Changed in mixxx:
milestone: none → 2.3.0
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Since this is a crasher fix it should be a requiment for a 2.2 release.

Changed in mixxx:
importance: Low → Critical
milestone: 2.3.0 → 2.2.0
Revision history for this message
Be (be.ing) wrote :

This is a crasher? I don't see any reports of actual crashes in this bug. RJ's last comment in the old bug ( https://bugs.launchpad.net/mixxx/+bug/1786718/comments/20 ) said this remaining issue is not critical.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 1798858] Re: bundle opengl32sw.dll with Mixxx

Notably it's a crash on startup, so not a "party stopper" per se. Adding
the OpenGLES DLLs mitigate the issue for real hardware and some VMs I
believe, so I think the only time this actually causes an issue is if the
user truly has no graphics card capable of OpenGL and software rendering is
needed. Because I don't think it affects anyone but us developers using
Mixxx in a VM that's why I put it as low priority :).

On Sun, Oct 28, 2018 at 8:30 AM Be <email address hidden> wrote:

> This is a crasher? I don't see any reports of actual crashes in this
> bug. RJ's last comment in the old bug (
> https://bugs.launchpad.net/mixxx/+bug/1786718/comments/20 ) said this
> remaining issue is not critical.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1798858
>
> Title:
> bundle opengl32sw.dll with Mixxx
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1798858/+subscriptions
>

Revision history for this message
Be (be.ing) wrote :

Thank you for clarifying.

Changed in mixxx:
importance: Critical → Low
milestone: 2.2.0 → 2.3.0
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Isn't it only a matter of adding a dll to the installer?
What is the risk, not to do it in 2.2?

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

I see no risk in doing it for 2.2 if someone's motivated to fix this, I'm
only talking about priority.

On Sun, Oct 28, 2018 at 11:05 AM Daniel Schürmann <
<email address hidden>> wrote:

> Isn't it only a matter of adding a dll to the installer?
> What is the risk, not to do it in 2.2?
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1798858
>
> Title:
> bundle opengl32sw.dll with Mixxx
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1798858/+subscriptions
>

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Do you have a recipe to do it?
I just had a look how you add libEGL.dll butI have no clue.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

The fix won't be like for libEGL/etc. because Qt doesn't produce these DLLs.

Qt provides pre-built Windows DLLs here:
http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/
which we could simply check-in to the buildserver environment repo, though these are quite old now. Mesa is at version 18.2.3 and the latest Qt provides is a 12.x RC.are on 12.x RC. I think it'd be ideal if we built Mesa from source in the buildserver repo, so the process is just like adding any other library (check in the source, add a build_xxx.bat, run it from build_environment.bat)

Revision history for this message
Be (be.ing) wrote :

I'm not comfortable making *any* change to the 2.2 build environments at this point unless it is needed to fix a critical bug.

tags: added: windows
Revision history for this message
Daniel Schürmann (daschuer) wrote :

The issue seems to effect more users, since QT has a blacklist of drivers.
So any system that is listed here will not have GL Waveforms:
https://github.com/qt/qtbase/blob/dev/src/plugins/platforms/windows/openglblacklists/default.json

Revision history for this message
Daniel Schürmann (daschuer) wrote :

If GL is blacklisted or < 2.1 Qt tries to use the angle driver for GL ES which translates direct 3 d.
It will currently crash, if this is blacklisted as well, because of the outdated GL detection code.
The cash will be fixed here:
https://bugs.launchpad.net/mixxx/+bug/1825461

Users can than use the CPU rendered waveforms only, which should be not worse than CPU rendered GL waveforms. The only remaining issue is, that they have no spinnies.

Changed in mixxx:
milestone: 2.3.0 → 2.2.2
Revision history for this message
Daniel Schürmann (daschuer) wrote :
Changed in mixxx:
milestone: 2.2.2 → 2.2.3
tags: added: installer
Changed in mixxx:
milestone: 2.2.3 → 2.2.4
Changed in mixxx:
milestone: 2.2.4 → none
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9473

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.