Mesa OpenGL on Intel HD5500 - Lenovo Z70 laptop

Hi

After my trials getting the Tumbleweed USB installer to work with this laptop, I now find that the OpenGL / Mesa performance is really slow.

This is what glmark2 on Tumbleweed reports:


** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
    glmark2 2017.07
=======================================================
    OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 5.0, 256 bits)
    GL_VERSION:    3.0 Mesa 17.3.3
=======================================================

                                  glmark2 Score: 207 
=======================================================

Now, I happened to have a Linux Mint 18.3 xfce Live USB around, so I booted with that, and ran glmark2

Results:

=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) 
    GL_VERSION:    3.0 Mesa 17.0.7
=======================================================

                                  glmark2 Score: 1583 
=======================================================

So what do I need to do to get the openSUSE tumbleweed Mesa to give me the same results?

I don’t think I have any packages missing, and on my previous Tumbleweed install on another HDD, I didn’t have this problem.

I don’t recall loading the Intel Linux drivers from https://01.org/linuxgraphics to get it working with my previous install

And to be honest, looking through /var/log/Xorg.0.log it looks as though TW is using the same versions of xf86-video-intel as is on their site

But there is obviously something wrong.

NB I’ve tried building Mesa from source from the 01.org site but at the moment it fails to build - problems with the location of the llvm shared libraries

But I’d prefer to just use standard drivers out of the normal SUSE repos, if possible.

Thanks

Driver being used?

Sorry, should have said. I’ve tried both with, and without, xf86-video-intel installed.

And I’m using xfce4 as my desktop manager, which is the same that the Linux Mint Live USB I used uses.

It looks from /var/log/Xorg-.0.log in the Mint live that is also using xf86-video-intel

lsmod shows modules for i915 running, which is what I would expect.

Kernel on OpenSUSE is 4.14.15-1-default OpenSUSE xorg.0.log says

 X.Org X Server 1.19.6
Release Date: 2017-12-20

Solved

I had another look at my /var/log/Xorg.0.log and saw that “nomodeset” was being found on the commandline, which has been leftover from the struggles I had installing Tumbleweed last week.

Removed that from

/etc/default/grub

and did

 sudo grub2-mkconfig -o /boot/grub2/grub.cfg

and one reboot later, I’ve got:

=======================================================
    glmark2 2017.07
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) 
    GL_VERSION:    3.0 Mesa 17.3.3
=======================================================
=======================================================
                                  glmark2 Score: 3105 
=======================================================

Sorry about that, I wasn’t expecting the install to have appended “nomodeset” to

GRUB_CMDLINE_LINUX_DEFAULT

and I didn’t review it later.