Intel iris graphic driver breaks java applications in ubuntu 20.04

Bug #1902539 reported by Sergio Callegari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjogl2-java (Ubuntu)
New
Undecided
Unassigned

Bug Description

Both Matlab and Scilab (which are java based) fail when using the iris graphics driver. As a workaround you can make them work using MESA_LOADER_DRIVER_OVERRIDE=i965

There is a bug open for scilab at https://bugzilla.scilab.org/show_bug.cgi?id=13830 (in fact one of the issues marked as a duplicate there does probably contain more info).

On the Matlab camp, the issue is known to the Matlab developers. However, it is really not an issue in Matlab, so they can only advice to use the i965 driver.

The issue may be either in the Intel Iris driver, or in jogl (the java library that all these projects use for opengl). I would tend to think that the issue is in the iris driver not providing a proper opengl 3 compatibility profile (needed by jogl), but I am unsure about it.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
Uname: Linux 5.4.0-52-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.10
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: KDE
Date: Mon Nov 2 16:07:33 2020
DistUpgraded: 2020-05-23 08:30:58,391 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py'
DistroCodename: focal
DistroVariant: ubuntu
EcryptfsInUse: Yes
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation UHD Graphics [8086:9b41] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: CLEVO/KAPOK Computer UHD Graphics [1558:1403]
InstallationDate: Installed on 2020-02-16 (260 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: SCHENKER SCHENKER_SLIM14_SSL14L19
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=/dev/mapper/VG_NVMe-root ro quiet splash vt.handoff=7
SourcePackage: mesa
UpgradeStatus: Upgraded to focal on 2020-05-23 (163 days ago)
dmi.bios.date: 10/02/2019
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 1.07.04RTR1
dmi.board.asset.tag: Tag 12345
dmi.board.name: N141CU
dmi.board.vendor: SCHENKER
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnINSYDECorp.:bvr1.07.04RTR1:bd10/02/2019:svnSCHENKER:pnSCHENKER_SLIM14_SSL14L19:pvrNotApplicable:rvnSCHENKER:rnN141CU:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:
dmi.product.family: Not Applicable
dmi.product.name: SCHENKER_SLIM14_SSL14L19
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: SCHENKER
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 20.0.8-0ubuntu1~20.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
Sergio Callegari (callegar) wrote :
Revision history for this message
Sergio Callegari (callegar) wrote :

Tested with latest mesa 20.3 from oibaf ppa and issue is still present. Same behavior is also observed with the zink driver.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

look at what fix-mesa-detection.diff does and try to figure out how to modify it to fix this

affects: mesa (Ubuntu) → libjogl-java (Ubuntu)
affects: libjogl-java (Ubuntu) → libjogl2-java (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.