Mesa 20.0.0 causes malfunction to Virtual Moon Atlas

Asked by corrado venturini

On Ubuntu 20.04 with Mesa 20.0.0 the program atlun - Virtual Moon Atlas from https://sourceforge.net/projects/virtualmoon/
shows the characters reduced to small rectangles and the image of the moon is empty.
On Ubuntu 20.04 with Mesa 19.2.8 atlun had no problems.
The problem happens with both sessions X11 and Wayland.
I also opened a problem to atlun https://www.ap-i.net/mantis/view.php?id=2291
and you may see the result of the malfunction on this page
but the problem seems due to mesa 20.

I have an intel CPU and Graphic unit
corrado@corrado-x5-ff-0309:~$ inxi -Gxx
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASRock driver: i915 v: kernel
  bus ID: 00:02.0 chip ID: 8086:5912
  Display: x11 server: X.Org 1.20.7 driver: i915 compositor: gnome-shell
  resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.0.0
  direct render: Yes
corrado@corrado-x5-ff-0309:~$

If I use ubuntu-bug to open the bug while atlun is running I risk to give misleading information
may you suggest a way to open the bug against mesa? to what package?
thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

1. The command
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
should help for the message
Gtk-Message: ... Failed to load module "canberra-gtk-module"

2. There is a known problem with mesa 20.0 https://gitlab.freedesktop.org/mesa/mesa/issues/2552 with a workaround.
Can you check whether this helps also with your problem?

3. For reporting a bug you should be able to use the source package mesa in the command
ubuntu-bug mesa

Revision history for this message
corrado venturini (corradoventu) said :
#2

The message about camberra... appears also with Mesa 19.2.8 and does not disturb.
After installing libcamberra.. the message Failed to load module "canberra-gtk-module" is disappeared but the problem remains
I don't see a package 'mesa' so i don't think 'ubuntu-bug mesa' will work
will try to follow workaround in the link you suggest
which package mesa .. do you suggest to indicate to ubuntu-bug ?
thanks
this is the list of mesa... packages I see
corrado@corrado-x5-ff-0309:~$ dpkg -l | grep mesa
ii libegl-mesa0:amd64 20.0.0-1ubuntu1 amd64 free implementation of the EGL API -- Mesa vendor library
ii libgl1-mesa-dri:amd64 20.0.0-1ubuntu1 amd64 free implementation of the OpenGL API -- DRI modules
ii libglapi-mesa:amd64 20.0.0-1ubuntu1 amd64 free implementation of the GL API -- shared library
ii libglu1-mesa:amd64 9.0.1-1 amd64 Mesa OpenGL utility library (GLU)
ii libglx-mesa0:amd64 20.0.0-1ubuntu1 amd64 free implementation of the OpenGL API -- GLX vendor library
ii mesa-utils 8.4.0-1build1 amd64 Miscellaneous Mesa GL utilities
ii mesa-va-drivers:amd64 20.0.0-1ubuntu1 amd64 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:amd64 20.0.0-1ubuntu1 amd64 Mesa VDPAU video acceleration drivers
ii mesa-vulkan-drivers:amd64 20.0.0-1ubuntu1 amd64 Mesa Vulkan graphics drivers
corrado@corrado-x5-ff-0309:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Bugs have to be reported against the source package, not against a binary package.
In your case, all the binary packages listed by the dpkg -l command (except libglu1-mesa and mesa-utils) have been built by the same source package that is named mesa. That is the one for bug reporting.
see also https://help.ubuntu.com/community/ReportingBugs#Filing_bugs_manually_at_Launchpad.net
and see https://launchpad.net/ubuntu/+source/mesa

Revision history for this message
corrado venturini (corradoventu) said :
#4

Following the workaround suggested in your link i created the file /etc/systemd/system.conf.d/mesa-workaround.conf
corrado@corrado-x5-ff-0309:~$ cat /etc/systemd/system.conf.d/mesa-workaround.conf
# mesa 20 uses iris by default which has glitches: https://gitlab.freedesktop.org/mesa/mesa/issues/2552
DefaultEnvironment=MESA_LOADER_DRIVER_OVERRIDE=i965
but after reboot nothing has changed.
I will open the bug as you suggested
thanks

Revision history for this message
corrado venturini (corradoventu) said :
#5

corrado@corrado-x5-ff-0309:~$ ubuntu-bug mesa
dpkg-query: no packages found matching mesa

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#6

Try again with any of the mesa packages, e.g.
ubuntu-bug libglx-mesa0

Or other possibility:

Open the URL
http://bugs.launchpad.net/ubuntu/+source/mesa/+filebug?no-redirect
and fill the fields with information about your problem.

Record the bug number that you receive, and afterwards issue the command
ubuntu-bug <bugnumber>
This should then automatically add some technical details.

Revision history for this message
corrado venturini (corradoventu) said :
#7
Revision history for this message
corrado venturini (corradoventu) said :
#8

Thanks Manfred Hampl, that solved my question.