LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-12-2022, 07:04 AM   #1
rmfrank
LQ Newbie
 
Registered: May 2022
Posts: 5

Rep: Reputation: 0
Ubuntu 20 with Intel Graphics 620 OpenGL not installed


Hi everybody,

I have an rather old PC (fan-less - thus very interesting) onto which I need to install the OpenGL software in order to run several programs.
However, no matter what I've tried (c.f. below), inxi -G always shows 'OpenGL: renderer: N/A v: N/A'.
I've
- updated to the latest 20.04LTS release
- tried installing the OpenGL tools (which should load OpenGL)
- adding specific repsoitories (intel graphics for mesa and kisak-mesa)

I've found several hints and have tried most of them, but I simply can't get any OpenGL to load. Others seem to be able to do so - so what am I missing?

Thanks in advance
Robert

The system info:
lshw -c video
*-display
description: VGA compatible controller
product: UHD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:136 memory:de000000-deffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff

inxi -G
Graphics: Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Display: server: X.Org 1.20.11 driver: i915 resolution: 4920x1920~1Hz
OpenGL: renderer: N/A v: N/A
 
Old 05-12-2022, 01:18 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Mesa?
 
Old 05-13-2022, 06:15 AM   #3
rmfrank
LQ Newbie
 
Registered: May 2022
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
Mesa?
If you mean that's what's missing: I have installed several mesa versions, none changed anything.
 
Old 05-13-2022, 06:51 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Mesa provides the /usr/lib(64)/libGL* libraries. Use the latest distro version.

Also, if you've had a proprietary video driver there, they may well have replaced the symlinks to the Mesa libraries with symlinks pointing at their own versions. Here's what a pure Mesa version looks like:
Code:
bash-5.1$ ls -lh /usr/lib64/libGL*
lrwxrwxrwx 1 root root   14 Feb  5 16:17 /usr/lib64/libGL.so -> libGL.so.1.7.0*
lrwxrwxrwx 1 root root   14 Feb  5 16:17 /usr/lib64/libGL.so.1 -> libGL.so.1.7.0*
-rwxr-xr-x 1 root root 559K May  1  2021 /usr/lib64/libGL.so.1.7.0*
lrwxrwxrwx 1 root root   21 Feb  5 16:17 /usr/lib64/libGLESv1_CM.so -> libGLESv1_CM.so.1.2.0*
lrwxrwxrwx 1 root root   21 Feb  5 16:17 /usr/lib64/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.2.0*
-rwxr-xr-x 1 root root  43K May  1  2021 /usr/lib64/libGLESv1_CM.so.1.2.0*
lrwxrwxrwx 1 root root   18 Feb  5 16:17 /usr/lib64/libGLESv2.so -> libGLESv2.so.2.1.0*
lrwxrwxrwx 1 root root   18 Feb  5 16:17 /usr/lib64/libGLESv2.so.2 -> libGLESv2.so.2.1.0*
-rwxr-xr-x 1 root root  71K May  1  2021 /usr/lib64/libGLESv2.so.2.1.0*
lrwxrwxrwx 1 root root   16 Feb  5 16:15 /usr/lib64/libGLEW.so -> libGLEW.so.2.2.0*
lrwxrwxrwx 1 root root   16 Feb  5 16:15 /usr/lib64/libGLEW.so.2.2 -> libGLEW.so.2.2.0*
-rwxr-xr-x 1 root root 719K Feb 13  2021 /usr/lib64/libGLEW.so.2.2.0*
lrwxrwxrwx 1 root root   15 Feb  5 16:15 /usr/lib64/libGLU.so -> libGLU.so.1.3.1*
lrwxrwxrwx 1 root root   15 Feb  5 16:15 /usr/lib64/libGLU.so.1 -> libGLU.so.1.3.1*
-rwxr-xr-x 1 root root 451K Jun 27  2021 /usr/lib64/libGLU.so.1.3.1*
lrwxrwxrwx 1 root root   15 Feb  5 16:17 /usr/lib64/libGLX.so -> libGLX.so.0.0.0*
lrwxrwxrwx 1 root root   15 Feb  5 16:17 /usr/lib64/libGLX.so.0 -> libGLX.so.0.0.0*
-rwxr-xr-x 1 root root 135K May  1  2021 /usr/lib64/libGLX.so.0.0.0*
lrwxrwxrwx 1 root root   16 Feb  5 16:18 /usr/lib64/libGLX_mesa.so -> libGLX_mesa.so.0*
lrwxrwxrwx 1 root root   20 Feb  5 16:18 /usr/lib64/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0*
-rwxr-xr-x 1 root root 449K Jan 28 20:23 /usr/lib64/libGLX_mesa.so.0.0.0*
lrwxrwxrwx 1 root root   16 Feb  5 16:18 /usr/lib64/libGLX_system.so.0 -> libGLX_mesa.so.0*
lrwxrwxrwx 1 root root   22 Feb  5 16:17 /usr/lib64/libGLdispatch.so -> libGLdispatch.so.0.0.0*
lrwxrwxrwx 1 root root   22 Feb  5 16:17 /usr/lib64/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0*
-rwxr-xr-x 1 root root 703K May  1  2021 /usr/lib64/libGLdispatch.so.0.0.0*
Andthere should be none of these modules blacklisted.
 
Old 05-13-2022, 09:42 AM   #5
rmfrank
LQ Newbie
 
Registered: May 2022
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
Mesa provides the /usr/lib(64)/libGL* libraries. Use the latest distro version.
I installed all latest packages of the Ubuntu20.04LTS. And, as mentioned, tried several other mesa repositories too.
I have nothing in /usr/lib64 and no libGL* in /usr/lib - is your listing for Ubuntu20.04LTS?

dpkg -l | grep mesa shows:
ii libegl-mesa0:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 free implementation of the EGL API -- Mesa vendor library
ii libgl1-mesa-dri:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 free implementation of the OpenGL API -- DRI modules
ii libglapi-mesa:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 free implementation of the GL API -- shared library
ii libglu1-mesa:amd64 9.0.1-1build1 amd64 Mesa OpenGL utility library (GLU)
ii libglu1-mesa-dev:amd64 9.0.1-1build1 amd64 Mesa OpenGL utility library -- development files
ii libglx-mesa0:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 free implementation of the OpenGL API -- GLX vendor library
ii mesa-common-dev:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 Developer documentation for Mesa
ii mesa-utils 8.4.0-1build1 amd64 Miscellaneous Mesa GL utilities
ii mesa-va-drivers:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 Mesa VDPAU video acceleration drivers
ii mesa-vulkan-drivers:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 Mesa Vulkan graphics drivers



Quote:
Originally Posted by business_kid View Post
Andthere should be none of these modules blacklisted.
no mesa module is blacklisted, but also not loaded - however, that's the same for other similarly set up machines.
 
Old 05-13-2022, 01:12 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
My listing was from Slackware. That supplies full packages, each with includes all libs, docs, and whatever's in /usr/share. Ubuntu has each package like Mesa split up into an unknown number of packages.

So I know where I stand. You don't. Try
  • Code:
    dpkg -l |grep libGL
    ??
  • Or run updatedb and go looking for libGL with locate.
  • have a look at /etc/ld.so.conf, which should list directories with system libraries, and check in each of those
  • Otherwise google the problem.
 
Old 05-13-2022, 10:06 PM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,901
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by rmfrank View Post
Code:
inxi -G
Graphics:  Device-1: Intel UHD Graphics 620
Lots of different Intel GPU models provide UHD Graphics 620. Which is yours? It might matter. inxi -Ga would indicate.
 
Old 05-14-2022, 03:07 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,901
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Getting OpenGL to work in Focal with Intel graphics should be automatic. Except for pci=noaer in Grub's linu lines, I didn't do anything special:
Code:
# dpkg -l | egrep -i 'mesa|pengl|intel|mwar'
ii  amd64-microcode                       3.20191218.1ubuntu1                amd64        Processor microcode firmware for AMD CPUs
ii  intel-microcode                       3.20210608.0ubuntu0.20.04.1        amd64        Processor microcode firmware for Intel CPUs
ii  iucode-tool                           2.3.1-1                            amd64        Intel processor microcode tool
ii  libdrm-intel1:amd64                   2.4.107-8ubuntu1~20.04.2           amd64        Userspace interface to intel-specific kernel DRM services -- runtime
ii  libegl-mesa0:amd64                    21.2.6-0ubuntu0.1~20.04.2          amd64        free implementation of the EGL API -- Mesa vendor library
ii  libepoxy0:amd64                       1.5.4-1                            amd64        OpenGL function pointer management library
ii  libgl1-mesa-dri:amd64                 21.2.6-0ubuntu0.1~20.04.2          amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                 21.2.6-0ubuntu0.1~20.04.2          amd64        transitional dummy package
ii  libglapi-mesa:amd64                   21.2.6-0ubuntu0.1~20.04.2          amd64        free implementation of the GL API -- shared library
ii  libglu1-mesa:amd64                    9.0.1-1build1                      amd64        Mesa OpenGL utility library (GLU)
ii  libglx-mesa0:amd64                    21.2.6-0ubuntu0.1~20.04.2          amd64        free implementation of the OpenGL API -- GLX vendor library
ii  linux-firmware                        1.187.30                           all          Firmware for Linux kernel drivers
ii  mesa-utils                            8.4.0-1build1                      amd64        Miscellaneous Mesa GL utilities
# inxi -GISaz
System:
  Kernel: 5.4.0-110-generic arch: x86_64 bits: 64 compiler: gcc v: 9.4.0
    parameters: root=LABEL=<filter> noresume
    ipv6.disable=1 net.ifnames=0 mitigations=auto consoleblank=0
    video=1440x900@60 pci=noaer 5
  Desktop: Trinity v: R14.1.0 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
    vt: 7 dm: TDM Distro: Ubuntu 20.04.4 LTS (Focal Fossa)
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel
    ports: active: DP-1,HDMI-A-3 empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:5912 class-ID: 0300
  Display: x11 server: X.Org v: 1.20.13 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 120 s-size: 948x304mm (37.32x11.97")
    s-diag: 996mm (39.19")
  Monitor-1: DP-1 pos: primary,left model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: HDMI-A-3 mapped: HDMI-3 pos: right model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.2.6
    direct render: Yes
Info:...Shell: Bash v: 5.0.17  running-in: konsole inxi: 3.3.15
#
Do you not have
 
Old 05-16-2022, 02:08 AM   #9
rmfrank
LQ Newbie
 
Registered: May 2022
Posts: 5

Original Poster
Rep: Reputation: 0
OK, guys this is a pebkac ! I was connecting to the machine via SSH from my working place using -Y. This obviously doesn't do what I expected. When using the inxi command in a terminal after logging in with the GUI, the OpenGL driver is correctly shown.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to find updated drivers to my Intel Corporation HD Graphics 620 (rev 07) slackuser222 Slackware 3 02-10-2022 01:13 AM
Slackware64 14.2 and Intel UHD 620 graphics. X: open /dev/dri/card0: No such file or directory j12i Slackware 9 04-14-2021 10:43 AM
[SOLVED] Slackware current + kernel 5 and up + video freeze Intel 620 ricky_cardo Slackware 2 01-09-2020 06:28 AM
[SOLVED] how to get sound from HP 620 built in speakers with ubuntu 10.04 installed tengi Linux - Newbie 1 12-02-2011 09:39 PM
how to install linux on as400 9604-620 with intel processor adeqoswa Linux - Enterprise 0 03-01-2005 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration