Canceled event: XDC 2023 A Corunha Spain @ Tue Oct 17 - Thu Oct 19, 2023 (mesa-dev@lists.freedesktop.org)

2023-04-17 Thread mario . kleiner . de
-...@lists.freedesktop.org ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=No uveau Dev;X-NUM-GUESTS=0:mailto:nouv...@lists.freedesktop.org ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=mario. kleiner...@gmail.com;X-NUM-GUESTS=0:mailto:mario.kleiner

Invitation: XDC 2023 A Corunha Spain @ Tue Oct 17 - Thu Oct 19, 2023 (mesa-dev@lists.freedesktop.org)

2023-04-17 Thread mario . kleiner . de
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART;VALUE=DATE:20231017 DTEND;VALUE=DATE:20231020 DTSTAMP:20230417T170311Z ORGANIZER;CN=mario.kleiner...@gmail.com:mailto:mario.kleiner...@gmail.com UID:65qeuuc9e0gll25tq

Re: Headless OpenGL Rendering using SSH and X11 forwarding

2023-03-08 Thread Mario Kleiner
I think this might be because indirect GLX support is disabled by default on X-Servers shipping in Ubuntu, so if your remotely executing client tries to use your local X-Server over the network via the x forwarding, it will fail. I guess without x forwarding Mesa just renders locally on the remote

[Mesa-dev] [PATCH] vulkan/wsi: Really terminate DRM lease in wsi_release_display().

2020-06-08 Thread Mario Kleiner
se active, and thereby the leased output blocked, until vkDestroyInstance() is called. This gives users their GUI back, instead of extended darkness. Signed-off-by: Mario Kleiner --- src/vulkan/wsi/wsi_common_display.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-)

[Mesa-dev] [PATCH] drirc: Add sddm-greeter to adaptive_sync blacklist.

2019-02-18 Thread Mario Kleiner
This is the sddm login screen. Fixes: a9c36dbf9c56 ("drirc: Initial blacklist for adaptive sync") Signed-off-by: Mario Kleiner Cc: 19.0 --- src/util/00-mesa-defaults.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-def

Re: [Mesa-dev] Fwd: Review for last remaining Mesa wayland-drm depth 30 bits?

2019-01-29 Thread Mario Kleiner
, > > On Tue, 29 Jan 2019 at 16:05, Adam Jackson wrote: > > On Tue, 2019-01-29 at 14:45 +0100, Mario Kleiner wrote: > > > could i get some review of the last two missing patches of mine for > > > depth 30 support in Mesa's egl/wayland wl-drm backend? They are ov

[Mesa-dev] Fwd: Review for last remaining Mesa wayland-drm depth 30 bits?

2019-01-29 Thread Mario Kleiner
Hi, could i get some review of the last two missing patches of mine for depth 30 support in Mesa's egl/wayland wl-drm backend? They are over six months old now, well-tested at time of original submission: https://patchwork.freedesktop.org/project/mesa/list/?submitter=14956 Would be good to get t

[Mesa-dev] [PATCH] radeonsi: Fix use of 1- or 2- component GL_DOUBLE vbo's.

2019-01-07 Thread Mario Kleiner
egardless of what the shader actually needs. Fix this by properly assigning 2 or 4 dword fetches for one or two component GL_DOUBLE input. Fixes: be973ed21f6e ("radeonsi: load the right number of components for VS inputs and TBOs") Signed-off-by: Mario Kleiner Cc: mesa-sta...@li

Re: [Mesa-dev] [PATCH] i965/screen: MOD_FORMAT_Y_TILED is only supported by gen9+

2018-07-31 Thread Mario Kleiner
d request Y-tiling. If > the surface is full-screen, it should know this and either require X-tiling > because that's all KMS advertises or not flip the buffer because it uses a > modifier that's unsupported by the kernel. I think you have an X server > bug. > > --Jaso

[Mesa-dev] [PATCH] i965/screen: MOD_FORMAT_Y_TILED is only supported by gen9+

2018-07-31 Thread Mario Kleiner
At least that's what the Linux 4.18 i915 drm/kms driver thinks, and the disagreement between kms and Mesa leads to pageflipping failure with X-Server 1.20's dmabuf modifiers enabled modesetting-ddx, at least as tested on a gen 7 Ivybridge system. Signed-off-by: Mario Kleiner ---

Re: [Mesa-dev] Mesa 18.2.0 release plan

2018-07-31 Thread Mario Kleiner
or the kms driver is wrong. So this trivial patch would be worthwile to include if this is indeed Mesa in the wrong. thanks, -mario > > Br. > > PS: If you would like to talk directly to me, I hang out at freenode's > IRC as "tanty". You can find me in the #dri-devel room,

Re: [Mesa-dev] Mesa 18.2.0 release plan

2018-07-26 Thread Mario Kleiner
Hello Andreas, the improved color depth 30 rendering support for nouveau is imho ready for merging since about a month: https://patchwork.freedesktop.org/project/mesa/patches/?submitter=14956&state=&q=&archive=&delegate= The patch series submitted at 2018-06-13, and the single patch "loader_dri3

Re: [Mesa-dev] [PATCH] loader_dri3: Handle mismatched depth 30 formats for Prime renderoffload.

2018-07-08 Thread Mario Kleiner
exchange for a beer on xdc2018, assuming i manage to make it there? thanks, -mario On Thu, Jun 14, 2018 at 6:04 AM, Mario Kleiner wrote: > Detect if the display (X-Server) gpu and Prime renderoffload gpu prefer > different channel ordering for color depth 30 formats ([X/A]BGR2101010 >

Re: [Mesa-dev] Nouveau depth 30 stuff again..

2018-07-08 Thread Mario Kleiner
better, but nothing worse, as far as my testing goes. It would be great to get this merged for Mesa 18.2. Can i bribe somebody into this, in exchange for a beer on xdc2018, assuming i manage to make it there? Cheers, -mario On Wed, Jun 13, 2018 at 6:04 AM, Mario Kleiner wrote: > A resend of

[Mesa-dev] [PATCH] loader_dri3: Handle mismatched depth 30 formats for Prime renderoffload.

2018-06-13 Thread Mario Kleiner
DRI3 buffer sharing and does the "wrong" channel swizzling that then cancels out the "wrong" swizzling of glamor and we end up with the proper pixel formatting in the scanout buffer :). This so far tested on a NVA5 Tesla card under KDE5 Plasma as shipping with Ubuntu 16.04.4 LTS

[Mesa-dev] [PATCH 1/5] egl/wayland: Add 10bpc BGR configs

2018-06-12 Thread Mario Kleiner
From: Daniel Stone Add support for XBGR2101010 and ABGR2101010. Signed-off-by: Daniel Stone Reviewed-by: Eric Engestrom Reviewed-by: Mario Kleiner Tested-by: Mario Kleiner Tested-by: Ilia Mirkin --- src/egl/drivers/dri2/platform_wayland.c | 12 1 file changed, 12 insertions

[Mesa-dev] [PATCH 5/5] egl/wayland-drm: Only announce formats via wl_drm which the driver supports.

2018-06-12 Thread Mario Kleiner
NVidia Optimus setup. Signed-off-by: Mario Kleiner Cc: Eric Engestrom Cc: Daniel Stone --- src/egl/drivers/dri2/egl_dri2.c | 3 ++- src/egl/drivers/dri2/egl_dri2.h | 2 ++ src/egl/drivers/dri2/platform_wayland.c | 18 ++ src/egl/wayland/wayland-drm/way

[Mesa-dev] [PATCH 2/5] gbm: Add support for 10bpp BGR formats

2018-06-12 Thread Mario Kleiner
From: Daniel Stone Add support for XBGR2101010 and ABGR2101010 formats. Signed-off-by: Daniel Stone Reviewed-by: Mario Kleiner Tested-by: Mario Kleiner Tested-by: Ilia Mirkin --- src/gbm/backends/dri/gbm_dri.c | 8 1 file changed, 8 insertions(+) diff --git a/src/gbm/backends/dri

[Mesa-dev] Nouveau depth 30 stuff again..

2018-06-12 Thread Mario Kleiner
A resend of the series, with all of Eric Engestroems review comments addressed and retested on all combos of intel, nvidia, intel+nvidia prime. Rebased and retested against current Mesa master, otherwise only style fixes and an additional assert for documentation, no real functional changes. Plea

[Mesa-dev] [PATCH 3/5] egl/x11: Handle both depth 30 formats for eglCreateImage(). (v4)

2018-06-12 Thread Mario Kleiner
` and just `return visual->red_mask`/ `return 0`, as suggested by Eric Engestrom. Rebased onto current master, to take the cleanup via the new function dri2_format_for_depth() into account. Signed-off-by: Mario Kleiner Reviewed-by: Eric Engestrom --- src/egl/drivers/dri2/egl_dri

[Mesa-dev] [PATCH 4/5] egl/wayland: Allow client->server format conversion for PRIME offload. (v2)

2018-06-12 Thread Mario Kleiner
le-gpu, Intel single-gpu, AMD single-gpu, "Optimus" Intel server iGPU for display + NVidia client dGPU for rendering. v2: Implement minor review comments by Eric Engestrom: Add some comment and assert, and some style fixes for clarity. No functional change. Signed-off-by: Mario K

Re: [Mesa-dev] [PATCH 4/5] egl/wayland: Allow client->server format conversion for PRIME offload.

2018-05-22 Thread Mario Kleiner
On Mon, May 21, 2018 at 4:42 PM, Eric Engestrom wrote: > On Saturday, 2018-05-19 05:32:41 +0200, Mario Kleiner wrote: >> Support PRIME render offload between a Wayland server gpu and a Wayland >> client gpu with different channel ordering for their color formats, >> e.g.,

[Mesa-dev] [PATCH 4/5] egl/wayland: Allow client->server format conversion for PRIME offload.

2018-05-18 Thread Mario Kleiner
le-gpu, Intel single-gpu, AMD single-gpu, "Optimus" Intel server iGPU for display + NVidia client dGPU for rendering. Signed-off-by: Mario Kleiner Cc: Daniel Stone --- src/egl/drivers/dri2/platform_wayland.c | 67 - 1 file changed, 58 insertions(+), 9 de

[Mesa-dev] [PATCH 5/5] egl/wayland-drm: Only announce formats via wl_drm which the driver supports.

2018-05-18 Thread Mario Kleiner
NVidia Optimus setup. Signed-off-by: Mario Kleiner Cc: Daniel Stone --- src/egl/drivers/dri2/egl_dri2.c | 3 ++- src/egl/drivers/dri2/egl_dri2.h | 2 ++ src/egl/drivers/dri2/platform_wayland.c | 18 ++ src/egl/wayland/wayland-drm/way

[Mesa-dev] [PATCH 3/5] egl/x11: Handle both depth 30 formats for eglCreateImage(). (v3)

2018-05-18 Thread Mario Kleiner
screen when going through EGL+OpenGL based compositing on KDE-5. Iow. to confirm that my explanation to the v2 patch on the mailing list of why it should work and the actual practice agree (or possibly that i am good at fooling myself during testing ;). Signed-off-by: Mario Kleiner

[Mesa-dev] [PATCH 1/5] egl/wayland: Add 10bpc BGR configs

2018-05-18 Thread Mario Kleiner
From: Daniel Stone Add support for XBGR2101010 and ABGR2101010. Signed-off-by: Daniel Stone Reviewed-by: Eric Engestrom Reviewed-by: Mario Kleiner Tested-by: Mario Kleiner Tested-by: Ilia Mirkin --- src/egl/drivers/dri2/platform_wayland.c | 12 1 file changed, 12 insertions

[Mesa-dev] Wrap up of depth 30 patches for nouveau.

2018-05-18 Thread Mario Kleiner
Hi, this series contains all the remaining patches for depth 30 support on nouveau and possible future driver with xBGR2101010 ordering instead of the xRGB2101010 ordering already supported since Mesa 18.0. These are the ones i obsessively tested with success. First two patches are Daniel's, whic

[Mesa-dev] [PATCH 2/5] gbm: Add support for 10bpp BGR formats

2018-05-18 Thread Mario Kleiner
From: Daniel Stone Add support for XBGR2101010 and ABGR2101010 formats. Signed-off-by: Daniel Stone Reviewed-by: Mario Kleiner Tested-by: Mario Kleiner Tested-by: Ilia Mirkin --- src/gbm/backends/dri/gbm_dri.c | 8 1 file changed, 8 insertions(+) diff --git a/src/gbm/backends/dri

Re: [Mesa-dev] [RFC] Fix attempt for Mesa + X-Server 1.20 + modesetting-ddx hangs on KDE5.

2018-05-06 Thread Mario Kleiner
sected this issue and did > not recheck when opening the actual bugreport (sorry for that) > > [1] https://bugs.freedesktop.org/show_bug.cgi?id=106372 > > Greetings, > > Tobias > > > > On 5/4/18 3:45 PM, Mario Kleiner wrote: >> >> Two patches, solving

Re: [Mesa-dev] [PATCH 1/2] loader_dri3: Wait for pending swaps to complete before drawable_fini.

2018-05-05 Thread Mario Kleiner
On Sat, May 5, 2018 at 4:44 PM, Roman Gilg wrote: > Without this patch plasmashell on Xserver/Mesa master freezes on me > when opening the launcher menu (Kickoff). With the patch haven't > experienced freezes yet. > > Haven't tested the Steam client yet. Might be a different problem though. > > Te

Re: [Mesa-dev] [PATCH 2/2] loader_dri3: Variant 2: Wait for pending swaps to complete before drawable_fini.

2018-05-04 Thread Mario Kleiner
On Sat, May 5, 2018 at 4:08 AM, Mike Lothian wrote: > I definately saw the steam bug with patch 1 but not with plasmashell, > I started seeing it with patch 2 but it seemed to fix itself > I had two hangs of kwin_x11 within the last 6 hours when alt-tabbing between windows, where it got stuck in

Re: [Mesa-dev] [PATCH 2/2] loader_dri3: Variant 2: Wait for pending swaps to complete before drawable_fini.

2018-05-04 Thread Mario Kleiner
draw->width, draw->height, draw->drawable, draw->eid); >^~ > ../mesa-/src/loader/loader_dri3_helper.c:1454:7: note: include > ‘’ or provide a declaration of ‘printf’ > cc1: some warnings being treated as errors > > Cheers > > Mike > > On

Re: [Mesa-dev] [PATCH 1/2] loader_dri3: Wait for pending swaps to complete before drawable_fini.

2018-05-04 Thread Mario Kleiner
gt; Tested-by: Mike Lothian >> >> I'll give the other patch a whirl now >> >> Cheers >> >> Mike >> >> On 4 May 2018 at 14:45, Mario Kleiner wrote: >>> Before destroying the loader_dri3_drawable, make sure all pending >>> swa

[Mesa-dev] [PATCH 1/2] loader_dri3: Wait for pending swaps to complete before drawable_fini.

2018-05-04 Thread Mario Kleiner
l its pending swaps have completed, to prevent misdelivery of PresentNotify events to the right X-Window, but the wrong incarnation of the associated loader_dri3_drawable. Signed-off-by: Mario Kleiner Cc: xorg-de...@lists.x.org Cc: dan...@fooishbar.org Cc: eero.t.tammi...@intel.com Cc: m...@fire

[Mesa-dev] [PATCH 2/2] loader_dri3: Variant 2: Wait for pending swaps to complete before drawable_fini.

2018-05-04 Thread Mario Kleiner
o provoke the occassional ORPHAN event. Signed-off-by: Mario Kleiner Cc: xorg-de...@lists.x.org Cc: dan...@fooishbar.org Cc: eero.t.tammi...@intel.com Cc: m...@fireburn.co.uk --- src/loader/loader_dri3_helper.c | 24 1 file changed, 24 insertions(+) diff --git a/src/load

[Mesa-dev] [RFC] Fix attempt for Mesa + X-Server 1.20 + modesetting-ddx hangs on KDE5.

2018-05-04 Thread Mario Kleiner
Two patches, solving the same problem in two different ways, the 1st one ready to go, the 2nd one would need the debug statements removed. Only apply one of those for testing, the 2nd one will be useless with the 1st one applied, but demonstrates the problem. So X-Server 1.20 RC + modesetting-ddx

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-12 Thread Mario Kleiner
On 04/12/2018 07:43 PM, Ilia Mirkin wrote: On Thu, Apr 12, 2018 at 1:18 PM, Mario Kleiner wrote: X11 Prime renderoffload is another unsolved problem with nouveau depth 30. Currently we get swapped red-blue with intel + nvidia. We could extend the buffer creation code to convert nouveau's

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-12 Thread Mario Kleiner
On 04/10/2018 06:49 PM, Ilia Mirkin wrote: On Tue, Apr 10, 2018 at 4:42 AM, Michel Dänzer wrote: On 2018-04-10 10:22 AM, Mario Kleiner wrote: On 04/09/2018 12:12 PM, Michel Dänzer wrote: On 2018-04-06 08:56 PM, Mario Kleiner wrote: I'm interested in the full xdpyinfo *at screen dep

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-10 Thread Mario Kleiner
On 04/09/2018 12:12 PM, Michel Dänzer wrote: On 2018-04-06 08:56 PM, Mario Kleiner wrote: On 04/06/2018 06:41 PM, Michel Dänzer wrote: On 2018-04-06 06:18 PM, Mario Kleiner wrote: On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer wrote: On 2018-03-27 07:53 PM, Daniel Stone wrote: On 12 March

[Mesa-dev] [PATCH] egl/x11: Handle both depth 30 formats for eglCreateImage(). (v2)

2018-04-10 Thread Mario Kleiner
or xbgr ordering for the channel masks of its depth 30 visuals, so this should be unambiguous and avoid trouble if X ever supports depth 30 pixmaps on screens with a non-depth 30 root window visual. This per Michels suggestion. Signed-off-by: Mario Kleiner Cc: Michel Dänzer

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-06 Thread Mario Kleiner
On 04/06/2018 06:41 PM, Michel Dänzer wrote: On 2018-04-06 06:18 PM, Mario Kleiner wrote: On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer wrote: On 2018-03-27 07:53 PM, Daniel Stone wrote: On 12 March 2018 at 20:45, Mario Kleiner wrote: We need to distinguish if a backing pixmap of a window

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-06 Thread Mario Kleiner
On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer wrote: > On 2018-03-27 07:53 PM, Daniel Stone wrote: >> On 12 March 2018 at 20:45, Mario Kleiner wrote: >>> We need to distinguish if a backing pixmap of a window is >>> XRGB2101010 or XBGR2101010, as different gpu hw sup

Re: [Mesa-dev] [PATCH 1/3] wayland-drm: Expose server-side xbgr2101010 and abgr2101010 formats.

2018-03-28 Thread Mario Kleiner
On Tue, Mar 27, 2018 at 7:45 PM, Daniel Stone wrote: > Hi Ilia, > > On 14 March 2018 at 19:02, Ilia Mirkin wrote: >> On Tue, Mar 13, 2018 at 5:30 AM, Daniel Stone wrote: >>> On 12 March 2018 at 20:45, Mario Kleiner wrote: >>>> This way the wayland server

[Mesa-dev] [PATCH 2/3] nv50, nvc0: Support BGRX1010102 and RGBX1010102 for sampling.

2018-03-12 Thread Mario Kleiner
n drm backend with a Tesla and Pascal gpu. Signed-off-by: Mario Kleiner --- src/gallium/drivers/nouveau/nv50/nv50_formats.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium/drivers/nouveau/nv50/nv50_formats.c index fc5deac..0ead8ac 1

[Mesa-dev] More pieces for xbgr2101010/abgr2101010 support.

2018-03-12 Thread Mario Kleiner
These are needed together with Daniel Stone's 10 bpc bgr patches to make nouveau's 10 bpc support more complete. All tested on nouveau on a nv96 as primary/display gpu and also with a radeon as prime renderoffload gpu, and then the other way round with radeon primary + nouveau renderoffload. Also

[Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-03-12 Thread Mario Kleiner
x27;t easily get the associated visual of a Pixmap, we use the visual of the x-screens root window instead as a proxy. This fixes desktop composition of color depth 30 windows when the X11 compositor uses EGL. Signed-off-by: Mario Kleiner --- src/egl/drivers/dri2/egl_dri2.h | 7 ++ sr

[Mesa-dev] [PATCH 1/3] wayland-drm: Expose server-side xbgr2101010 and abgr2101010 formats.

2018-03-12 Thread Mario Kleiner
This way the wayland server can signal support for these formats to wayland EGL clients. This is currently used by nouveau for 10 bpc support. Tested with glmark2-wayland and glmark2-es2-wayland under weston to now expose 10 bpc EGL configs under nouveau. Signed-off-by: Mario Kleiner --- src

Re: [Mesa-dev] [PATCH 2/2] gbm: Add support for 10bpp BGR formats

2018-03-12 Thread Mario Kleiner
Tested under nouveau-kms with a hacked kmscube to use GBM_FORMAT_ABGR2101010 successfully, and reject GBM_FORMAT_XBGR2101010, GBM_FORMAT_ARGB2101010, and GBM_FORMAT_XRGB2101010 as expected. Reviewed-and-Tested-by: Mario Kleiner On Fri, Mar 9, 2018 at 4:45 AM, Ilia Mirkin wrote: > Series

Re: [Mesa-dev] [PATCH 1/2] egl/wayland: Add 10bpc BGR configs

2018-03-12 Thread Mario Kleiner
some more patches to work though. I'll send out a series on top of your patches shortly to complete this. Reviewed-and-Tested-by: Mario Kleiner On Fri, Mar 9, 2018 at 7:15 PM, Eric Engestrom wrote: > On Thursday, 2018-03-08 17:36:39 +, Daniel Stone wrote: >> Add sup

Re: [Mesa-dev] nouveau 30bpp / deep color status

2018-03-08 Thread Mario Kleiner
Cc'ing mesa-dev, which was left out. On 03/05/2018 01:40 PM, Ilia Mirkin wrote: On Mon, Mar 5, 2018 at 2:25 AM, Mario Kleiner wrote: On 02/05/2018 12:50 AM, Ilia Mirkin wrote: In case anyone's curious about 30bpp framebuffer support, here's the current status: Kernel:

[Mesa-dev] [PATCH] i965/screen: Allow drirc to set 'allow_rgb10_configs' again.

2018-01-18 Thread Mario Kleiner
B10_CONFIGS option (v2)") Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák Reviewed-by: Tapani Pälli Cc: Marek Olšák --- src/mesa/drivers/dri/i965/intel_screen.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/sr

Re: [Mesa-dev] [PATCH] st/dri: Default ALLOW_RGB10_CONFIGS to false on gallium as well.

2018-01-16 Thread Mario Kleiner
On 01/17/2018 05:49 AM, Marek Olšák wrote: On Wed, Jan 17, 2018 at 3:21 AM, Mario Kleiner wrote: On 01/16/2018 11:47 PM, Marek Olšák wrote: Why? Because the bug reports i've seen so far seem to be not caused by something specific to the i965 implementation, but by some other c

Re: [Mesa-dev] [PATCH] st/dri: Default ALLOW_RGB10_CONFIGS to false on gallium as well.

2018-01-16 Thread Mario Kleiner
in clients/compositors to happen with gallium drivers. E.g., the gnome-shell bugs happen on all 10 bit drivers. So it would make sense for rgb10 to be off by default consistently on all drivers, but with the ability to switch it on via drirc. -mario Marek On Tue, Jan 16, 2018 at 5:39 AM, Mario Klei

[Mesa-dev] [PATCH] st/dri: Default ALLOW_RGB10_CONFIGS to false on gallium as well.

2018-01-15 Thread Mario Kleiner
For consistency with the i965 default of "off". Signed-off-by: Mario Kleiner --- src/gallium/auxiliary/pipe-loader/driinfo_gallium.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h b/src/gallium/auxiliary/p

Re: [Mesa-dev] [PATCH] dri_util: remove ALLOW_RGB10_CONFIGS option (v2)

2018-01-11 Thread Mario Kleiner
On 01/11/2018 09:14 AM, Tapani Pälli wrote: Yes, but as it broke regular visuals (on some of our testing machines as well) we needed a fast fix for this. While this is an issue, I think the visual corruption has higher priority than this. This can be fixed meanwhile or afterwards when things

Re: [Mesa-dev] [PATCH] dri_util: remove ALLOW_RGB10_CONFIGS option (v2)

2018-01-11 Thread Mario Kleiner
On 01/11/2018 02:39 PM, Marek Olšák wrote: On Jan 11, 2018 7:14 AM, "Mario Kleiner" <mailto:mario.kleiner...@gmail.com>> wrote: On 01/10/2018 07:04 AM, Tapani Pälli wrote: Hi Marek; This one works but only if you add DRI_CONF_ALLOW_R

[Mesa-dev] [PATCH] i965/screen: Allow drirc to set 'allow_rgb10_configs' again.

2018-01-11 Thread Mario Kleiner
B10_CONFIGS option (v2)") Signed-off-by: Mario Kleiner Cc: Marek Olšák Cc: Tapani Pälli --- src/mesa/drivers/dri/i965/intel_screen.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c

Re: [Mesa-dev] [PATCH] dri_util: remove ALLOW_RGB10_CONFIGS option (v2)

2018-01-10 Thread Mario Kleiner
On 01/10/2018 07:04 AM, Tapani Pälli wrote: Hi Marek; This one works but only if you add DRI_CONF_ALLOW_RGB10_CONFIGS("false") to the DRI_CONF_SECTION_MISCELLANEOUS section in intel_screen. With that change: Reviewed-by: Tapani Pälli With this patch now committed to master, rgb10 visuals

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2018-01-02 Thread Mario Kleiner
On 12/31/2017 05:53 PM, Ilia Mirkin wrote: On Thu, Nov 23, 2017 at 1:31 PM, Mario Kleiner wrote: On 11/23/2017 06:45 PM, Ilia Mirkin wrote: On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: Hi everybody, Mario, feel free to push your patches if you haven't yet. (except the worka

[Mesa-dev] [PATCH 17/22] st/dri2: Add format translations for BGR[A/X]1010102 formats.

2017-12-15 Thread Mario Kleiner
Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/dri2.c | 28 1 file changed, 28 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index d5ae9cb..f7fd08d 100644 --- a

[Mesa-dev] [PATCH 21/22] st/dri: Add option to control exposure of 10 bpc color configs.

2017-12-15 Thread Mario Kleiner
Some clients may not like rgb10 fbconfigs and visuals. Support driconf option 'allow_rgb10_configs' on gallium to allow per application enable/disable. The option defaults to enabled. Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/gallium/auxiliary/pipe-loader/driinfo

[Mesa-dev] [PATCH 22/22] mesa: Add GL_UNSIGNED_INT_2_10_10_10_REV OES read type for BGRX1010102.

2017-12-15 Thread Mario Kleiner
gallium r600 driver with a (quickly hacked for RGBA 10 10 10 0) dEQP testcase dEQP-EGL.functional.wide_color.window_1010102_colorspace_default. Suggested-by: Marek Olšák Signed-off-by: Mario Kleiner --- src/mesa/main/framebuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[Mesa-dev] [PATCH 20/22] st/dri: Add support for BGR[A/X]1010102 formats.

2017-12-15 Thread Mario Kleiner
Exposes RGBA 10 10 10 2 and 10 10 10 0 visuals and fbconfigs for rendering. Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/dri_screen.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/dri

[Mesa-dev] [PATCH 16/22] st/mesa: Handle BGR[A/X]1010102 formats.

2017-12-15 Thread Mario Kleiner
Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/mesa/state_tracker/st_cb_fbo.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index e2303b4..a982f87 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c

[Mesa-dev] [PATCH 19/22] st/dri: Support texture_from_pixmap for BGR[A/X]1010102 formats.

2017-12-15 Thread Mario Kleiner
Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/dri_drawable.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c index 92ce9d2..a5999be 100644 --- a/src

[Mesa-dev] [PATCH 13/22] egl/wayland: Add Wayland drm support for RGB10 winsys buffers.

2017-12-15 Thread Mario Kleiner
Successfully tested under Weston 3.0. Photometer confirms 10 rgb bits from rendering to display. Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/egl/drivers/dri2/platform_wayland.c | 37 --- src/egl/wayland/wayland-drm/wayland-drm.c | 6 + 2

[Mesa-dev] [PATCH 18/22] st/dri2: Add buffer handling for BGR[A/X]1010102 formats.

2017-12-15 Thread Mario Kleiner
Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/dri2.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index f7fd08d..e3b9377 100644 --- a/src/gallium

[Mesa-dev] [PATCH 15/22] egl/wayland: Add Wayland shm swrast support for RGB10 winsys buffers.

2017-12-15 Thread Mario Kleiner
Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/egl/drivers/dri2/platform_wayland.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 7451027..4a0b8c2

[Mesa-dev] [PATCH 14/22] egl/wayland: Add Wayland dmabuf support for RGB10 winsys buffers. (v2)

2017-12-15 Thread Mario Kleiner
Successfully tested under Weston 3.0. Photometer confirms 10 rgb bits from rendering to display. v2: Rebased onto master for dri2_teardown_wayland(). Signed-off-by: Mario Kleiner Reviewed-by: Marek Olšák --- src/egl/drivers/dri2/egl_dri2.h | 2 ++ src/egl/drivers/dri2

[Mesa-dev] [PATCH 10/22] egl/x11: Match depth 30 RGB visuals to 32-bit RGBA EGLConfigs.

2017-12-15 Thread Mario Kleiner
for egl configs, which are fixed by this commit. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli Reviewed-by: Marek Olšák --- src/egl/drivers/dri2/platform_x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2

[Mesa-dev] [PATCH 09/22] mesa: Add GL_RGBA + GL_UNSIGNED_INT_2_10_10_10_REV for OES read type.

2017-12-15 Thread Mario Kleiner
-EGL.functional.wide_color.window_1010102_colorspace_default. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli Reviewed-by: Marek Olšák --- src/mesa/main/framebuffer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index b17d7cb..a0de669 100644 --- a/src/mesa/main

[Mesa-dev] [PATCH 08/22] i965/screen: Honor 'allow_rgb10_configs' option. (v2)

2017-12-15 Thread Mario Kleiner
Allows to prevent exposing RGB10 configs and visuals to clients. v2: Rename expose_rgb10_configs to allow_rgb10_configs, as suggested by Emil. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli --- src/mesa/drivers/dri/i965/intel_screen.c | 19 +++ 1 file changed, 19

[Mesa-dev] [PATCH 12/22] egl/x11: Handle depth 30 drawables for EGL_KHR_image_pixmap.

2017-12-15 Thread Mario Kleiner
. Suggested-by: Eric Engestrom Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli Reviewed-by: Marek Olšák --- src/egl/drivers/dri2/platform_x11.c | 3 +++ src/egl/drivers/dri2/platform_x11_dri3.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/egl/drivers/dri2/platform_x11.c b/src

[Mesa-dev] [PATCH 11/22] egl/x11: Handle depth 30 drawables under software rasterizer.

2017-12-15 Thread Mario Kleiner
For fixing eglCreateWindowSurface() under swrast, as tested with LIBGL_ALWAYS_SOFTWARE=1. Suggested-by: Eric Engestrom Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli Reviewed-by: Marek Olšák --- src/egl/drivers/dri2/platform_x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[Mesa-dev] [PATCH 07/22] dri/common: Add option to allow exposure of 10 bpc color configs. (v2)

2017-12-15 Thread Mario Kleiner
to option parsing, to make sure it stays before the ->InitScreen(). Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli Reviewed-by: Marek Olšák --- src/mesa/drivers/dri/common/dri_util.c | 12 src/util/xmlpool/t_options.h | 5 + 2 files changed, 13 ins

[Mesa-dev] [PATCH 05/22] i965/screen: Add XRGB2101010 and ARGB2101010 support for DRI3.

2017-12-15 Thread Mario Kleiner
Allow DRI3/Present buffer sharing for 10 bpc buffers. Otherwise composited desktops under DRI3 will only display black client areas for redirected windows. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli --- src/mesa/drivers/dri/i965/intel_screen.c | 6 ++ 1 file changed, 6

[Mesa-dev] [PATCH 02/22] i965: Support accelerated blit for depth 30 formats. (v2)

2017-12-15 Thread Mario Kleiner
h to exclude XRGB2101010 -> ARGB2101010, as intel_miptree_set_alpha_to_one() isn't ready to set 2 bit alpha channels to 1.0 yet. However, couldn't find a test case where this specific blit would be needed, so maybe not much of a point to improve here. Signed-off-by: Mario Kle

[Mesa-dev] [PATCH 01/22] i965: Support xrgb/argb2101010 formats for glx_texture_from_pixmap.

2017-12-15 Thread Mario Kleiner
Makes compositing under X11/GLX work. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli --- src/mesa/drivers/dri/i965/intel_tex_image.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri

[Mesa-dev] [PATCH 03/22] dri: Add 10 bpc formats as available formats. (v2)

2017-12-15 Thread Mario Kleiner
ck of definitions, as suggested by Tapani. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli Reviewed-by: Marek Olšák --- include/GL/internal/dri_interface.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/GL/internal/dri_interface.h b/inclu

[Mesa-dev] [PATCH 04/22] loader/dri3: Add XRGB2101010 and ARGB2101010 support.

2017-12-15 Thread Mario Kleiner
To allow DRI3/Present buffer sharing for 10 bpc buffers. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli Reviewed-by: Marek Olšák --- src/loader/loader_dri3_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c

[Mesa-dev] Mesa 30 bit color depth patches, rev 4.

2017-12-15 Thread Mario Kleiner
This is mostly the same as the last series rev 3, with the following changes: 1. Rebased onto current master, some trivial merge conflict resolved. 2. R-b's of Tapani and Marek tacked onto all patches. Only the new patch 22/22 is new and unreviewed. 3. Following Tapani's suggestion i moved ol

[Mesa-dev] [PATCH 06/22] i965/screen: Add basic support for rendering 10 bpc/depth 30 framebuffers. (v3)

2017-12-15 Thread Mario Kleiner
require. Thanks Emil! Update num_formats from 3 to 5, to keep the special Android handling intact. v3: Use num_formats = ARRAY_SIZE(formats) - 2 as suggested by Tapani, to only exclude the last 2 Android formats, add Tapani's r-b. Signed-off-by: Mario Kleiner Reviewed-by: Tapani

Re: [Mesa-dev] [PATCH 22/22] st/dri: Add option to control exposure of 10 bpc color configs.

2017-12-15 Thread Mario Kleiner
test to do... -mario On 12/13/2017 05:27 PM, Marek Olšák wrote: Mario, can we push these patches? Marek On Wed, Nov 29, 2017 at 5:21 AM, Mario Kleiner wrote: Some clients may not like rgb10 fbconfigs and visuals. Support driconf option 'allow_rgb10_configs' on gallium to allow per app

Re: [Mesa-dev] [PATCH 22/22] st/dri: Add option to control exposure of 10 bpc color configs.

2017-12-13 Thread Mario Kleiner
h an alpha channel? The third option would be to replace that patch with one that disables the rgb10 support for visuals on nouveau completely until we have a solution for properly emulating xrgb201010 on nouveau to cover such corner cases? -mario On Wed, Nov 29, 2017 at 5:21 AM, Mario Klei

Re: [Mesa-dev] [PATCH 20/22] nv50, nvc0: Support BGRX1010102 format for visuals.

2017-11-30 Thread Mario Kleiner
h 30 from what i can see. Not sure if this is due to the way my demos handle this though and there might be other cases that misbehave like you describe. Unfortunately nv50/g80_defs.xml.h doesn't define a BGR10 surface format without alpha channel. -mario Cheers, -ilia On Tue, Nov 2

[Mesa-dev] [PATCH 19/22] st/dri: Support texture_from_pixmap for BGR[A/X]1010102 formats.

2017-11-28 Thread Mario Kleiner
Signed-off-by: Mario Kleiner --- src/gallium/state_trackers/dri/dri_drawable.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c index 92ce9d2..a5999be 100644 --- a/src/gallium/state_trackers/dri

[Mesa-dev] [PATCH 17/22] st/dri2: Add format translations for BGR[A/X]1010102 formats.

2017-11-28 Thread Mario Kleiner
Signed-off-by: Mario Kleiner --- src/gallium/state_trackers/dri/dri2.c | 28 1 file changed, 28 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index a70f37f..b8333f6 100644 --- a/src/gallium/state_trackers

[Mesa-dev] [PATCH 09/22] mesa: Add GL_RGBA + GL_UNSIGNED_INT_2_10_10_10_REV for OES read type.

2017-11-28 Thread Mario Kleiner
-EGL.functional.wide_color.window_1010102_colorspace_default. Signed-off-by: Mario Kleiner --- src/mesa/main/framebuffer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index b17d7cb..a0de669 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -889,6

[Mesa-dev] [PATCH 14/22] egl/wayland: Add Wayland dmabuf support for RGB10 winsys buffers. (v2)

2017-11-28 Thread Mario Kleiner
Successfully tested under Weston 3.0. Photometer confirms 10 rgb bits from rendering to display. v2: Rebased onto master for dri2_teardown_wayland(). Signed-off-by: Mario Kleiner --- src/egl/drivers/dri2/egl_dri2.h | 2 ++ src/egl/drivers/dri2/platform_wayland.c | 18

[Mesa-dev] [PATCH 16/22] st/mesa: Handle BGR[A/X]1010102 formats.

2017-11-28 Thread Mario Kleiner
Signed-off-by: Mario Kleiner --- src/mesa/state_tracker/st_cb_fbo.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index e2303b4..a982f87 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa

[Mesa-dev] [PATCH 20/22] nv50, nvc0: Support BGRX1010102 format for visuals.

2017-11-28 Thread Mario Kleiner
Add it as displayable/scanout capable, so it can be exposed as valid visual/fbconfig. Signed-off-by: Mario Kleiner --- src/gallium/drivers/nouveau/nv50/nv50_formats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium/drivers

[Mesa-dev] [PATCH 12/22] egl/x11: Handle depth 30 drawables for EGL_KHR_image_pixmap.

2017-11-28 Thread Mario Kleiner
. Suggested-by: Eric Engestrom Signed-off-by: Mario Kleiner --- src/egl/drivers/dri2/platform_x11.c | 3 +++ src/egl/drivers/dri2/platform_x11_dri3.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index 8e48376

[Mesa-dev] [PATCH 21/22] st/dri: Add support for BGR[A/X]1010102 formats.

2017-11-28 Thread Mario Kleiner
Exposes RGBA 10 10 10 2 and 10 10 10 0 visuals and fbconfigs for rendering. Signed-off-by: Mario Kleiner --- src/gallium/state_trackers/dri/dri_screen.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/dri/dri_screen.c b/src/gallium

[Mesa-dev] [PATCH 11/22] egl/x11: Handle depth 30 drawables under software rasterizer.

2017-11-28 Thread Mario Kleiner
For fixing eglCreateWindowSurface() under swrast, as tested with LIBGL_ALWAYS_SOFTWARE=1. Suggested-by: Eric Engestrom Signed-off-by: Mario Kleiner --- src/egl/drivers/dri2/platform_x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers

[Mesa-dev] [PATCH 15/22] egl/wayland: Add Wayland shm swrast support for RGB10 winsys buffers.

2017-11-28 Thread Mario Kleiner
Signed-off-by: Mario Kleiner --- src/egl/drivers/dri2/platform_wayland.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 7451027..4a0b8c2 100644 --- a/src/egl/drivers

[Mesa-dev] [PATCH 18/22] st/dri2: Add buffer handling for BGR[A/X]1010102 formats.

2017-11-28 Thread Mario Kleiner
Signed-off-by: Mario Kleiner --- src/gallium/state_trackers/dri/dri2.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index b8333f6..04c153a 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b

[Mesa-dev] [PATCH 22/22] st/dri: Add option to control exposure of 10 bpc color configs.

2017-11-28 Thread Mario Kleiner
Some clients may not like rgb10 fbconfigs and visuals. Support driconf option 'allow_rgb10_configs' on gallium to allow per application enable/disable. The option defaults to enabled. Signed-off-by: Mario Kleiner --- src/gallium/auxiliary/pipe-loader/driinfo_gallium.h | 1 + s

[Mesa-dev] [PATCH 05/22] loader/dri3: Add XRGB2101010 and ARGB2101010 support.

2017-11-28 Thread Mario Kleiner
To allow DRI3/Present buffer sharing for 10 bpc buffers. Signed-off-by: Mario Kleiner Reviewed-by: Tapani Pälli --- src/loader/loader_dri3_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c index 7e6b8b2..cc890bc

[Mesa-dev] [PATCH 08/22] i965/screen: Honor 'allow_rgb10_configs' option. (v2)

2017-11-28 Thread Mario Kleiner
Allows to prevent exposing RGB10 configs and visuals to clients. v2: Rename expose_rgb10_configs to allow_rgb10_configs, as suggested by Emil. Signed-off-by: Mario Kleiner --- src/mesa/drivers/dri/i965/intel_screen.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a

[Mesa-dev] [PATCH 13/22] egl/wayland: Add Wayland drm support for RGB10 winsys buffers.

2017-11-28 Thread Mario Kleiner
Successfully tested under Weston 3.0. Photometer confirms 10 rgb bits from rendering to display. Signed-off-by: Mario Kleiner --- src/egl/drivers/dri2/platform_wayland.c | 37 --- src/egl/wayland/wayland-drm/wayland-drm.c | 6 + 2 files changed, 40 insertions

  1   2   3   >