"Toggle Window Fullscreen" on the new Fedora 34 (Wayland mode) makes mouse cursor disappear. #87962

Closed
opened 2 years ago by Memento · 9 comments

System Information
Operating system: Linux-5.11.16-300.fc34.x86_64-x86_64-with-glibc2.33 64 Bits
Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.11.16-300.fc34.x86_64, LLVM 12.0.0) X.Org 3.3 (Core Profile) Mesa 21.0.3

Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-30 16:49, hash: e61020049a
Worked: (newest version of Blender that worked as expected)

Short description of error
"Toggle Window Fullscreen" on the new Fedora 34 (Wayland mode) makes mouse cursor disappear.

Exact steps for others to reproduce the error
Just select "Toggle Window Fullscreen" from the "Window" menu item at the top menu bar. Please do not start whining about the GPU no longer being supported, this is just about a disappearing mouse cursor after an upgrade from Fedora 33 (where the mouse cursor still works) to Fedora 34. Reverting from fullscreen to Blender in a window and the mouse cursor is shown again. With a hidden mouse cursor Blender does respond to moving the mouse and hovering it over buttons.

**System Information** Operating system: Linux-5.11.16-300.fc34.x86_64-x86_64-with-glibc2.33 64 Bits Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.11.16-300.fc34.x86_64, LLVM 12.0.0) X.Org 3.3 (Core Profile) Mesa 21.0.3 **Blender Version** Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-30 16:49, hash: `e61020049a` Worked: (newest version of Blender that worked as expected) **Short description of error** "Toggle Window Fullscreen" on the new Fedora 34 (Wayland mode) makes mouse cursor disappear. **Exact steps for others to reproduce the error** Just select "Toggle Window Fullscreen" from the "Window" menu item at the top menu bar. Please do not start whining about the GPU no longer being supported, this is just about a disappearing mouse cursor after an upgrade from Fedora 33 (where the mouse cursor still works) to Fedora 34. Reverting from fullscreen to Blender in a window and the mouse cursor is shown again. With a hidden mouse cursor Blender does respond to moving the mouse and hovering it over buttons.
Poster

Added subscriber: @Memento

Added subscriber: @Memento
Poster

The problem is with Mutter, when following the following test fix, Blender can be toggled back and forth to fullscreen windows with a visible mouse cursor:

https:*bugzilla.redhat.com/show_bug.cgi?id=1943959#c3

For completeness, here are the commands given in that Red Hat / fedora bug report and its comments:

  • Type Alt+F2
  • In the dialog type "lg" (without the quotes) to open Looking Glass
  • Type "Meta.disable_unredirect_for_display(global.display)" (without the quotes) and press Enter
  • Press Escape to exit Looking Glass

Please note that this is a temporary fix, rebooting your system again will cause the mouse cursor to disappear again in fullscreen Blender.

The problem is with Mutter, when following the following test fix, Blender can be toggled back and forth to fullscreen windows with a visible mouse cursor: [https:*bugzilla.redhat.com/show_bug.cgi?id=1943959#c3 ](https:*bugzilla.redhat.com/show_bug.cgi?id=1943959#c3) For completeness, here are the commands given in that Red Hat / fedora bug report and its comments: * Type Alt+F2 * In the dialog type "lg" (without the quotes) to open Looking Glass * Type "Meta.disable_unredirect_for_display(global.display)" (without the quotes) and press Enter * Press Escape to exit Looking Glass Please note that this is a temporary fix, rebooting your system again will cause the mouse cursor to disappear again in fullscreen Blender.
Collaborator

Added subscriber: @christian.rauch

Added subscriber: @christian.rauch
Collaborator

Is this still the case on the current master? I merged HiDPI support (D11368) a while ago that also touched the cursor image and I cannot reproduce the issue that you described.

Is this still the case on the current master? I merged HiDPI support ([D11368](https://archive.blender.org/developer/D11368)) a while ago that also touched the cursor image and I cannot reproduce the issue that you described.
Poster

I just tried Blender 3.0.0 Alpha 5f5cf21a83 and the problem is still there, switching Blender to "Window Fullscreen" and the mouse cursor in the viewport disappears. The same happens in a webbrowser (Brave / Chrome) too, when watching a YouTube video and then going fullscreen there, again the mouse cursor disappears, making it hard to change settings like resolution of the video.

I just tried logging out of Fedora 34, which by default uses Wayland these days, and logged back in using GNOME on Xorg, which makes Blender toggle "Window Fullscreen" without any problems, so it must be Wayland related...?

I just tried Blender 3.0.0 Alpha 5f5cf21a83 and the problem is still there, switching Blender to "Window Fullscreen" and the mouse cursor in the viewport disappears. The same happens in a webbrowser (Brave / Chrome) too, when watching a YouTube video and then going fullscreen there, again the mouse cursor disappears, making it hard to change settings like resolution of the video. I just tried logging out of Fedora 34, which by default uses Wayland these days, and logged back in using GNOME on Xorg, which makes Blender toggle "Window Fullscreen" without any problems, so it must be Wayland related...?
Collaborator

Well, if this also happens with other applications, then it is not Blender specific. Maybe this also happens only with newer GNOME versions or only with the AMD driver. I suggest you report that issue to https://gitlab.gnome.org/GNOME/mutter so it gets fixed in the Wayland compositor of GNOME Shell.

I take it that you are running the standard Blender with X11 on XWayland? if so, you could compile Blender with native Wayland support (https://wiki.blender.org/wiki/Building_Blender/Linux/Ubuntu).

In any case, I don't think there is anything that we can do in Blender to fix that issue. If this is not Blender-specific and can be fixed here, then please close this issue so we can keep track of issues with Blender itself that can be addressed by patches.

Well, if this also happens with other applications, then it is not Blender specific. Maybe this also happens only with newer GNOME versions or only with the AMD driver. I suggest you report that issue to https://gitlab.gnome.org/GNOME/mutter so it gets fixed in the Wayland compositor of GNOME Shell. I take it that you are running the standard Blender with X11 on XWayland? if so, you could compile Blender with native Wayland support (https://wiki.blender.org/wiki/Building_Blender/Linux/Ubuntu). In any case, I don't think there is anything that we can do in Blender to fix that issue. If this is not Blender-specific and can be fixed here, then please close this issue so we can keep track of issues with Blender itself that can be addressed by patches.
Poster

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Memento closed this issue 2 years ago
Memento self-assigned this 2 years ago
Poster

Closing this report, reporting it at GNOME and hoping this report does stay inside the system, for others who may run into the same situation...

Closing this report, reporting it at GNOME and hoping this report does stay inside the system, for others who may run into the same situation...
Collaborator

@Memento Can you share a link to the issue report? I am curious about reproducing this.

@Memento Can you share a link to the issue report? I am curious about reproducing this.
Sign in to join this conversation.
No Label
Interest/Alembic
Interest/Animation & Rigging
Interest/Asset Browser
Interest/Asset Browser Project Overview
Interest/Audio
Interest/Automated Testing
Interest/Blender Asset Bundle
Interest/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
Interest/Eevee & Viewport
Interest/Freestyle
Interest/Geometry Nodes
Interest/Grease Pencil
Interest/ID Management
Interest/Images & Movies
Interest/Import/Export
Interest/Line Art
Interest/Masking
Interest/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
Interest/Python API
Interest/Render & Cycles
Interest/Render Pipeline
Interest/Sculpt, Paint & Texture
Interest/Text Editor
Interest/Translations
Interest/Triaging
Interest/Undo
Interest/USD
Interest/User Interface
Interest/UV Editing
Interest/VFX & Video
Interest/Video Sequencer
Interest/Virtual Reality
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
Module › Animation & Rigging
Module › Core
Module › Development Management
Module › Eevee & Viewport
Module › Grease Pencil
Module › Modeling
Module › Nodes & Physics
Module › Pipeline, Assets & IO
Module › Platforms, Builds, Tests & Devices
Module › Python API
Module › Render & Cycles
Module › Sculpt, Paint & Texture
Module › Triaging
Module › User Interface
Module › VFX & Video
Platform/FreeBSD
Platform/Linux
Platform/macOS
Platform/Windows
Priority › High
Priority › Low
Priority › Normal
Priority › Unbreak Now!
Status › Archived
Status › Confirmed
Status › Duplicate
Status › Needs Information from Developers
Status › Needs Information from User
Status › Needs Triage
Status › Resolved
Type › Bug
Type › Design
Type › Known Issue
Type › Patch
Type › Report
Type › To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87962
Loading…
There is no content yet.