Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Intel HD 530 - Software Rendering Only

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
calvinpriest
Posts: 6
Joined: 2008-01-27 19:14

Intel HD 530 - Software Rendering Only

#1 Post by calvinpriest »

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

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Intel HD 530 - Software Rendering Only

#2 Post by bw123 »

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.
resigned by AI ChatGPT

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Intel HD 530 - Software Rendering Only

#3 Post by debiman »

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.

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

Re: Intel HD 530 - Software Rendering Only

#4 Post by calvinpriest »

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!

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Intel HD 530 - Software Rendering Only

#5 Post by debiman »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Intel HD 530 - Software Rendering Only

#6 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Intel HD 530 - Software Rendering Only

#7 Post by Head_on_a_Stick »

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.
deadbang

Post Reply