Project

General

Profile

Feature #11303

Ship mesa from jessie-backports

Added by intrigeri over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Hardware support
Target version:
Start date:
04/02/2016
Due date:
% Done:

100%

QA Check:
Pass
Feature Branch:
feature/11303-mesa-backport
Type of work:
Code
Blueprint:
Easy:
Affected tool:

Description

First of all, it seems to have code that fixes the problem for which we are currently shipping a custom mesa package => this would allow us to drop one custom package.

Second, this would likely improve hardware support of graphics cards.


Related issues

Related to Tails - Bug #11850: Only software rendering (no hardware acceleration) on some AMD GPUs since 2.4 Resolved 09/28/2016
Duplicated by Tails - Bug #11263: Xorg crashes with Intel Braswell Duplicate 03/18/2016

Associated revisions

Revision cc48b2b9 (diff)
Added by intrigeri over 1 year ago

Install libdrm and mesa from jessie-backports.

Will-fix: #11303

Revision 6a1b6439
Added by anonym over 1 year ago

Merge remote-tracking branch 'origin/feature/11303-mesa-backport' into devel

Fix-committed: #11303

History

#1 Updated by intrigeri over 1 year ago

  • Status changed from Confirmed to In Progress

#2 Updated by intrigeri over 1 year ago

  • Status changed from In Progress to Confirmed
  • Feature Branch set to feature/11303-mesa-backport

#3 Updated by intrigeri over 1 year ago

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10

#4 Updated by goupille over 1 year ago

  • Related to Bug #11263: Xorg crashes with Intel Braswell added

#5 Updated by devnsec over 1 year ago

I can see this feature's target version is Tails 2.4, is it possible to ship this with 2.3?
Because the bug #11263 is blocking me from using Tails on my computer.

#6 Updated by devnsec over 1 year ago

Just bring you a quick update for bug #11263, the ISO file http://nightly.tails.boum.org/build_Tails_ISO_feature-11303-mesa-backport/lastSuccessful/archive/latest.iso has been tested by vitali576 (on Intel Celeron N3150 with Acer Aspire ES1-331-C5KL) and me (on Intel Pentium N3700 with ASRock N3700-ITX), it fixed the bug as expected.

Will you be able to ship it with Tails 2.3?

Thanks

#7 Updated by intrigeri over 1 year ago

Will you be able to ship it with Tails 2.3?

I personally feel it's too risky to introduce this in a release without including it first in a release candidate, and the 2.3 cycle won't have any release candidate. Besides, I doubt I'll have time to work on this more in the 2.3 dev cycle.

#8 Updated by devnsec over 1 year ago

intrigeri wrote:

Will you be able to ship it with Tails 2.3?

I personally feel it's too risky to introduce this in a release without including it first in a release candidate, and the 2.3 cycle won't have any release candidate. Besides, I doubt I'll have time to work on this more in the 2.3 dev cycle.

OK, point taken. I was going to push your developers to include this in 2.3, but I can see what are you concerned.

I guess I will have to use this feature branch ISO for the next 2 months on that hardware.

#9 Updated by Rennsport over 1 year ago

I have an Acer Aspire ES 15 (ES1-531-P6N1) and Tails 2.2.1 does not work. The video appears to fail and I never get to the desktop and cannot access the command line. This Experimental version works correctly on my laptop! Debian Jessie fails the same way that Tails fails.

Thank-you for creating this Experimental version and I look forward to the official release.

#10 Updated by Rennsport over 1 year ago

I have an Acer Aspire ES 15 (ES1-531-P6N1) and Tails 2.2.1 does not work. The video appears to fail and I never get to the desktop and cannot access the command line. This Experimental version works correctly on my laptop! Debian Jessie fails the same way that Tails fails.

Thank-you for creating this Experimental version and I look forward to the official release.

I will check the GPU and post that later.

#11 Updated by AndyW over 1 year ago

I have a Dell Latitude 3540 with GPU AMD Radeon HD 8850M. When I first booted up my computer, I saw, "Loading, please wait..." Then I got "Unexpectedly disconnected from boot status daemon" TAILS would go through the remaining boot sequence until it got to the Welcome screen. When I logged on, it loaded and I very briefly saw the desktop before it changed to a black screen with the following messages:
"Starting load/save RF kill switch status of rfkill2..."
"[OK] Reached target bluetooth."
"[OK] Started Load/Save RF killswitch status of rfkill2."
This is where it ended.
After reporting this problem, I loaded the "experimental" image sent to me on April 7, 2016 and TAILS loaded without issue. I have run TAIL six times since then and everything seems to be working just fine.

#12 Updated by intrigeri over 1 year ago

Thank you all for the reports! That's all good news and I'll try to get this into Tails 2.4. Hopefully we won't discover it breaks other hardware (but thankfully we will publish Tails 2.4~rc1 so we have a greater chance to notice if that's the case).

#13 Updated by intrigeri over 1 year ago

  • Related to deleted (Bug #11263: Xorg crashes with Intel Braswell)

#14 Updated by intrigeri over 1 year ago

  • Duplicated by Bug #11263: Xorg crashes with Intel Braswell added

#15 Updated by intrigeri over 1 year ago

  • % Done changed from 10 to 20

#16 Updated by intrigeri over 1 year ago

anonym: FTR my plan is to ask for a merge in ~2 weeks, if the call for testing I've sent doesn't reveal (too many) regressions.

#17 Updated by devnsec over 1 year ago

I have a computer that has an AMD HD 7770 graphic card, and it worked fine on both 2.2 and 2.3, but has extremely poor 2D graphic performance on the mesa backports version. After a bit of testing and research, I found out that the different is software vs hardware renderer.

The following commands' outputs are same for the 2.3 and mesa backports version.

amnesia@amnesia:~$ lspci -nnkd 1002:683d
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X] [1002:683d]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:6887]
    Kernel driver in use: radeon
amnesia@amnesia:~$ lsmod | grep radeon 
radeon               1349406  2 
i2c_algo_bit           12751  2 igb,radeon
drm_kms_helper         49210  1 radeon
ttm                    77862  1 radeon
drm                   249998  5 ttm,drm_kms_helper,radeon
i2c_core               46012  6 drm,igb,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon

On the 2.3 version

amnesia@amnesia:/var/log$ LIBGL_DEBUG=verbose glxinfo | head -n50
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 1002:683d, driver radeonsi
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
libGL: Can't open configuration file /home/amnesia/.drirc: No such file or directory.
libGL: Can't open configuration file /home/amnesia/.drirc: No such file or directory.
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, 
    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_stencil_export,

Noticeably lines are:

libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE

========================================================================================

/var/log/Xorg.0.log

[    14.263] (II) LoadModule: "glx" 
[    14.343] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    14.360] (II) Module glx: vendor="X.Org Foundation" 
[    14.360]     compiled for 1.16.4, module version = 1.0.0
[    14.360]     ABI class: X.Org Server Extension, version 8.0
[    14.360] (==) AIGLX enabled
[    14.360] (==) Matched ati as autoconfigured driver 0
[    14.360] (==) Matched ati as autoconfigured driver 1
[    14.360] (==) Matched modesetting as autoconfigured driver 2
[    14.360] (==) Matched fbdev as autoconfigured driver 3
[    14.360] (==) Matched vesa as autoconfigured driver 4
[    14.360] (==) Assigned the driver to the xf86ConfigLayout
[    14.360] (II) LoadModule: "ati" 
[    14.360] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    14.435] (II) Module ati: vendor="X.Org Foundation" 
[    14.435]     compiled for 1.16.1, module version = 7.5.0
[    14.435]     Module class: X.Org Video Driver
[    14.435]     ABI class: X.Org Video Driver, version 18.0
[    14.435] (II) LoadModule: "radeon" 
[    14.435] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    14.495] (II) Module radeon: vendor="X.Org Foundation" 
[    14.495]     compiled for 1.16.1, module version = 7.5.0
[    14.495]     Module class: X.Org Video Driver
[    14.495]     ABI class: X.Org Video Driver, version 18.0
[    14.495] (II) LoadModule: "modesetting" 
[    14.495] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    14.524] (II) Module modesetting: vendor="X.Org Foundation" 
[    14.524]     compiled for 1.16.4, module version = 0.9.0
[    14.524]     Module class: X.Org Video Driver
[    14.524]     ABI class: X.Org Video Driver, version 18.0
[    14.524] (II) LoadModule: "fbdev" 
[    14.524] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    14.539] (II) Module fbdev: vendor="X.Org Foundation" 
[    14.539]     compiled for 1.15.99.904, module version = 0.4.4
[    14.539]     Module class: X.Org Video Driver
[    14.539]     ABI class: X.Org Video Driver, version 18.0
[    14.539] (II) LoadModule: "vesa" 
[    14.539] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    14.577] (II) Module vesa: vendor="X.Org Foundation" 
[    14.577]     compiled for 1.15.99.904, module version = 2.3.3
[    14.577]     Module class: X.Org Video Driver
[    14.577]     ABI class: X.Org Video Driver, version 18.0
[    14.577] (II) RADEON: Driver for ATI Radeon chipsets:
// too many lines, skipped
[    14.581] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    14.581] (II) FBDEV: driver for framebuffer: fbdev
[    14.581] (II) VESA: driver for VESA chipsets: vesa
[    14.581] (++) using VT number 7

[    14.581] (II) [KMS] Kernel modesetting enabled.
[    14.581] (WW) Falling back to old probe method for modesetting
[    14.581] (WW) Falling back to old probe method for fbdev
[    14.581] (II) Loading sub module "fbdevhw" 
[    14.581] (II) LoadModule: "fbdevhw" 
[    14.582] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    14.582] (II) Module fbdevhw: vendor="X.Org Foundation" 
[    14.582]     compiled for 1.16.4, module version = 0.0.2
[    14.582]     ABI class: X.Org Video Driver, version 18.0
[    14.582] (WW) Falling back to old probe method for vesa
[    14.582] (II) RADEON(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[    14.582] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[    14.582] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    14.582] (==) RADEON(0): Default visual is TrueColor
[    14.582] (==) RADEON(0): RGB weight 888
[    14.582] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[    14.582] (--) RADEON(0): Chipset: "VERDE" (ChipID = 0x683d)
[    14.582] (II) Loading sub module "dri2" 
[    14.582] (II) LoadModule: "dri2" 
[    14.582] (II) Module "dri2" already built-in
[    14.582] (II) Loading sub module "glamoregl" 
[    14.582] (II) LoadModule: "glamoregl" 
[    14.582] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    14.882] (II) Module glamoregl: vendor="X.Org Foundation" 
[    14.882]     compiled for 1.16.4, module version = 1.0.0
[    14.882]     ABI class: X.Org ANSI C Emulation, version 0.4
[    14.882] (II) glamor: OpenGL accelerated X.org driver based.
[    15.771] (II) glamor: EGL version 1.4 (DRI2):
[    15.780] (II) RADEON(0): glamor detected, initialising EGL layer.
[    15.780] (II) RADEON(0): KMS Color Tiling: enabled
[    15.780] (II) RADEON(0): KMS Color Tiling 2D: enabled
[    15.780] (II) RADEON(0): KMS Pageflipping: enabled
[    15.780] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[    15.857] (II) RADEON(0): Output DisplayPort-0 has no monitor section
[    15.859] (II) RADEON(0): Output HDMI-0 has no monitor section
[    15.884] (II) RADEON(0): Output DVI-0 has no monitor section
// irrelevant information skipped
[    15.988] (II) Loading sub module "fb" 
[    15.988] (II) LoadModule: "fb" 
[    15.988] (II) Loading /usr/lib/xorg/modules/libfb.so
[    15.988] (II) Module fb: vendor="X.Org Foundation" 
[    15.988]     compiled for 1.16.4, module version = 1.0.0
[    15.988]     ABI class: X.Org ANSI C Emulation, version 0.4
[    15.988] (II) Loading sub module "ramdac" 
[    15.988] (II) LoadModule: "ramdac" 
[    15.988] (II) Module "ramdac" already built-in
[    15.988] (II) UnloadModule: "modesetting" 
[    15.988] (II) Unloading modesetting
[    15.988] (II) UnloadModule: "fbdev" 
[    15.988] (II) Unloading fbdev
[    15.988] (II) UnloadSubModule: "fbdevhw" 
[    15.988] (II) Unloading fbdevhw
[    15.988] (II) UnloadModule: "vesa" 
[    15.988] (II) Unloading vesa
[    15.988] (--) Depth 24 pixmap format is 32 bpp
[    15.989] (II) RADEON(0): [DRI2] Setup complete
[    15.989] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    15.989] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    15.989] (II) RADEON(0): Front buffer size: 9120K
[    15.989] (II) RADEON(0): VRAM usage limit set to 1870812K
[    15.989] (==) RADEON(0): Backing store enabled
[    15.989] (II) RADEON(0): Direct rendering enabled
[    16.047] (II) RADEON(0): Use GLAMOR acceleration.
[    16.047] (II) RADEON(0): Acceleration enabled
[    16.047] (==) RADEON(0): DPMS enabled
[    16.047] (==) RADEON(0): Silken mouse enabled
[    16.049] (II) RADEON(0): Set up textured video (glamor)
[    16.049] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video.
[    16.049] (II) RADEON(0): [XvMC] Extension initialized.
[    16.049] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    16.088] (--) RandR disabled
[    16.093] (II) SELinux: Disabled on system
[    16.094] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    16.094] (II) AIGLX: enabled GLX_ARB_create_context
[    16.094] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    16.094] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    16.094] (II) AIGLX: enabled GLX_INTEL_swap_event
[    16.094] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    16.094] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    16.094] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    16.094] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    16.094] (II) AIGLX: Loaded and initialized radeonsi
[    16.094] (II) GLX: Initialized DRI2 GL provider for screen 0

Noticeably lines are:

[    15.989] (II) RADEON(0): [DRI2] Setup complete
[    15.989] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    15.989] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    15.989] (II) RADEON(0): Direct rendering enabled
[    16.047] (II) RADEON(0): Use GLAMOR acceleration.
[    16.047] (II) RADEON(0): Acceleration enabled
[    16.094] (II) AIGLX: Loaded and initialized radeonsi
[    16.094] (II) GLX: Initialized DRI2 GL provider for screen 0

On the mesa backports version

amnesia@amnesia:/var/log$ LIBGL_DEBUG=verbose glxinfo | head -n50
libGL: screen 0 does not appear to be DRI3 capable
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /home/amnesia/.drirc: No such file or directory.
libGL: Can't open configuration file /home/amnesia/.drirc: No such file or directory.
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_make_current_read
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, 
    GLX_MESA_query_renderer, GLX_OML_swap_method, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_make_current_read
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
OpenGL version string: 3.0 Mesa 11.1.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, 
    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_stencil_export, 
    GL_AMD_shader_trinary_minmax, GL_APPLE_packed_pixels, 
    GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility, 
    GL_ARB_ES3_compatibility, GL_ARB_base_instance, 
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage, 
    GL_ARB_clear_buffer_object, GL_ARB_clip_control, 
    GL_ARB_color_buffer_float, GL_ARB_compressed_texture_pixel_storage, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_buffer_float, 
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers,

Noticeably lines are:

libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)

========================================================================================

/var/log/Xorg.0.log

[    14.887] (II) LoadModule: "glx" 
[    14.887] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.095] (II) Module glx: vendor="X.Org Foundation" 
[    15.095]     compiled for 1.16.4, module version = 1.0.0
[    15.095]     ABI class: X.Org Server Extension, version 8.0
[    15.095] (==) AIGLX enabled
[    15.095] (==) Matched ati as autoconfigured driver 0
[    15.095] (==) Matched ati as autoconfigured driver 1
[    15.095] (==) Matched modesetting as autoconfigured driver 2
[    15.095] (==) Matched fbdev as autoconfigured driver 3
[    15.095] (==) Matched vesa as autoconfigured driver 4
[    15.095] (==) Assigned the driver to the xf86ConfigLayout
[    15.095] (II) LoadModule: "ati" 
[    15.095] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    15.158] (II) Module ati: vendor="X.Org Foundation" 
[    15.158]     compiled for 1.16.1, module version = 7.5.0
[    15.158]     Module class: X.Org Video Driver
[    15.158]     ABI class: X.Org Video Driver, version 18.0
[    15.158] (II) LoadModule: "radeon" 
[    15.158] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    15.212] (II) Module radeon: vendor="X.Org Foundation" 
[    15.212]     compiled for 1.16.1, module version = 7.5.0
[    15.212]     Module class: X.Org Video Driver
[    15.212]     ABI class: X.Org Video Driver, version 18.0
[    15.212] (II) LoadModule: "modesetting" 
[    15.212] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    15.240] (II) Module modesetting: vendor="X.Org Foundation" 
[    15.240]     compiled for 1.16.4, module version = 0.9.0
[    15.240]     Module class: X.Org Video Driver
[    15.240]     ABI class: X.Org Video Driver, version 18.0
[    15.240] (II) LoadModule: "fbdev" 
[    15.240] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    15.255] (II) Module fbdev: vendor="X.Org Foundation" 
[    15.255]     compiled for 1.15.99.904, module version = 0.4.4
[    15.255]     Module class: X.Org Video Driver
[    15.255]     ABI class: X.Org Video Driver, version 18.0
[    15.255] (II) LoadModule: "vesa" 
[    15.255] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    15.283] (II) Module vesa: vendor="X.Org Foundation" 
[    15.283]     compiled for 1.15.99.904, module version = 2.3.3
[    15.283]     Module class: X.Org Video Driver
[    15.283]     ABI class: X.Org Video Driver, version 18.0
[    15.283] (II) RADEON: Driver for ATI Radeon chipsets:
// too many lines, skipped
[    15.286] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    15.286] (II) FBDEV: driver for framebuffer: fbdev
[    15.286] (II) VESA: driver for VESA chipsets: vesa
[    15.286] (++) using VT number 7

[    15.286] (II) [KMS] Kernel modesetting enabled.
[    15.286] (WW) Falling back to old probe method for modesetting
[    15.287] (WW) Falling back to old probe method for fbdev
[    15.287] (II) Loading sub module "fbdevhw" 
[    15.287] (II) LoadModule: "fbdevhw" 
[    15.287] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    15.287] (II) Module fbdevhw: vendor="X.Org Foundation" 
[    15.287]     compiled for 1.16.4, module version = 0.0.2
[    15.287]     ABI class: X.Org Video Driver, version 18.0
[    15.287] (WW) Falling back to old probe method for vesa
[    15.287] (II) RADEON(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[    15.287] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[    15.287] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    15.287] (==) RADEON(0): Default visual is TrueColor
[    15.287] (==) RADEON(0): RGB weight 888
[    15.287] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[    15.287] (--) RADEON(0): Chipset: "VERDE" (ChipID = 0x683d)
[    15.288] (II) Loading sub module "dri2" 
[    15.288] (II) LoadModule: "dri2" 
[    15.288] (II) Module "dri2" already built-in
[    15.288] (II) Loading sub module "glamoregl" 
[    15.288] (II) LoadModule: "glamoregl" 
[    15.288] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    15.373] (II) Module glamoregl: vendor="X.Org Foundation" 
[    15.373]     compiled for 1.16.4, module version = 1.0.0
[    15.373]     ABI class: X.Org ANSI C Emulation, version 0.4
[    15.373] (II) glamor: OpenGL accelerated X.org driver based.
[    16.097] (EE) RADEON(0): eglInitialize() failed
[    16.097] (EE) RADEON(0): glamor detected, failed to initialize EGL.
[    16.097] (II) Loading sub module "shadow" 
[    16.097] (II) LoadModule: "shadow" 
[    16.098] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    16.117] (II) Module shadow: vendor="X.Org Foundation" 
[    16.117]     compiled for 1.16.4, module version = 1.1.0
[    16.117]     ABI class: X.Org ANSI C Emulation, version 0.4
[    16.117] (II) RADEON(0): KMS Color Tiling: disabled
[    16.117] (II) RADEON(0): KMS Color Tiling 2D: disabled
[    16.117] (II) RADEON(0): KMS Pageflipping: enabled
[    16.117] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[    16.193] (II) RADEON(0): Output DisplayPort-0 has no monitor section
[    16.194] (II) RADEON(0): Output HDMI-0 has no monitor section
[    16.204] (II) RADEON(0): Output DVI-0 has no monitor section
// irrelevant information skipped
[    16.296] (II) Loading sub module "fb" 
[    16.296] (II) LoadModule: "fb" 
[    16.296] (II) Loading /usr/lib/xorg/modules/libfb.so
[    16.313] (II) Module fb: vendor="X.Org Foundation" 
[    16.313]     compiled for 1.16.4, module version = 1.0.0
[    16.313]     ABI class: X.Org ANSI C Emulation, version 0.4
[    16.313] (II) Loading sub module "ramdac" 
[    16.313] (II) LoadModule: "ramdac" 
[    16.313] (II) Module "ramdac" already built-in
[    16.313] (II) UnloadModule: "modesetting" 
[    16.313] (II) Unloading modesetting
[    16.313] (II) UnloadModule: "fbdev" 
[    16.313] (II) Unloading fbdev
[    16.313] (II) UnloadSubModule: "fbdevhw" 
[    16.313] (II) Unloading fbdevhw
[    16.313] (II) UnloadModule: "vesa" 
[    16.313] (II) Unloading vesa
[    16.313] (--) Depth 24 pixmap format is 32 bpp
[    16.314] (II) RADEON(0): Front buffer size: 9000K
[    16.314] (II) RADEON(0): VRAM usage limit set to 1870920K
[    16.314] (==) RADEON(0): Backing store enabled
[    16.314] (WW) RADEON(0): Direct rendering disabled
[    16.314] (II) RADEON(0): Acceleration disabled
[    16.314] (==) RADEON(0): DPMS enabled
[    16.314] (==) RADEON(0): Silken mouse enabled
[    16.314] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    16.360] (--) RandR disabled
[    16.365] (II) SELinux: Disabled on system
[    16.365] (II) AIGLX: Screen 0 is not DRI2 capable
[    16.365] (EE) AIGLX: reverting to software rendering
[    16.455] (II) AIGLX: Loaded and initialized swrast
[    16.455] (II) GLX: Initialized DRISWRAST GL provider for screen 0

Noticeably lines are:

[    16.314] (WW) RADEON(0): Direct rendering disabled
[    16.314] (II) RADEON(0): Acceleration disabled
[    16.365] (II) AIGLX: Screen 0 is not DRI2 capable
[    16.365] (EE) AIGLX: reverting to software rendering
[    16.455] (II) AIGLX: Loaded and initialized swrast
[    16.455] (II) GLX: Initialized DRISWRAST GL provider for screen 0

If any of your developers needs more information, feel free to ask me, I'll be checking this ticket every one or two days.

#18 Updated by intrigeri over 1 year ago

I have a computer that has an AMD HD 7770 graphic card, and it worked fine on both 2.2 and 2.3, but has extremely poor 2D graphic performance on the mesa backports version. After a bit of testing and research, I found out that the different is software vs hardware renderer.

Thanks for reporting this regression! I had a look, and my best guess is that Jessie's radeon driver (be it the X.org one or the kernel one) is perhaps not compatible with a newer libgl/libdrm. It might be that backporting a more recent xserver-xorg-video-radeon would fix this problem. At this point I can't allocate much more resources to trying out this option though, so let's see if other regressions are reported, and we'll make a judgement call wrt. whether the reported improvements are worth the reported regressions. If someone wants to give a hand by getting such a backport into jessie-backports, I would gladly produce test ISO images that include it, though.

#19 Updated by devnsec over 1 year ago

intrigeri wrote:

I have a computer that has an AMD HD 7770 graphic card, and it worked fine on both 2.2 and 2.3, but has extremely poor 2D graphic performance on the mesa backports version. After a bit of testing and research, I found out that the different is software vs hardware renderer.

Thanks for reporting this regression! I had a look, and my best guess is that Jessie's radeon driver (be it the X.org one or the kernel one) is perhaps not compatible with a newer libgl/libdrm. It might be that backporting a more recent xserver-xorg-video-radeon would fix this problem. At this point I can't allocate much more resources to trying out this option though, so let's see if other regressions are reported, and we'll make a judgement call wrt. whether the reported improvements are worth the reported regressions. If someone wants to give a hand by getting such a backport into jessie-backports, I would gladly produce test ISO images that include it, though.

Well, I don't know how to add a backport for debian, but I will try to install a newer version of xserver-xorg-video-radeon (maybe also including it's dependencies) on the Tails testing ISO file by stacking the squashfs image files, and see if it works.

#20 Updated by intrigeri over 1 year ago

Summary of test results so far:

  • a few non-regressions, including:
    • Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
    • Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    • Intel Corporation Broadwell-U Integrated Graphics (rev 09)
    • NVIDIA Corporation G98M [GeForce G 105M] (rev a1)
  • improvement on AMD Radeon HD 8850M
  • regression on AMD HD 7770
  • regression on nVidia GT 930M
  • a few improvements, on the very hardware this branch is specifically meant to improve things for, so no surprise here

I'm not super confident this rules out the risk of many regressions reported post-release, so I'll ping the call for testing thread. One option might be to merge this for the RC, and have another branch ready with a full revert of this one, just in case, that we can merge for 2.4 final if we get too many regressions reported.

#21 Updated by intrigeri over 1 year ago

  • Assignee changed from intrigeri to anonym
  • QA Check set to Ready for QA

intrigeri wrote:

One option might be to merge this for the RC, and have another branch ready with a full revert of this one, just in case, that we can merge for 2.4 final if we get too many regressions reported.

I say let's try this, even though I'm still not 100% convinced, and will leave the final decision to our dear RM.

And actually, this branch has only one non-merge commit: cc48b2b918a140e5c6e7edbaebf74dc11b0eb085, so it can easily be reverted, and I won't bother preparing a branch with the revert.

#22 Updated by anonym over 1 year ago

I've pushed 4001f07 to the topic branch due to the freezable APT repo stuff being live in devel (otherwise this branch won't build).

#23 Updated by anonym over 1 year ago

  • Status changed from In Progress to Fix committed
  • Assignee deleted (anonym)
  • % Done changed from 20 to 100
  • QA Check changed from Ready for QA to Pass

Let's see how this goes. :)

#24 Updated by anonym over 1 year ago

  • Status changed from Fix committed to Resolved

#25 Updated by elouann over 1 year ago

A regression was reported on a Radeon HD 8870M / R9 M270X:

Bug report: b352ed7eb6e22ed7e92d56dcca8bd1f1 says:

"Get a macbookpro with amd radeon graphics, have a perfectly working usb stick with tails 2.3 installed, upgrade to 2.4 and see that everything is choppy after an upgrade
All GUI is laggy because it is software rendered. It seems like X.org fall backs to vesa driver from the log."

===== output of command /usr/sbin/dmidecode -s system-product-name =====
MacBookPro11,5

===== output of command /usr/bin/lspci =====
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X] (rev 83)

We've got a full report with whisperback, but I'm not able to identify which parts are relevant. Please tell me if I should paste more details (and which one)
Cheers

#26 Updated by anonym over 1 year ago

  • Assignee set to elouann

elouann, this ticket has been closed so please open a new ticket for this issue. Please make this ticket unassigned once you've done that.

#27 Updated by intrigeri about 1 year ago

  • Related to Bug #11850: Only software rendering (no hardware acceleration) on some AMD GPUs since 2.4 added

Also available in: Atom PDF