You are not logged in.

#1 2021-02-06 08:00:08

angel6700
Member
Registered: 2009-09-06
Posts: 21

[SOLVED] OpenGL on gma4500 mhd

Hello,
I have an old laptop running a celeron su2400 and graphics GMA 4500 MHD. Is has been running archlinux fine for years, but recently i decided to wipe some partitions and reinstall. With the new installation I detected a problem while running a program: Prusa-Slicer.
The program, for those who don't know it, is a software that can convert a 3d model into a code that  can be understood by a 3d printer. My problem is that when a load a 3D model, the software does not show the object. I have tried with the version in the repos or a freshly compiled one but the problem persists.

IT seems OpenGL stack is correctly running, but something is, of course, wrong.
glxgears works. Mesa opengl is 2.1
I have tried with and without xf86-video-intel.

setting this environment variable fixes the problem, but overall performance is very slow :

LIBGL_ALWAYS_SOFTWARE=true

Any ideas?

Thanks .

Last edited by angel6700 (2021-02-14 22:30:47)

Offline

#2 2021-02-06 10:11:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,079

Re: [SOLVED] OpenGL on gma4500 mhd

This is plainly a very low end card and OpenGL 2.1 support as a maximum possibility from 2004. Anything that want's to use something remotely more up to date isn't going to work properly on the card.

When did this last work, which software versions/general system setup? Do you get any terminal output/maybe share a build log? From what I'm seeing from a glance at the source they do technically still support OpenGL2 but depending on how it was built might be trying using the 3.2 OGL codepath instead.

Online

#3 2021-02-06 10:50:45

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

Thank you V1del,

I understand the hardware if old and very low end, but I know it worked before the re-install.
I used to run a pacman -Syu frequently, so 1 month ago it was working fine. I keep a copy of the old /etc/ and /home/ but I cannot see any important configuration there (I mean configuration related to the problem, like xorg.conf).

I have discovered, that even if glxgears works, running glmark2 does not:

$ glmark2
=======================================================
    glmark2 2020.04
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Mobile Intel® GM45 Express Chipset (CTG)
    GL_VERSION:    2.1 Mesa 20.3.4
=======================================================
[build] use-vbo=false: FPS: 236 FrameTime: 4.237 ms
[build] use-vbo=true: FPS: 237 FrameTime: 4.219 ms
[texture] texture-filter=nearest: FPS: 242 FrameTime: 4.132 ms
[texture] texture-filter=linear: FPS: 240 FrameTime: 4.167 ms
Segmentation fault (core dumped)

So should be something related to OpenGL configuration.

Thank you.

Offline

#4 2021-02-06 13:41:45

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 10,428

Re: [SOLVED] OpenGL on gma4500 mhd

Please post glxinfo -B output*




* install mesa-demos if needed


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2021-02-06 20:47:35

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

Thank you very much for your time !!

here you can see :

$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Mobile Intel® GM45 Express Chipset (CTG) (0x2a42)
    Version: 20.3.4
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset (CTG)
OpenGL version string: 2.1 Mesa 20.3.4
OpenGL shading language version string: 1.20

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

Offline

#6 2021-02-06 21:20:21

seth
Member
Registered: 2012-09-03
Posts: 32,033

Re: [SOLVED] OpenGL on gma4500 mhd

If the program requires a GL 3+ context but allows you to go w/ a 2.1 context (w/ broken display)  that would be a really odd bug.
Also the screenshots don't look like it does ;-)

=> https://wiki.archlinux.org/index.php/In … RI3_issues ?

Also try

MESA_DEBUG=1 Prusa-Slicer # or whatever the binary is. If it's a script, export the variable

Offline

#7 2021-02-06 21:27:58

Maniaxx
Member
From: .de
Registered: 2014-05-14
Posts: 677

Re: [SOLVED] OpenGL on gma4500 mhd

What does stdout say?


sys2064

Offline

#8 2021-02-07 21:17:15

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

Hello,

I have followed your ideas with the following results:

Sorry for the plenty of warnings from the prusa-slicer program itself.

$ export MESA_DEBUG=1
$ export LIBGL_DEBUG=verbose
$ prusa-slicer 2>&1
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.
libGL: using driver i915 for 13
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.
libGL: pci id for fd 13: 8086:2a42, driver i965
libGL: MESA-LOADER: dlopen(/usr/lib/dri/i965_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.394: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.417: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.420: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.420: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.435: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.450: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.451: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.452: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.456: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.457: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.458: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.459: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.462: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node notebook, owner GtkNotebook)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.462: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.462: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.462: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node header, owner GtkNotebook)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.462: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.471: gtk_widget_set_size_request: assertion 'height >= -1' failed

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.471: gtk_widget_set_size_request: assertion 'height >= -1' failed

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.598: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node notebook, owner GtkNotebook)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.598: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.598: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.598: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node header, owner GtkNotebook)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.598: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.599: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.600: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.601: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.601: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.601: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.601: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.601: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.601: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.601: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.601: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.602: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.602: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.603: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.603: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.605: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.605: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-WARNING **: 20:53:51.605: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.617: gtk_widget_set_size_request: assertion 'height >= -1' failed

(prusa-slicer:3061): Gtk-CRITICAL **: 20:53:51.617: gtk_widget_set_size_request: assertion 'height >= -1' failed
08:53:51 PM: Debug: window wxTreeCtrl(0x55f845d592a0, ) lost focus even though it didn't have it
08:53:51 PM: Debug: window wxTreeCtrl(0x55f845d592a0, ) lost focus even though it didn't have it
08:53:51 PM: Debug: window wxTreeCtrl(0x55f845d592a0, ) lost focus even though it didn't have it
08:53:51 PM: Debug: window wxTreeCtrl(0x55f845d592a0, ) lost focus even though it didn't have it
08:53:51 PM: Debug: window wxTreeCtrl(0x55f845d592a0, ) lost focus even though it didn't have it
08:53:51 PM: Debug: window wxTreeCtrl(0x55f845d592a0, ) lost focus even though it didn't have it
08:53:51 PM: Debug: window wxTreeCtrl(0x55f845d592a0, ) lost focus even though it didn't have it

Does not shows the 3d models.



Now forcing DRI2

$ export LIBGL_DRI3_DISABLE=1
$ prusa-slicer  2>&1                                                                                      
libGL: using driver i915 for 13                                                                                                       
libGL: Can't open configuration file /etc/drirc: No such file or directory.                                                           
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.                                                   
libGL: pci id for fd 13: 8086:2a42, driver i965                                                                                       
libGL: MESA-LOADER: dlopen(/usr/lib/dri/i965_dri.so)                                                                                  
libGL: Can't open configuration file /etc/drirc: No such file or directory.                                                           
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.                                                   
libGL: Can't open configuration file /etc/drirc: No such file or directory.                                                           
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.                                                   
libGL: Using DRI2 for screen 0                                                                                                        
libGL: Can't open configuration file /etc/drirc: No such file or directory.                                                           
libGL: Can't open configuration file /home/angel/.drirc: No such file or directory.                                                   
                                                                                                                                      
(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.299: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed            
                                                                                                                                      
(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.322: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.325: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.326: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.339: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.356: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.358: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.359: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.364: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.365: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.366: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.366: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.369: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node notebook, owner GtkNotebook)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.369: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.369: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.369: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node header, owner GtkNotebook)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.369: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.379: gtk_widget_set_size_request: assertion 'height >= -1' failed

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.379: gtk_widget_set_size_request: assertion 'height >= -1' failed

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.520: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node notebook, owner GtkNotebook)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.520: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.520: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.520: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node header, owner GtkNotebook)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.520: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.521: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.522: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.523: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.523: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.523: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.523: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.523: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.523: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.524: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.524: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.525: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.526: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.528: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.528: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-WARNING **: 20:58:46.528: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.539: gtk_widget_set_size_request: assertion 'height >= -1' failed

(prusa-slicer:3107): Gtk-CRITICAL **: 20:58:46.539: gtk_widget_set_size_request: assertion 'height >= -1' failed
08:58:46 PM: Debug: window wxTreeCtrl(0x55847c465d10, ) lost focus even though it didn't have it
08:58:46 PM: Debug: window wxTreeCtrl(0x55847c465d10, ) lost focus even though it didn't have it
08:58:46 PM: Debug: window wxTreeCtrl(0x55847c465d10, ) lost focus even though it didn't have it
08:58:46 PM: Debug: window wxTreeCtrl(0x55847c465d10, ) lost focus even though it didn't have it
08:58:46 PM: Debug: window wxTreeCtrl(0x55847c465d10, ) lost focus even though it didn't have it
08:58:46 PM: Debug: window wxTreeCtrl(0x55847c465d10, ) lost focus even though it didn't have it
08:58:46 PM: Debug: window wxTreeCtrl(0x55847c465d10, ) lost focus even though it didn't have it

Same result, no display of 3d models

It seems all the debug messages come from libGL, but none from Mesa. Why ?

Thank you very much anyway.

Anything else to try?

Last edited by angel6700 (2021-02-07 21:19:10)

Offline

#9 2021-02-07 21:36:05

seth
Member
Registered: 2012-09-03
Posts: 32,033

Re: [SOLVED] OpenGL on gma4500 mhd

Edit: there're apparently no GL errors, so nothing for mesa to print

angel6700 wrote:

setting this environment variable fixes the problem, but overall performance is very slow

"Overall performance" of prusa-slicer or your desktop? Where do you export it?

loginctl session-status

(Essentially whether there're other GL contexts like from a compositor or a fancy desktop shell)

Last edited by seth (2021-02-07 21:36:51)

Offline

#10 2021-02-07 22:43:07

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

seth wrote:

"Overall performance" of prusa-slicer or your desktop? Where do you export it?

prusa-slicer becomes slow (seems to slow to me) when using the software renderer (export LIBGL_ALWAYS_SOFTWARE=true)
I exported in a terminal and then run prusa-slicer in the same one.


seth wrote:
loginctl session-status

(Essentially whether there're other GL contexts like from a compositor or a fancy desktop shell)

This is the output:

$ loginctl session-status 
2 - angel (1000)
           Since: Sun 2021-02-07 10:32:14 CET; 13h ago
          Leader: 345 (sddm-helper)
            Seat: seat0; vc1
         Display: :0
         Service: sddm; type x11; class user
           State: active
            Unit: session-2.scope
                  ├─ 345 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-authd98d6137-edf6-4036-bfc7-1990fc01c190 --id 1 --start startlx>
                  ├─ 355 lxqt-session
                  ├─ 378 /usr/bin/openbox --config-file /home/angel/.config/openbox/lxqt-rc.xml
                  ├─ 382 /usr/bin/pcmanfm-qt --desktop --profile=lxqt
                  ├─ 384 /usr/bin/lxqt-globalkeysd
                  ├─ 385 /usr/bin/lxqt-notificationd
                  ├─ 386 /usr/bin/lxqt-panel
                  ├─ 389 /usr/bin/lxqt-policykit-agent
                  ├─ 391 /usr/bin/lxqt-runner
                  ├─ 393 /usr/lib/kdeconnectd
                  ├─ 461 /usr/bin/lxqt-powermanagement
                  ├─ 470 /usr/lib/firefox/firefox
                  ├─ 522 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 230486 -parentBuildI>
                  ├─ 528 /usr/bin/qterminal
                  ├─ 538 /bin/bash
                  ├─ 573 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 177 -prefMapSize 230486 -parentBuil>
                  ├─ 597 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 6178 -prefMapSize 230486 -parentBui>
                  ├─ 626 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 6249 -prefMapSize 230486 -parentBui>
                  ├─ 666 /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 9120 -prefMapSize 230486 -parentBui>
                  ├─ 826 /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 9377 -prefMapSize 230486 -parentBui>
                  ├─1016 /usr/lib/firefox/firefox -contentproc -childID 7 -isForBrowser -prefsLen 9377 -prefMapSize 230486 -parentBui>
                  ├─3030 /usr/lib/firefox/firefox -contentproc -childID 8 -isForBrowser -prefsLen 9804 -prefMapSize 230486 -parentBui>
                  ├─3422 /usr/lib/firefox/firefox -contentproc -childID 10 -isForBrowser -prefsLen 10338 -prefMapSize 230486 -parentB>
                  ├─3457 /usr/lib/firefox/firefox -contentproc -childID 11 -isForBrowser -prefsLen 10338 -prefMapSize 230486 -parentB>
                  ├─3596 prusa-slicer
                  ├─3635 /bin/bash
                  ├─3678 loginctl session-status

Feb 07 22:19:30 portatil sudo[3450]:    angel : TTY=pts/0 ; PWD=/home/angel ; USER=root ; COMMAND=/usr/bin/pacman -Syu
Feb 07 22:19:30 portatil sudo[3450]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Feb 07 22:19:37 portatil sudo[3450]: pam_unix(sudo:session): session closed for user root
Feb 07 22:21:05 portatil lxqt-leave[3481]: QDBusMarshaller: cannot add an invalid QVariant
Feb 07 22:21:05 portatil lxqt-leave[3481]: QDBusConnection: error: could not send message to service "org.freedesktop.login1" path "/>
Feb 07 22:21:05 portatil lxqt-leave[3481]: ** Dbus error **************************
Feb 07 22:21:05 portatil lxqt-leave[3481]: Error name  "org.freedesktop.DBus.Error.Failed"
Feb 07 22:21:05 portatil lxqt-leave[3481]: Error msg   "Marshalling failed: Variant containing QVariant::Invalid passed in arguments"
Feb 07 22:21:05 portatil lxqt-leave[3481]: ****************************************
Feb 07 23:30:52 portatil qterminal[528]: QDir::exists: Empty or null file name

Thank you again.

Offline

#11 2021-02-08 07:27:23

seth
Member
Registered: 2012-09-03
Posts: 32,033

Re: [SOLVED] OpenGL on gma4500 mhd

Nope.
The only things half-wise suspicious would be firefox and sddm, but the latter should™ not be an active context and should™ not interfere and the former will likely not use the GL backend on that hardware either.

Focussing on the other end of the stack: Have you tried the lts kernel?

Offline

#12 2021-02-08 07:43:06

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

Before this fresh install I was using kde also with sddm, so I also think this could be unrelated, but will try to start the desktop environment directly via .xinitrc.

This evening I will try the lts kernel you are pointing to. (Every new idea is a fresh kiss of hope smile)

Thanks.

Offline

#13 2021-02-08 11:47:08

Maniaxx
Member
From: .de
Registered: 2014-05-14
Posts: 677

Re: [SOLVED] OpenGL on gma4500 mhd

Correct me if I'm wrong but the U2400 is a 32bit processor. If you were previously running an Arch state of when it still supported 32bit you probably had the old i915 driver that advertised as OpenGL 2.1.
https://www.phoronix.com/scan.php?page= … ow-Default

If you're running 'Arch Linux 32' you should ask on their forum for support. Things are different.


sys2064

Offline

#14 2021-02-08 14:36:41

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

Maniaxx wrote:

Correct me if I'm wrong but the U2400 is a 32bit processor. If you were previously running an Arch state of when it still supported 32bit you probably had the old i915 driver that advertised as OpenGL 2.1.
https://www.phoronix.com/scan.php?page= … ow-Default

If you're running 'Arch Linux 32' you should ask on their forum for support. Things are different.

Oh, sorry. I made a typo in the name of the processor. It is SU2300 (instead of SU2400).
It is 64bit capable. I'm running normal Arch linux.

Last edited by angel6700 (2021-02-08 14:37:12)

Offline

#15 2021-02-08 14:48:25

Maniaxx
Member
From: .de
Registered: 2014-05-14
Posts: 677

Re: [SOLVED] OpenGL on gma4500 mhd


sys2064

Offline

#16 2021-02-08 15:36:34

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

Maniaxx wrote:

Thank you Maniaxx,
I already tried without luck. Make sense, because the version reported is already 2.1, not 1.4

Any help is appreciated.

Offline

#17 2021-02-08 17:47:06

Maniaxx
Member
From: .de
Registered: 2014-05-14
Posts: 677

Re: [SOLVED] OpenGL on gma4500 mhd

You could try this in the hope of getting more verbose logs:
$ prusa-slicer --loglevel=5 2>&1 | tee /tmp/prusa_debug.log

Maybe its related to this:
https://github.com/prusa3d/PrusaSlicer/ … -393936080

I have a i915 (GMA900) on Arch Linux 32 somewhere. Maybe i can test it there as well.

Prusa-slicer does work properly on my desktop system. Highest verbosity logs are still very silent though. Not even mentioning any gl infos or render paths.

Last edited by Maniaxx (2021-02-08 17:55:47)


sys2064

Offline

#18 2021-02-08 20:23:48

Maniaxx
Member
From: .de
Registered: 2014-05-14
Posts: 677

Re: [SOLVED] OpenGL on gma4500 mhd

My i915/GMA900 exposes itself as OpenGL 1.4 and it gets rejected by PrusaSlicer. This might be your problem as well as (if i get it right) your chip is not 100% OpenGL2.0 compliant either (but it does advertise itself otherwise). It might be an API/function lottery then. Tripping a wrong API might break the whole thing. You could try to downgrade some Prusa-Slicer versions to see if it changes something.

Last edited by Maniaxx (2021-02-08 20:36:04)


sys2064

Offline

#19 2021-02-08 20:49:41

seth
Member
Registered: 2012-09-03
Posts: 32,033

Re: [SOLVED] OpenGL on gma4500 mhd

https://en.wikipedia.org/wiki/Intel_GMA#GMA_X4500

GMA900 is GL 1.4 but the X4500 should™ be actual 2.1
The  contentious chip was the X3100

Semms more lke the slicer bug yo found.

Offline

#20 2021-02-08 22:50:59

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

I worked a little more inside this.
I don't know if what I did is nice or not... But I downloaded a live iso of manjaro, just to easily test with some older versions of some packages.

So far, I used their iso version from December 2020, and running the Appimage of prusa-slicer and it works which OpenGL 2.1. Just boot and run.
OK, I don't want to use manjaro (never before even tried). I used Arch for years and will continue doing so.

Going back to my problem... With the most recent version of manjaro I have the same problem as with Arch Linux
So, which program to blame?
Should it be just Mesa ? Because kernel probably is not the problem, as I tried with linux-lts (as suggested by seth) with no luck.
Could it be a bug in Mesa ?
Should I try to go there and report or diagnose better ?

Mesa 20.2.3 OK (both using dri3 or dri2)
Mesa 20.3.* Not OK


Of course , with my test all the other pieces of system are different versions btw, is not so simple to make a conclusion...
Thank you again.

Edit:
I downloaded mesa 20.2.3 from here: https://archive.archlinux.org/packages/m/mesa/
then

sudo pacman -U mesa-20.2.3-1-x86_64.pkg.tar.zst 

and a simple run of prusa-slicer give the representation of the model. So it is probably a kind of bug inside Mesa 20.3. I could start installing higher versions until it breaks this functionality.

Edit2: Done, mesa 20.3.0-1 (exactly one version above in the packages archive) shows the change.

Last edited by angel6700 (2021-02-08 23:16:25)

Offline

#21 2021-02-09 13:56:22

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 10,428

Re: [SOLVED] OpenGL on gma4500 mhd

I noticed you created a bug with upstream at https://gitlab.freedesktop.org/mesa/mesa/-/issues/4254 .

I do agree that's the proper cause of action, but this thread has info about the issue. Add a link to it in the Bug Report ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#22 2021-02-09 18:28:37

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

Dear Mr. Wolf,

Yes, you are right. It was my little experience in the world of bugs and reports.. I will do it right now.

For now, I will keep mesa 20.2.3 and will add

IgnorePkg = mesa

in pacman.conf (no sure this could possibly break something...)

Thank you.

Edit: here is the issue in mesa3d.org gitlab
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4254

Last edited by angel6700 (2021-02-09 19:10:55)

Offline

#23 2021-02-14 22:30:03

angel6700
Member
Registered: 2009-09-06
Posts: 21

Re: [SOLVED] OpenGL on gma4500 mhd

I'm marking the thread as solved.
It was a bug in mesa, and has been just fixed, will promote to the current version soon.

Thanks to Lone_Wolf for your helpful PKGBUILD for mesa-git, this way the process for [ git bisect -> compile -> create package -> install in the laptop -> test ] was much easier.
(Fortunately I have another modern computer and do not needed to compile in the poor old celeron)

Offline

Board footer

Powered by FluxBB