Window drawing problem
I have been playing Gnome mahjongg for a long time since the installation of Ubuntu. But, recently something happened (which I don't know of), and Mahjongg all of a sudden doesn't draw anything. When I launch Mahjongg, it shows a blank window with some buttons on the header bar:
If I move the window around, the title bar draws weird graphics:
(I couldn't take a screenshot because just before the screenshot is taken, it redraws!)
If I launch gnome-mahjongg from the terminal, I get a whole bunch of errors which you can find here.
I can assure you that it is not a theme issue because I have tried using the Adwaita theme with no luck. Also, all other applications are working perfectly fine.
Edit:
Thanks for the reply. Here are your required information:
Gnome shell version: 3.36.4
Gnome Mahjongg version: 3.36.1
Operating System: Ubuntu 20.04.1 LTS
Graphics driver information from the command sudo lshw -c video
:
*-display
description: VGA compatible controller
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:30 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
This problem occurs on both Xorg as well as on Wayland.