Skip to contentSkip to conversation

Max core profile version: 0.0 in the "Drivers/DRI/r300" component of the "Mesa"

Bug 103506 [email protected] 1 participant 8 messages Oct 29, 2017 – Oct 30, 2017 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

Ilia Mirkin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Other                       |Drivers/Gallium/r300
         QA Contact|[email protected]. |[email protected]
                   |org                         |.org
           Assignee|[email protected]. |[email protected]
                   |org                         |.org

--- Comment #1 from Ilia Mirkin <[email protected]> ---
Is there a question somewhere in there? (There is currently no r300 "dri" driver, only a gallium one, btw.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

--- Comment #2 from Hi-Angel <[email protected]> ---
@Ilia Mirkin I think she refers to the fact that "core profile" reports 0.0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

--- Comment #3 from Ilia Mirkin <[email protected]> --- (In reply to Hi-Angel from comment #2)

Quoted 1 line

@Ilia Mirkin I think she refers to the fact that "core profile" reports 0.0

It is printing the results of GLX_MESA_query_renderer return values. This is how the lack of core profile support is indicated.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

--- Comment #4 from Hi-Angel <[email protected]> ---

Quoted 1 line

This is how the lack of core profile support is indicated

I don't understand, is it possible to have compatibility profile, but not the core one? And if it is, what would apps requesting a core profile get?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

--- Comment #5 from Ilia Mirkin <[email protected]> --- (In reply to Hi-Angel from comment #4)

Quoted 4 lines
Quoted 1 line

This is how the lack of core profile support is indicated

I don't understand, is it possible to have compatibility profile, but not the core one? And if it is, what would apps requesting a core profile get?

Technically it's not the "compatibility" profile until GL 3.2 rolls around, but in essence yes. An implementation would probably not expose GLX_ARB_create_context_profile, but if it did, such requests would fail.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

--- Comment #6 from Hi-Angel <[email protected]> ---

Quoted 1 line

Technically it's not the "compatibility" profile until GL 3.2 rolls around, but in essence yes. An implementation would probably not expose GLX_ARB_create_context_profile, but if it did, such requests would fail.

I shall say, my OpenGL-fu not very good, but this looks like a mess. Using GLX_ARB_create_context_profile is generally the expected way of using OpenGL, right? Then, the only way to use r300g is to ask compatibility or to query every possible extension separately. The first one we don't want apps to do, and the second one hardly would be used by anyone because, at least, core profile is expected to be present.

So, after all, it's bug, right?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

Ilia Mirkin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #7 from Ilia Mirkin <[email protected]> --- (In reply to Hi-Angel from comment #6)

Quoted 1 line

So, after all, it's bug, right?

Nope. It's all working correctly and both as intended by the driver authors, as well as in the way that applications expect it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=103506

--- Comment #8 from Hi-Angel <[email protected]> ---
For the history sake, I've got the answer about design on IRC, and this is indeed correct. The separation to Core profile and to (optional) compatibility profile only appeared at OpenGL 3.2, and prior that there was a different way to get max. supported version. Hence, if the app supports prev. OpenGL, it should fallback on that codepath.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel