-...@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
UID:65qeuuc9e0gll25tq
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(-)
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 ov
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
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
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
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
---
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,
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
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
>
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
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
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
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
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.
Plea
` 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
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.,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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" <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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
.
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
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
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
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
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
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
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
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
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 - 100 of 203 matches
Mail list logo