Screencast capture in Full Screen Exclusive Mode on XWayland

Philip Race philip.race at oracle.com
Thu Jun 22 18:46:17 UTC 2023


FYI  I just tried a suggestion from Olivier to use invoke lg and execute
a command which will do something like (if I head it right) bypass the 
compositor for a full screen window

Meta.disable_unredirect_for_display(global.display)

This does fix it on Ubuntu 22.04 .. so I think the suggestion was that 
if this fixed it, then
it is probably something Ubuntu-specific rather than a general Gnome 
problem.

-phil.


On 6/7/23 3:35 PM, Philip Race wrote:
> FWIW I still see the problem with Ubuntu 23.04
>
> -phil.
>
> On 6/7/23 1:20 PM, Jonas Ådahl wrote:
>> On Wed, Jun 07, 2023 at 11:21:31AM -0700, Philip Race wrote:
>>> Hmm .. but my install also says it has Gnome "42+3" .. and I read 
>>> elsewhere
>>> that Ubuntu 22.04
>>> has been updated to 42.5 (although it'll never get to 43)
>> Is that mutter 42.5, or some other package? I think you should be able
>> to check with `apt list mutter`.
>>
>>
>> Jonas
>>
>>> Still seems like I should try something newer
>>>
>>> -phil.
>>>
>>>
>>> On 6/7/23 11:15 AM, Philip Race wrote:
>>>> I'm seeing this on a fully patched Ubuntu 22.04.02 which has
>>>> "42.0-3ubuntu2" .. which I suppose is < 42.3
>>>> so could well be that's the issue.
>>>> Seems like we need to move up to more recent distro of something 
>>>> with a
>>>> later gnome.
>>>>
>>>> FYI Alexander found the problem went away on VirtualBox if he disables
>>>> 3D Acceleration
>>>> but that isn't a general workaround ..
>>>>
>>>>
>>>> -phil.
>>>>
>>>>
>>>> On 6/7/23 8:52 AM, Jonas Ådahl wrote:
>>>>> On Thu, Jun 01, 2023 at 09:59:47AM -0700, Philip Race wrote:
>>>>>> Jonas,
>>>>>>
>>>>>> The problem discussed here
>>>>>> https://wiki.openjdk.org/display/wakefield/Meeting+Notes
>>>>>>
>>>>>> "And there is one that is not a crash, with one particular test on
>>>>>> particular systems, which we still need to analyze, related to
>>>>>> be not able
>>>>>> to get the screen data."
>>>>>>
>>>>>> looks like a case in which JDK uses puts a window into full 
>>>>>> screen mode
>>>>>> using this code
>>>>>> https://github.com/openjdk/jdk/blob/master/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c#L1672 
>>>>>>
>>>>>>
>>>>>>
>>>>>> In this case screencast capture of that window just fails.
>>>>>>
>>>>>> I found  a 12-18 month old thread where you were mentioned
>>>>>> although I'm not
>>>>>> sure if you were directly involved
>>>>>> or just integrating fixes.
>>>>>>
>>>>>> https://github.com/flatpak/xdg-desktop-portal/issues/610
>>>>>> which linked to this
>>>>>> https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1914
>>>>>>
>>>>>> Can you shed any light on whether this might still be an issue
>>>>>> on Gnome 42
>>>>>> (which is what I think I have).
>>>>> That should be included in 42, and does look related. There seems to
>>>>> have been a regression
>>>>> (https://gitlab.gnome.org/GNOME/mutter/-/issues/2282) that I seem to
>>>>> have fixed
>>>>> (https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2462). The 
>>>>> fix
>>>>> was backported to 42.3. What version of mutter does your system have
>>>>> installed?
>>>>>
>>>>>
>>>>> Jonas
>>>>>
>>>>>> -phil.
>>>>>>
>>>>>>
>



More information about the wakefield-dev mailing list