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 uhd graphics 630 Running in software mode

Need help with peripherals or devices?
Post Reply
Message
Author
yama_oi
Posts: 3
Joined: 2018-08-29 06:15

Intel uhd graphics 630 Running in software mode

#1 Post by yama_oi »

Hi!
Using Strectch and motherboard with onboard graphics "Intel uhd graphics 630" which is "Running in software mode".
I have updated to 4.17.0-0.bpo.1-amd64.
Put kbl_dmc_ver1_04.bin in /lib/firmware/i915
But graphics still runs in software mode.

dmsg | grep i915 returns "DMC firmware has wrong CCS header length"

How can fixit so graphics wont run in software mode?

Thanx in advance
Moi

yama_oi
Posts: 3
Joined: 2018-08-29 06:15

Re: Intel uhd graphics 630 Running in software mode

#2 Post by yama_oi »

OK. So I have tested following:
1) added backport nonfree and install nonfree firmware.
Result: dmesg | grep i915
[ 2.442663] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2.496345] i915 0000:00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin
[ 2.496607] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 2.720538] [drm] Initialized i915 1.6.0 20180308 for 0000:00:02.0 on minor 0
[ 2.721944] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 2.787239] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

Still running graphics in software mode.

2) added i915.alpha_support=1 to /etc/defaults/grub.
Result: Still running graphics in software mode.

/Moi

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 uhd graphics 630 Running in software mode

#3 Post by Head_on_a_Stick »

Try the firmware from sid, it's been updated recently:

https://cdn-aws.deb.debian.org/debian/p ... -1_all.deb
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Intel uhd graphics 630 Running in software mode

#4 Post by stevepusser »

I have the same Intel GPU--you have new 2018 eighth-generation Coffee Lake hardware, so you also need to upgrade the Mesa libraries from the backports repository. Stretch's 2016 Mesa is too old to support 2018 hardware. If you encounter bugs with the default modesetting driver that you'll then be assigned, any Debian version of the xserver-xorg-video-intel "intel" "i915" driver is still too old and buggy with that hardware, but I'm happy using a newer version of that dating from last month.

So you need the firmware, a kernel, and the Mesa stack from stretch-backports.
MX Linux packager and developer

yama_oi
Posts: 3
Joined: 2018-08-29 06:15

Re: Intel uhd graphics 630 Running in software mode

#5 Post by yama_oi »

Got it to work, did the mesa upgrade! No more software rendering!
Thanks

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Intel uhd graphics 630 Running in software mode

#6 Post by stevepusser »

Did you get va-api video hardware decoding acceleration working with it? I'm under the impression that we need an ffmpeg compiled with the newer libva in backports, then the video players like VLC, mpv, kodi, and qmplay2 need to be rebuilt against the newer mesa and ffmpeg.

When I have it working, I can play a 4K sample h.264 movie trailer, and the CPU never budges from its lowest speed setting.
MX Linux packager and developer

narcisgarcia
Posts: 7
Joined: 2010-10-14 11:02

Re: Intel uhd graphics 630 Running in software mode

#7 Post by narcisgarcia »

I've found this issue on Debian 10 (buster with Gnome) but: It works full 3D rendering for some hours since system boot and, after a while, it turns to software rendering mode automagically.

Code: Select all

$ lspci | grep -ie VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop)

$ sudo lspci -s 00:02.0 -k -nn -vvv
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 630 (Desktop) [8086:3e92] (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. UHD Graphics 630 (Desktop) [1043:8694]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 130
	Region 0: Memory at 4000000000 (64-bit, non-prefetchable) [size=16M]
	Region 2: Memory at 90000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at 3000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00018  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [100 v1] Process Address Space ID (PASID)
		PASIDCap: Exec- Priv-, Max PASID Width: 14
		PASIDCtl: Enable- Exec- Priv-
	Capabilities: [200 v1] Address Translation Service (ATS)
		ATSCap:	Invalidate Queue Depth: 00
		ATSCtl:	Enable-, Smallest Translation Unit: 00
	Capabilities: [300 v1] Page Request Interface (PRI)
		PRICtl: Enable- Reset-
		PRISta: RF- UPRGI- Stopped+
		Page Request Capacity: 00008000, Page Request Allocation: 00000000
	Kernel driver in use: i915
	Kernel modules: i915

Code: Select all

$ aptitude show mesa-va-drivers mesa-vdpau-drivers | grep -ie ^version -ie ^package
Package: mesa-va-drivers
Version: 18.3.6-2
Package: mesa-vdpau-drivers
Version: 18.3.6-2
I've tried all solutions described in this thread (first with Debian 9, now once Debian is upgraded to buster), and now I'm also trying with Linux and all firmware from buster-backports, getting same behaviour.
Current tip when upgrading packages:

Code: Select all

update-initramfs: Generating /boot/initrd.img-5.2.0-0.bpo.3-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915
I haven't found new Mesa to upgrade at this point.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Intel uhd graphics 630 Running in software mode

#8 Post by stevepusser »

Can you install inxi and report what

Code: Select all

inxi -G
in the terminal reports when it's working fine, and then again when it's failing?

Buster's Mesa 18.3.6 supports the eighth-generation UHD 630 quite well, as does its firmware-misc-nonfree. I don't know much about the ninth-generation support, though.
MX Linux packager and developer

narcisgarcia
Posts: 7
Joined: 2010-10-14 11:02

Re: Intel uhd graphics 630 Running in software mode

#9 Post by narcisgarcia »

Code: Select all

(fine)$ inxi -G
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.4 driver: vesa unloaded: fbdev,modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 18.3.6

Code: Select all

(failing)$ inxi -G
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.4 driver: vesa unloaded: fbdev,modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 18.3.6
I've observed now that graphics become progressively more and more slow; not from a time point.

Post Reply