I have installed Ubuntu 16.04.3 LTS on computer with AMD A4-4000 APU with Radeon(tm) HD Graphics
and installed Scilab 5.5.2 here from official repository (package version 5.5.2-2ubuntu3).
It worked normally on 2017-12-24, but broken by some latest update. I can post dpkg-log, but it seems that it MESA-related:
$ cat /var/log/dpkg.log* | grep "status installed.*mesa"
2018-01-11 14:51:08 status installed libglapi-mesa:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:09 status installed libglapi-mesa:i386 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:10 status installed libgl1-mesa-dri:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:11 status installed libgl1-mesa-dri:i386 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:16 status installed libegl1-mesa:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:17 status installed libwayland-egl1-mesa:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:18 status installed libosmesa6:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:18 status installed libosmesa6:i386 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:19 status installed libgl1-mesa-glx:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:20 status installed libgl1-mesa-glx:i386 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:20 status installed libgles2-mesa:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-11 14:51:21 status installed mesa-vdpau-drivers:amd64 17.2.4-0ubuntu1~16.04.2
2018-01-12 12:24:25 status installed mesa-va-drivers:amd64 17.2.4-0ubuntu1~16.04.2 # <- installed after crash detection by me
What I tried:
-
Rebooted with previous kernel 4.4.0-104-generic instead of newest 4.4.0-109-generic
-
Cleared Scilab folder in $HOME
rm ~/.Scilab -rf
-
Installed
vainfo
andmesa-va-drivers
to have normal output ofvainfo
as follows:$ vainfo libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri /r600_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.39 (libva 1.7.0) vainfo: Driver version: mesa gallium vaapi vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileNone : VAEntrypointVideoProc
-
reported bug 1742894 to launchpad.
-
upgrading to RollingLTSEnablementStack (with
sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04
) does not help -
BIOS upgrading does not help.
My system information:
$ lspci -knn | grep -A3 VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7480D] [1002:9993]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7480D] [1002:0123]
Kernel driver in use: radeon
Kernel modules: radeon
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.4.0-109-generic root=UUID=... ro splash quiet vt.handoff=7
$ glxinfo | grep -i 'direct\|vendor\|opengl'
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: X.Org (0x1002)
OpenGL vendor string: X.Org
OpenGL renderer string: AMD ARUBA (DRM 2.43.0 / 4.4.0-109-generic, LLVM 5.0.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced,
GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
OpenGL version string: 3.0 Mesa 17.2.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
In Software & Updates software-properties-gtk
I have only one suggestion about installation of amd64-microcode
package. Its installation does not help.
Do you need more details?
Best Answer
I got it working on Ubuntu 16.04 without downgrading any package. I just run:
Hope it helps,
Antoine