amdgpu: DRI3 with EGL?
[Please CC me on all replies, I'm not subscribed to amd-gfx.]
Hey,
I'm not sure whether this is a bug or if I'm just missing something. I've got the following stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/c7a81dcea9
libdrm: 2.4.84-2
LLVM: SVN:trunk/r315850 (6.0 devel)
X.Org: 2:1.19.3-2
Linux: 4.13.7
Firmware (firmware-amd-graphics): 20170823-1
libclc: Git:master/df9db2adca
DDX (xserver-xorg-video-amdgpu): 1.4.0-1
In my xorg.conf I have (and if I read the manpage correctly, the »Option "DRI" "3"« line shouldn't even be necessary anymore):
Quoted 5 lines
Section "Device"
Identifier "Forced to amdgpu with DRI3" Driver "amdgpu" Option "DRI" "3"EndSection
But when I look at my Xorg.0.log or the output of eglinfo, I see the following lines:
- Xorg.0.log: [ 15.305] (II) glamor: EGL version 1.5 (DRI2):
- eglinfo: EGL version string: 1.5 (DRI2)
My understanding was, that amdgpu supports DRI3 for quite some time now and therefore would expect to see something like "EGL version string: 1.5 (DRI3)".
What am I missing? Is this a configuration I messed up? Is it a bug somewhere (I'm happy to report it against the right module, just point me in the right direction)?
Additional notes:
- I checked this occasionally and I never saw DRI3, so I'd say if something is amiss, it has always been this way
- If you need anything else, let me know.
Thank you in advance for your reply!
Cheers,
Kai
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): c3bc7d1d-37d0-c194-5bf7-535949ef194b-1ZKVMVCtJ2dx9oSEVPI0kiST3g8Odh+X@public.gmane.org
Quoted 28 lines · Kai Wasserbäch
[Please CC me on all replies, I'm not subscribed to amd-gfx.]
Hey,
I'm not sure whether this is a bug or if I'm just missing something. I've got the following stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID =0x67b1)
Mesa: Git:master/c7a81dcea9
libdrm: 2.4.84-2
LLVM: SVN:trunk/r315850 (6.0 devel)
X.Org: 2:1.19.3-2
Linux: 4.13.7
Firmware (firmware-amd-graphics): 20170823-1
libclc: Git:master/df9db2adca
DDX (xserver-xorg-video-amdgpu): 1.4.0-1In my xorg.conf I have (and if I read the manpage correctly, the »Option "DRI" "3"« line shouldn't even be necessary anymore):
Quoted 5 lines
Section "Device"
Identifier "Forced to amdgpu with DRI3" Driver "amdgpu" Option "DRI" "3"EndSection
But when I look at my Xorg.0.log or the output of eglinfo, I see the following lines:
- Xorg.0.log: [ 15.305] (II) glamor: EGL version 1.5 (DRI2):
- eglinfo: EGL version string: 1.5 (DRI2)
Quoted 4 lines
My understanding was, that amdgpu supports DRI3 for quite some time now and therefore would expect to see something like "EGL version string: 1.5 (DRI3)".
What am I missing?
Only that those messages are about a different "DRI2" than the alternative to DRI3.
Setting LIBGL_DEBUG=verbose when running a client prints on stderr whether it's using DRI3 or DRI2.
Signature · 2 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): e5ffcce1-4e8f-e00d-82ee-5b95cab2282c-otUistvHUpPR7s880joybQ@public.gmane.org
Hey Michel,
Michel Dänzer wrote on 16.10.2017 18:05:
Quoted 29 lines · Kai Wasserbäch
Quoted 28 lines
[Please CC me on all replies, I'm not subscribed to amd-gfx.]
Hey,
I'm not sure whether this is a bug or if I'm just missing something. I've got the following stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID =0x67b1)
Mesa: Git:master/c7a81dcea9
libdrm: 2.4.84-2
LLVM: SVN:trunk/r315850 (6.0 devel)
X.Org: 2:1.19.3-2
Linux: 4.13.7
Firmware (firmware-amd-graphics): 20170823-1
libclc: Git:master/df9db2adca
DDX (xserver-xorg-video-amdgpu): 1.4.0-1In my xorg.conf I have (and if I read the manpage correctly, the »Option "DRI" "3"« line shouldn't even be necessary anymore):
Quoted 5 lines
Section "Device"
Identifier "Forced to amdgpu with DRI3" Driver "amdgpu" Option "DRI" "3"EndSection
But when I look at my Xorg.0.log or the output of eglinfo, I see the following lines:
- Xorg.0.log: [ 15.305] (II) glamor: EGL version 1.5 (DRI2):
- eglinfo: EGL version string: 1.5 (DRI2)
Quoted 7 lines
Quoted 4 lines
My understanding was, that amdgpu supports DRI3 for quite some time now and therefore would expect to see something like "EGL version string: 1.5 (DRI3)".
What am I missing?
Only that those messages are about a different "DRI2" than the alternative to DRI3.
ah, I was not aware of that. What „DRI“ is meant here then?
Quoted 2 lines
Setting LIBGL_DEBUG=verbose when running a client prints on stderr whether it's using DRI3 or DRI2.
Ok, glxgears prints with LIBGL_DEBUG=verbose:
libGL: Using DRI3 for screen 0
So everything seems fine and I was just confused by the different types of "DRI".
Cheers,
Kai
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): d48e9c96-83fd-de4c-0d70-ade8e6b1bd4f-1ZKVMVCtJ2dx9oSEVPI0kiST3g8Odh+X@public.gmane.org
Quoted 32 lines · Kai Wasserbäch
Michel Dänzer wrote on 16.10.2017 18:05:
Quoted 31 lines · Kai Wasserbäch
Quoted 30 lines
Hey,
I'm not sure whether this is a bug or if I'm just missing something. I've got the following stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID =0x67b1)
Mesa: Git:master/c7a81dcea9
libdrm: 2.4.84-2
LLVM: SVN:trunk/r315850 (6.0 devel)
X.Org: 2:1.19.3-2
Linux: 4.13.7
Firmware (firmware-amd-graphics): 20170823-1
libclc: Git:master/df9db2adca
DDX (xserver-xorg-video-amdgpu): 1.4.0-1In my xorg.conf I have (and if I read the manpage correctly, the »Option "DRI" "3"« line shouldn't even be necessary anymore):
Quoted 5 lines
Section "Device"
Identifier "Forced to amdgpu with DRI3" Driver "amdgpu" Option "DRI" "3"EndSection
But when I look at my Xorg.0.log or the output of eglinfo, I see the following lines:
- Xorg.0.log: [ 15.305] (II) glamor: EGL version 1.5 (DRI2):
- eglinfo: EGL version string: 1.5 (DRI2)My understanding was, that amdgpu supports DRI3 for quite some time now and therefore would expect to see something like "EGL version string: 1.5 (DRI3)".
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
What am I missing?
Only that those messages are about a different "DRI2" than the alternative to DRI3.
ah, I was not aware of that. What „DRI“ is meant here then?
The API exposed by *_dri.so to the EGL runtime. It's called "DRI2" because it had to be changed from the original API when DRI2 was introduced. However, that wasn't necessary for DRI3.
Signature · 2 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 81f4151e-f638-789c-8c7c-a450830a8b79-otUistvHUpPR7s880joybQ@public.gmane.org
Dear Michel,
Michel Dänzer wrote on 17.10.2017 11:20:
Quoted 15 lines · Kai Wasserbäch
Quoted 14 lines
Michel Dänzer wrote on 16.10.2017 18:05:
Quoted 13 lines · Kai Wasserbäch
Quoted 11 lines
[...]
But when I look at my Xorg.0.log or the output of eglinfo, I see the following lines:
- Xorg.0.log: [ 15.305] (II) glamor: EGL version 1.5 (DRI2):
- eglinfo: EGL version string: 1.5 (DRI2)My understanding was, that amdgpu supports DRI3 for quite some time now and therefore would expect to see something like "EGL version string: 1.5 (DRI3)".
What am I missing?
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Only that those messages are about a different "DRI2" than the alternative to DRI3.
ah, I was not aware of that. What „DRI“ is meant here then?
The API exposed by *_dri.so to the EGL runtime. It's called "DRI2" because it had to be changed from the original API when DRI2 was introduced. However, that wasn't necessary for DRI3.
thank you for the explanation! Is there any chance that this could be disambiguated? Maybe by adding a „MESA-“ to the string, which is returned as the EGL version string. Would a "patch" for this be welcome?
Cheers,
Kai
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): ccdd88ad-165c-9a33-8617-2cf7fdb24a42-1ZKVMVCtJ2dx9oSEVPI0kiST3g8Odh+X@public.gmane.org
Quoted 22 lines · Kai Wasserbäch
Dear Michel,
Michel Dänzer wrote on 17.10.2017 11:20:Quoted 20 lines · Kai Wasserbäch
Quoted 18 lines
Michel Dänzer wrote on 16.10.2017 18:05:
Quoted 8 lines · Kai Wasserbäch
Quoted 7 lines
[...]
But when I look at my Xorg.0.log or the output of eglinfo, I see the following lines:
- Xorg.0.log: [ 15.305] (II) glamor: EGL version 1.5 (DRI2):
- eglinfo: EGL version string: 1.5 (DRI2)Quoted 7 lines
Quoted 4 lines
My understanding was, that amdgpu supports DRI3 for quite some time now and therefore would expect to see something like "EGL version string: 1.5 (DRI3)".
What am I missing?
Only that those messages are about a different "DRI2" than the alternative to DRI3.
ah, I was not aware of that. What „DRI“ is meant here then?
Quoted 7 lines
Quoted 3 lines
The API exposed by *_dri.so to the EGL runtime. It's called "DRI2" because it had to be changed from the original API when DRI2 was introduced. However, that wasn't necessary for DRI3.
thank you for the explanation! Is there any chance that this could be disambiguated? Maybe by adding a „MESA-“ to the string, which is returned as the EGL version string. Would a "patch" for this be welcome?
I can't speak on behalf of all Mesa developers who would review it.
Signature · 2 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx