Intel uhd graphics 630 Running in software mode

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Intel uhd graphics 630 Running in software mode

Postby yama_oi » 2018-08-29 06:36

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

Postby yama_oi » 2018-08-29 11:06

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
yama_oi
 
Posts: 3
Joined: 2018-08-29 06:15

Re: Intel uhd graphics 630 Running in software mode

Postby Head_on_a_Stick » 2018-08-29 18:50

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

https://cdn-aws.deb.debian.org/debian/p ... -1_all.deb
User avatar
Head_on_a_Stick
 
Posts: 10502
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Intel uhd graphics 630 Running in software mode

Postby stevepusser » 2018-08-29 23:42

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11160
Joined: 2009-10-06 05:53

Re: Intel uhd graphics 630 Running in software mode

Postby yama_oi » 2018-08-30 11:30

Got it to work, did the mesa upgrade! No more software rendering!
Thanks
yama_oi
 
Posts: 3
Joined: 2018-08-29 06:15

Re: Intel uhd graphics 630 Running in software mode

Postby stevepusser » 2018-08-30 17:09

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11160
Joined: 2009-10-06 05:53

Re: Intel uhd graphics 630 Running in software mode

Postby narcisgarcia » 2019-10-17 08:28

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.
narcisgarcia
 
Posts: 6
Joined: 2010-10-14 11:02

Re: Intel uhd graphics 630 Running in software mode

Postby stevepusser » 2019-10-18 17:37

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11160
Joined: 2009-10-06 05:53


Return to Hardware

Who is online

Users browsing this forum: stevepusser and 6 guests

fashionable