From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100393] Cemu wiiu emulator crashes after selecting game on radeonsi Date: Sat, 25 Mar 2017 17:52:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0959934374==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id AD8C56E117 for ; Sat, 25 Mar 2017 17:52:49 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0959934374== Content-Type: multipart/alternative; boundary="14904643690.9D4FaD8.2981"; charset="UTF-8" --14904643690.9D4FaD8.2981 Date: Sat, 25 Mar 2017 17:52:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D100393 --- Comment #4 from Ilia Mirkin --- (In reply to Giovanni ongaro from comment #3) > sorry but in fact this error is displayed > Mesa: User error: GL_INVALID_ENUM in glEnable(GL_PRIMITIVE_RESTART) >=20 > and then sound plays The issue is "cemu was developed against a specific GL implementation, and doesn't work with other perfectly conformant GL implementations". In this case, you're getting a GL 3.0 compat context. It tries to enable GL_PRIMITIVE_RESTART, which was not available in GL 3.0. With NV_primitive_restart, which is most likely exposed, one needs to use GL_PRIMITIVE_RESTART_NV, which conveniently is a different value. As I mentioned, you can try the COMPAT tail to the version override so you = get a compat context, but lots of stuff won't work - there are good reasons why mesa doesn't expose high-versioned compat contexts. --=20 You are receiving this mail because: You are the assignee for the bug.= --14904643690.9D4FaD8.2981 Date: Sat, 25 Mar 2017 17:52:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 4 on bug 10039= 3 from Ilia Mirkin
(In reply to Giovanni ongaro from comment #3)
> sorry but in fact this error is displayed
> Mesa: User error: GL_INVALID_ENUM in glEnable(GL_PRIMITIVE_RESTART)
>=20
> and then sound plays

The issue is "cemu was developed against a specific GL implementation,=
 and
doesn't work with other perfectly conformant GL implementations".

In this case, you're getting a GL 3.0 compat context. It tries to enable
GL_PRIMITIVE_RESTART, which was not available in GL 3.0. With
NV_primitive_restart, which is most likely exposed, one needs to use
GL_PRIMITIVE_RESTART_NV, which conveniently is a different value.

As I mentioned, you can try the COMPAT tail to the version override so you =
get
a compat context, but lots of stuff won't work - there are good reasons why
mesa doesn't expose high-versioned compat contexts.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14904643690.9D4FaD8.2981-- --===============0959934374== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0959934374==--