-...@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
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
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
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(-)
d
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
; 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 over
> >
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
s regardless 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
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.
>
> --Jason
>
> On
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
---
src/mesa
d
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, for example.
>
> On Thu, 2018-07-26 at 16:42 +0200
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
The patch series submitted at 2018-06-13, and the single patch
"loader_dri3: Handle mismatched
into this, in 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
&g
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 res
ring
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.
Signed-off-b
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
ia
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/wayland-
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
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.
` 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
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
On Mon, May 21, 2018 at 4:42 PM, Eric Engestrom
<eric.engest...@intel.com> 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
le-gpu, Intel single-gpu,
AMD single-gpu, "Optimus" Intel server iGPU for display + NVidia
client dGPU for rendering.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Cc: Daniel Stone <dani...@collabora.com>
---
src/egl/drivers/dri2/platform_wayland.c | 67
ia
Optimus setup.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Cc: Daniel Stone <dani...@collabora.com>
---
src/egl/drivers/dri2/egl_dri2.c | 3 ++-
src/egl/drivers/dri2/egl_dri2.h | 2 ++
src/egl/drivers/dri2/platform_wayland.c | 18 +
on the 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
From: Daniel Stone <dani...@collabora.com>
Add support for XBGR2101010 and ABGR2101010.
Signed-off-by: Daniel Stone <dani...@collabora.com>
Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com>
Reviewed-by: Mario Kleiner <mario.kleiner...@gmail.com>
Tested-by: Mari
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,
From: Daniel Stone <dani...@collabora.com>
Add support for XBGR2101010 and ABGR2101010 formats.
Signed-off-by: Daniel Stone <dani...@collabora.com>
Reviewed-by: Mario Kleiner <mario.kleiner...@gmail.com>
Tested-by: Mario Kleiner <mario.kleiner...@gmail.com>
Test
a last weekend where i bisected 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:
>>
>>
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
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,
uot;,
> 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
>
>
anks for looking into this issue :D
>>
>> Tested-by: Mike Lothian <m...@fireburn.co.uk>
>>
>> I'll give the other patch a whirl now
>>
>> Cheers
>>
>> Mike
>>
>> On 4 May 2018 at 14:45, Mario Kleiner <mario.kleiner...@gmail.com>
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 <mario.kleiner...@gmail.com>
Cc: xorg-de...@lists.x.org
Cc: dan...@fooishbar.org
Cc: eero.t.tammi...@intel.com
voke the occassional ORPHAN event.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
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 inser
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 +
On 04/12/2018 07:43 PM, Ilia Mirkin wrote:
On Thu, Apr 12, 2018 at 1:18 PM, Mario Kleiner
<mario.kleiner...@gmail.com> 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 cr
On 04/10/2018 06:49 PM, Ilia Mirkin wrote:
On Tue, Apr 10, 2018 at 4:42 AM, Michel Dänzer <mic...@daenzer.net> 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 xd
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 <mic...@daenzer.net>
wrote:
On 2018-03-27 07:53 PM, Daniel
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 <mario.klei
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 <mic...@daenzer.net> wrote:
On 2018-03-27 07:53 PM, Daniel Stone wrote:
On 12 March 2018 at 20:45, Mario Kleiner <mario.kleiner...@gmail.com>
On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer <mic...@daenzer.net> wrote:
> On 2018-03-27 07:53 PM, Daniel Stone wrote:
>> On 12 March 2018 at 20:45, Mario Kleiner <mario.kleiner...@gmail.com> wrote:
>>> We need to distinguish if a backing pixmap of a window is
On Tue, Mar 27, 2018 at 7:45 PM, Daniel Stone <dan...@fooishbar.org> wrote:
> Hi Ilia,
>
> On 14 March 2018 at 19:02, Ilia Mirkin <imir...@alum.mit.edu> wrote:
>> On Tue, Mar 13, 2018 at 5:30 AM, Daniel Stone <dan...@fooishbar.org> wrote:
>>> On 12 March 2
backend with a Tesla and
Pascal gpu.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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_for
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
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 <mario.kleiner...@gmail.com>
---
src/egl/drivers/dri2/egl_
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
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 <mario.kleiner...@gmail.com>
On Fri, Mar 9, 2018 at 4:45 AM
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 <mario.kleiner...@gmail.com>
On Fri, Mar 9, 2018 at 7:15 PM, Eric Engestrom
<eric.engest...@imgtec.com> wrote:
> On Thursday, 2018-03-
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
<mario.kleiner...@gmail.com> wrote:
On 02/05/2018 12:50 AM, Ilia Mirkin wrote:
In case anyone's curious about 30bpp framebuffer support, here's the
current
S option (v2)")
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Cc: Marek Olšák <marek.ol...@amd.com>
---
src/mesa/drivers/dri/i965/intel_screen.c | 7 ++
On 01/17/2018 05:49 AM, Marek Olšák wrote:
On Wed, Jan 17, 2018 at 3:21 AM, Mario Kleiner
<mario.kleiner...@gmail.com> 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 implemen
/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 Kleiner
For consistency with the i965 default of "off".
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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.
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
On 01/11/2018 02:39 PM, Marek Olšák wrote:
On Jan 11, 2018 7:14 AM, "Mario Kleiner" <mario.kleiner...@gmail.com
<mailto:mario.kleiner...@gmail.com>> wrote:
On 01/10/2018 07:04 AM, Tapani Pälli wrote:
Hi Marek;
This one wor
S option (v2)")
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Cc: Marek Olšák <marek.ol...@amd.com>
Cc: Tapani Pälli <tapani.pa...@intel.com>
---
src/mesa/drivers/dri/i965/intel_screen.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --
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
On 12/31/2017 05:53 PM, Ilia Mirkin wrote:
On Thu, Nov 23, 2017 at 1:31 PM, Mario Kleiner
<mario.kleiner...@gmail.com> wrote:
On 11/23/2017 06:45 PM, Ilia Mirkin wrote:
On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák <mar...@gmail.com> wrote:
Hi everybody,
Mario, feel free
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
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/st
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 <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol..
on 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 <marek.ol...@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
src/mesa/main/framebuffer.c | 3
Exposes RGBA 10 10 10 2 and 10 10 10 0 visuals and
fbconfigs for rendering.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/gallium/state_trackers/dri/dri_screen.c | 15 ++-
1 file changed, 14 insertions(+)
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
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 e230
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
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_
Successfully tested under Weston 3.0.
Photometer confirms 10 rgb bits from rendering to display.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/egl/drivers/dri2/platform_wayland.c | 37
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
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_tracker
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
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
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 <mario.kleiner...@gmail.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/egl/drivers/dri
, which
are fixed by this commit.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/egl/drivers/dri2/platform_x11.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-EGL.functional.wide_color.window_1010102_colorspace_default.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/mesa/main/framebuffer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/main/framebuffer
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 <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
---
src/mesa/driv
.
Suggested-by: Eric Engestrom <eric.engest...@imgtec.com>
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/egl/drivers/dri2/platform_x11.c | 3 +++
src/egl/driver
For fixing eglCreateWindowSurface() under swrast, as tested
with LIBGL_ALWAYS_SOFTWARE=1.
Suggested-by: Eric Engestrom <eric.engest...@imgtec.com>
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Mar
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 <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
---
src/mesa/driv
parsing,
to make sure it stays before the ->InitScreen().
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/mesa/drivers/dri/common/dri_util.c | 12 -
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 Kleiner
Makes compositing under X11/GLX work.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
---
src/mesa/drivers/dri/i965/intel_tex_image.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/
of definitions,
as suggested by Tapani.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
include/GL/internal/dri_interface.h | 10 +-
1 file changed, 9 inserti
To allow DRI3/Present buffer sharing for 10 bpc buffers.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
---
src/loader/loader_dri3_helper.c | 2 ++
1 file changed, 2 i
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
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 <mario.kleiner...@gmail.
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
<mario.kleiner...@gmail.com> wrote:
Some clients may not like rgb10 fbconfigs and visuals.
Support driconf option 'allow_rgb10_configs' on g
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 Kleiner
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 28, 2017 at 11:21 PM, Mario Kl
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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
---
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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
-EGL.functional.wide_color.window_1010102_colorspace_default.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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/mes
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 <mario.kleiner...@gmail.com>
---
src/egl/drivers/dri2/egl_dri2.h | 2 ++
src/egl/driver
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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_t
Add it as displayable/scanout capable, so it can be
exposed as valid visual/fbconfig.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
src/gallium/drivers/nouveau/nv50/nv50_formats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_for
.
Suggested-by: Eric Engestrom <eric.engest...@imgtec.com>
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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/platf
Exposes RGBA 10 10 10 2 and 10 10 10 0 visuals and
fbconfigs for rendering.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
src/gallium/state_trackers/dri/dri_screen.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_tracke
For fixing eglCreateWindowSurface() under swrast, as tested
with LIBGL_ALWAYS_SOFTWARE=1.
Suggested-by: Eric Engestrom <eric.engest...@imgtec.com>
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
src/egl/drivers/dri2/platform_x11.c | 1 +
1 file changed, 1 insertion(+)
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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..4
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 <mario.kleiner...@gmail.com>
---
src/gallium/auxiliary/pipe-
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
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/g
To allow DRI3/Present buffer sharing for 10 bpc buffers.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
---
src/loader/loader_dri3_helper.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/loader/loader_dri3_he
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 <mario.kleiner...@gmail.com>
---
src/mesa/drivers/dri/i965/intel_screen.c | 19 +++
1 file chang
Successfully tested under Weston 3.0.
Photometer confirms 10 rgb bits from rendering to display.
Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com>
---
src/egl/drivers/dri2/platform_wayland.c | 37 ---
src/egl/wayland/wayland-drm/wayland-drm.c | 6 ++
1 - 100 of 203 matches
Mail list logo