Intel HD 530 - Software Rendering Only

Everything about X, Gnome, KDE, ... and everything running on it

Intel HD 530 - Software Rendering Only

Postby calvinpriest » 2018-02-20 04:36

I just installed Stretch for the first time on a newer desktop with an onboard Intel HD 530 (rev 6) and can't get hardware acceleration to work. It won't load X at all unless I use "nomodeset" (which it then does fine with software rendering).

I've upgraded to the latest kernel and I've tried installing firmware-misc-nonfree.

Here's what seems like the relevant part of the Xorg log file:
[ 15.296] (II) Loading sub module "fb"
[ 15.296] (II) LoadModule: "fb"
[ 15.296] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 15.298] (II) Module fb: vendor="X.Org Foundation"
[ 15.298] compiled for 1.19.2, module version = 1.0.0
[ 15.298] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15.298] (**) FBDEV(0): using shadow framebuffer
[ 15.298] (II) Loading sub module "shadow"
[ 15.298] (II) LoadModule: "shadow"
[ 15.298] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 15.299] (II) Module shadow: vendor="X.Org Foundation"
[ 15.299] compiled for 1.19.2, module version = 1.1.0
[ 15.299] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15.299] (II) UnloadModule: "vesa"
[ 15.299] (II) Unloading vesa
[ 15.299] (==) Depth 24 pixmap format is 32 bpp
[ 15.299] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[ 15.319] (==) FBDEV(0): Backing store enabled
[ 15.320] (==) FBDEV(0): DPMS enabled
[ 15.320] (==) RandR enabled
[ 15.327] (II) SELinux: Disabled on system
[ 15.328] (II) AIGLX: Screen 0 is not DRI2 capable
[ 15.328] (EE) AIGLX: reverting to software rendering
calvinpriest
 
Posts: 6
Joined: 2008-01-27 19:14

Re: Intel HD 530 - Software Rendering Only

Postby bw123 » 2018-02-20 08:37

calvinpriest wrote:
It won't load X at all unless I use "nomodeset" (which it then does fine with software rendering).

I've upgraded to the latest kernel and I've tried installing firmware-misc-nonfree.


Well, how is the performance with it set up this way? I don't know if hardware accel is some magic thing that you have to get working. For the kernel, did you use backports?

If you boot once without "nomodeset" and let it fail, then boot again with "nomodeset" you should have two Xorg logs, one with .old extension. Maybe if you upload both logs at paste.debian.net and share the links on the post here, someone can help you figure it out.

I think the main idea is you can either use intel or modesetting driver and either way might have some tradeoffs.
User avatar
bw123
 
Posts: 3276
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Intel HD 530 - Software Rendering Only

Postby debiman » 2018-02-20 08:50

strange, i also have hd 530:
Code: Select all
lspci -k|grep -iEA5 'video|vga|3d|display'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
    Subsystem: Micro-Star International Co., Ltd. [MSI] HD Graphics 530
    Kernel driver in use: i915
    Kernel modules: i915

and have been using it succesfully with the 4.9 LTS kernel series for a long while now; but, admittedly, on archlinux and not debian.

my Xorg log:
Code: Select all
grep -iEC3 'aiglx|i9' Xorg.0.log
[   218.168]    ABI class: X.Org Video Driver, version 23.0
[   218.168] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   218.169] (II) intel: Driver for Intel(R) HD Graphics
[   218.169] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   218.169] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   218.169] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   218.185] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20171023
[   218.185] (II) intel(0): SNA compiled from 2.99.917-811-g5c7e4e0e
[   218.209] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   218.228] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 530
--
[   218.388] (==) intel(0): DPMS enabled
[   218.388] (==) intel(0): Display hotplug detection enabled
[   218.388] (II) intel(0): [DRI2] Setup complete
[   218.388] (II) intel(0): [DRI2]   DRI driver: i965
[   218.388] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   218.388] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[   218.388] (II) intel(0): hardware support for Present enabled
[   218.388] (--) RandR disabled
[   219.088] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   219.088] (II) AIGLX: enabled GLX_ARB_create_context
[   219.088] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   219.088] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   219.088] (II) AIGLX: enabled GLX_INTEL_swap_event
[   219.088] (II) AIGLX: enabled GLX_SGI_swap_control
[   219.088] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   219.088] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   219.088] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   219.088] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   219.088] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   219.089] (II) AIGLX: Loaded and initialized i965
[   219.089] (II) GLX: Initialized DRI2 GL provider for screen 0
[   219.193] (II) intel(0): switch to mode 1680x1050@60.0 on HDMI2 using pipe 0, position (0, 0), rotation normal, reflection none
[   219.209] (II) intel(0): Setting screen physical size to 444 x 277


i suggest you revert to stretch's standard kernel, don't use nomodeset, and show us the above output (Xorg.0.log might be in a different location).

i also have these intel-related packages installed:
Code: Select all
extra/intel-tbb 2018_20171205-1 [installed]
extra/intel-ucode 20180108-1 [installed]
extra/libva-intel-driver 2.1.0-1 [installed]
extra/mesa 17.3.3-2 [installed]
extra/xf86-video-intel 1:2.99.917+811+g5c7e4e0e-1 (xorg-drivers) [installed]
package names will likely differ on debian, but this should be helpful.
User avatar
debiman
 
Posts: 2809
Joined: 2013-03-12 07:18

Re: Intel HD 530 - Software Rendering Only

Postby calvinpriest » 2018-02-20 13:31

Responding to questions:
- I do have the standard Stretch kernel (4.9.0-5-amd64), have never added backports to apt sources
- Not sure best way to find all intel-related packages installed, but here are some relevant ones I think: i965-va-driver, xserver-xorg-video-intel, libtbb2, iucode-tool, intel_microcode, firmware-misc-nonfree (the last three I installed in the process of troubleshooting this problem)

Here is my Xorg.0.log file (with nomodeset turned on):
paste.debian.net/1011159

And here is my Xorg.0.log.old file (without nomodeset):
paste.debian.net/1011157

Thanks!
calvinpriest
 
Posts: 6
Joined: 2008-01-27 19:14

Re: Intel HD 530 - Software Rendering Only

Postby debiman » 2018-02-20 20:28

calvinpriest wrote:I do have the standard Stretch kernel (4.9.0-5-amd64), have never added backports to apt sources
ok, i misunderstood the meaning of "updating the kernel".

Not sure best way to find all intel-related packages installed
really, after 10 years? not good enough.

And here is my Xorg.0.log.old file (without nomodeset):
paste.debian.net/1011157

that looks ok.
what does the system do there?
User avatar
debiman
 
Posts: 2809
Joined: 2013-03-12 07:18

Re: Intel HD 530 - Software Rendering Only

Postby stevepusser » 2018-02-20 21:16

What do you actually get with

Code: Select all
apt policy firmware-linux-nonfree
and

Code: Select all
dmesg | grep -i firmware


Debian will default to the kernel's modesetting driver for your hardware instead of the "intel" driver, which would be i915. Install inxi and run

Code: Select all
inxi -G
so we can get a quick idea of your current situation.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.1.0, wine-staging 3.16, qBittorrent 4.1.3, Linux kernel 4.18.8, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9913
Joined: 2009-10-06 05:53

Re: Intel HD 530 - Software Rendering Only

Postby Head_on_a_Stick » 2018-02-20 21:25

stevepusser wrote:Debian will default to the kernel's modesetting driver for your hardware instead of the "intel" driver, which would be i915

i915 is the kernel driver whereas modesetting is a DDX driver, the i915 kernel module is still loaded if modesetting is in use.
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable