H3+ GPU Driver Debian 11 (bullseye)

Post Reply
hyp
Posts: 21
Joined: Wed Nov 09, 2022 12:38 am
languages_spoken: english,german
ODROIDs: N2+,M1,C4,H3+
Has thanked: 7 times
Been thanked: 2 times
Contact:

H3+ GPU Driver Debian 11 (bullseye)

Post by hyp »

Hi there,
I purchased a h3+ for nas usage and emby as media server with debian as system (debian because very stable and on long run better for upgrading to newer version). The UHD GPU isnt recognazied by system automaticaly.
Can someone provide me a link/howto for intalling the driver or do i have to wait for debian 12 with newer kernel version?

Thanks for helping!

User avatar
mad_ady
Posts: 11590
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 649 times
Been thanked: 1154 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by mad_ady »

Are you using x11 or wayland? What do you mean by the gpu isn't recognized?

Show us lsmod output as well.

hyp
Posts: 21
Joined: Wed Nov 09, 2022 12:38 am
languages_spoken: english,german
ODROIDs: N2+,M1,C4,H3+
Has thanked: 7 times
Been thanked: 2 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by hyp »

Server is headless, want to transcode with gpu. Allready installed xserver-xorg-video-intel package

echo $XDG_SESSION_TYPE

Code: Select all

tty
no xserver or wayland?!

lsmod

Code: Select all

Module                  Size  Used by
nf_tables             253952  0
nfnetlink              20480  1 nf_tables
tcp_diag               16384  0
udp_diag               16384  0
inet_diag              24576  2 tcp_diag,udp_diag
binfmt_misc            24576  1
battery                24576  0
snd_hda_codec_hdmi     73728  0
snd_hda_codec_realtek   163840  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
tun                    61440  2
rfkill                 32768  1
sd_mod                 61440  12
sg                     36864  0
snd_sof_pci            24576  0
snd_sof_intel_byt      24576  1 snd_sof_pci
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
snd_sof_intel_hda_common   102400  1 snd_sof_pci
ftdi_sio               65536  1
uas                    32768  7
usb_storage            81920  1 uas
snd_sof_xtensa_dsp     16384  2 snd_sof_intel_hda_common,snd_sof_intel_byt
cdc_acm                45056  2
usbserial              61440  3 ftdi_sio
snd_sof               139264  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_int                                                                                                                                                             el_byt,snd_sof_intel_ipc
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_so                                                                                                                                                             f_intel_hda
snd_soc_acpi_intel_match    45056  2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_commo                                                                                                                                                             n,snd_sof_intel_byt
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_sof
snd_hda_intel          57344  0
snd_intel_dspcfg       28672  3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_comm                                                                                                                                                             on
soundwire_intel        45056  2 snd_sof_intel_hda_common,snd_intel_dspcfg
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
soundwire_generic_allocation    16384  1 soundwire_intel
snd_soc_core          319488  4 soundwire_intel,snd_sof,snd_sof_intel_hda_common                                                                                                                                                             ,snd_soc_hdac_hda
mei_hdcp               24576  0
kvm_intel             331776  0
intel_rapl_msr         20480  0
evdev                  28672  3
snd_compress           32768  1 snd_soc_core
soundwire_cadence      36864  1 soundwire_intel
kvm                   937984  1 kvm_intel
snd_hda_codec         176128  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda                                                                                                                                                             _intel,snd_hda_codec_realtek,snd_soc_hdac_hda
irqbypass              16384  1 kvm
snd_hda_core          110592  9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda                                                                                                                                                             _intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_co                                                                                                                                                             mmon,snd_soc_hdac_hda,snd_sof_intel_hda
ghash_clmulni_intel    16384  0
snd_hwdep              16384  1 snd_hda_codec
soundwire_bus          94208  3 soundwire_intel,soundwire_generic_allocation,sou                                                                                                                                                             ndwire_cadence
aesni_intel           372736  0
nls_ascii              16384  1
nls_cp437              20480  1
libaes                 16384  1 aesni_intel
crypto_simd            16384  1 aesni_intel
snd_pcm               143360  9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,s                                                                                                                                                             oundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_hd                                                                                                                                                             a_core
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
i915                 2772992  0
intel_cstate           20480  0
iTCO_wdt               16384  0
snd_timer              49152  1 snd_pcm
intel_pmc_bxt          16384  1 iTCO_wdt
vfat                   20480  1
iTCO_vendor_support    16384  1 iTCO_wdt
efi_pstore             16384  0
snd                   110592  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hw                                                                                                                                                             dep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd                                                                                                                                                             _soc_core,snd_pcm
pcspkr                 16384  0
wmi_bmof               16384  0
fat                    86016  1 vfat
watchdog               32768  1 iTCO_wdt
drm_kms_helper        278528  1 i915
ee1004                 20480  0
soundcore              16384  1 snd
processor_thermal_device    28672  0
mei_me                 45056  1
cec                    61440  2 drm_kms_helper,i915
intel_rapl_common      28672  2 intel_rapl_msr,processor_thermal_device
int340x_thermal_zone    16384  1 processor_thermal_device
mei                   139264  3 mei_hdcp,mei_me
i2c_algo_bit           16384  1 i915
intel_soc_dts_iosf     20480  1 processor_thermal_device
tpm_crb                20480  0
tpm_tis                16384  0
tpm_tis_core           28672  1 tpm_tis
tpm                    73728  3 tpm_tis,tpm_crb,tpm_tis_core
rng_core               16384  1 tpm
intel_pmc_core         45056  0
acpi_pad              184320  0
button                 24576  0
acpi_tad               20480  0
drm                   626688  2 drm_kms_helper,i915
fuse                  167936  1
sunrpc                675840  1
configfs               57344  1
efivarfs               16384  1
ip_tables              36864  0
x_tables               53248  1 ip_tables
autofs4                53248  2
ext4                  937984  8
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
btrfs                1589248  0
blake2b_generic        20480  0
xor                    24576  1 btrfs
raid6_pq              122880  1 btrfs
libcrc32c              16384  2 btrfs,nf_tables
crc32c_generic         16384  0
xhci_pci               20480  0
nvme                   49152  2
xhci_hcd              311296  1 xhci_pci
nvme_core             131072  4 nvme
ahci                   40960  0
libahci                45056  1 ahci
t10_pi                 16384  2 sd_mod,nvme_core
crc_t10dif             20480  1 t10_pi
crct10dif_generic      16384  0
crc32_pclmul           16384  0
libata                294912  2 libahci,ahci
usbcore               331776  7 ftdi_sio,usbserial,xhci_hcd,cdc_acm,usb_storage,                                                                                                                                                             xhci_pci,uas
sdhci_pci              73728  0
r8169                 102400  0
crc32c_intel           24576  14
i2c_i801               32768  0
crct10dif_pclmul       16384  1
cqhci                  32768  1 sdhci_pci
scsi_mod              270336  5 sd_mod,usb_storage,uas,libata,sg
sdhci                  81920  1 sdhci_pci
realtek                24576  2
mdio_devres            16384  1 r8169
libphy                155648  3 r8169,mdio_devres,realtek
intel_lpss_pci         24576  0
intel_lpss             16384  1 intel_lpss_pci
mmc_core              192512  3 sdhci,cqhci,sdhci_pci
i2c_smbus              20480  1 i2c_i801
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
usb_common             16384  2 xhci_hcd,usbcore
idma64                 20480  0
wmi                    36864  1 wmi_bmof
video                  57344  1 i915
Edit:
sudo cat /var/log/syslog | grep i915

Code: Select all

 
Nov  5 13:19:32 homeserver kernel: [    3.538591] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  5 13:19:32 homeserver kernel: [    3.538591] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  5 13:20:33 homeserver kernel: [   64.378558] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  5 13:37:58 nextcloudpi kernel: [    3.868745] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  5 13:37:58 nextcloudpi kernel: [    3.868745] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  5 13:38:59 nextcloudpi kernel: [   64.508028] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  5 13:47:25 nextcloudpi kernel: [    3.407242] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  5 13:47:25 nextcloudpi kernel: [    3.407242] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  5 13:48:26 nextcloudpi kernel: [   64.719165] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  5 15:36:20 nextcloudpi kernel: [    3.350552] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  5 15:36:20 nextcloudpi kernel: [    3.350552] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  5 15:37:21 nextcloudpi kernel: [   64.605992] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  5 17:05:25 nextcloudpi kernel: [    5.892125] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  5 17:05:25 nextcloudpi kernel: [    5.892125] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  5 17:06:26 nextcloudpi kernel: [   66.651669] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  5 17:31:57 nextcloudpi kernel: [    5.702141] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  5 17:31:57 nextcloudpi kernel: [    5.702141] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  5 17:32:58 nextcloudpi kernel: [   66.659935] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  6 15:58:44 nextcloudpi kernel: [    5.862048] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  6 15:58:44 nextcloudpi kernel: [    5.862048] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  6 15:59:45 nextcloudpi kernel: [   66.652437] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  6 21:47:42 nextcloudpi kernel: [    5.629022] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  6 21:47:42 nextcloudpi kernel: [    5.629022] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  6 21:48:43 nextcloudpi kernel: [   66.652736] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Nov  6 21:59:24 nextcloudpi kernel: [    3.518955] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Nov  6 21:59:24 nextcloudpi kernel: [    3.518955] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Nov  6 22:00:25 nextcloudpi kernel: [   64.603955] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec

User avatar
mad_ady
Posts: 11590
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 649 times
Been thanked: 1154 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by mad_ady »

According to this, for N6005 you may need a kernel higher than 5.15 to use hardware encoding: https://jellyfin.org/docs/general/admin ... eleration/
These users thanked the author mad_ady for the post:
hyp (Wed Nov 09, 2022 5:06 am)

hyp
Posts: 21
Joined: Wed Nov 09, 2022 12:38 am
languages_spoken: english,german
ODROIDs: N2+,M1,C4,H3+
Has thanked: 7 times
Been thanked: 2 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by hyp »

mad_ady wrote:
Wed Nov 09, 2022 4:54 am
According to this, for N6005 you may need a kernel higher than 5.15 to use hardware encoding: https://jellyfin.org/docs/general/admin ... eleration/
Ok, then I have to wait until Debian 12 or use a backport kernel. Anyway thanks for your help!

fvolk
Posts: 866
Joined: Sun Jun 05, 2016 11:04 pm
languages_spoken: english
ODROIDs: C4, H3
Has thanked: 0
Been thanked: 133 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by fvolk »

just checked, Debian 11 has currently kernel
Linux 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux

A modern kernel detects the H3 something like:

Code: Select all

$ lspci -nn |grep UHD
00:02.0 VGA compatible controller [0300]: Intel Corporation JasperLake [UHD Graphics] [8086:4e71] (rev 01)
$ dmesg |grep i915
[   12.138950] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   12.138993] i915 0000:00:02.0: vgaarb: deactivate vga console
[   12.139053] i915 0000:00:02.0: [drm] Transparent Hugepage support is recommended for optimal performance when IOMMU is enabled!
[   12.141237] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   12.142081] mei_hdcp 0000:00:16.0-.........: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[   12.303773] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   12.306465] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   12.306791] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   12.321277] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)

DHGE
Posts: 16
Joined: Fri Aug 25, 2017 2:23 am
languages_spoken: english german
ODROIDs: XU-4, hc1
Has thanked: 19 times
Been thanked: 1 time
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by DHGE »

hyp wrote:
Wed Nov 09, 2022 5:07 am
Ok, then I have to wait until Debian 12 or use a backport kernel.
In these cases I compiled my own kernel.

Might be a stress test for the CPU as well :x
Bookworm will get a useful temperature after January 2023.

brad
Posts: 1618
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ M1 (64 bit ftw)
Location: Australia
Has thanked: 186 times
Been thanked: 256 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by brad »

hyp wrote:
Wed Nov 09, 2022 2:44 am
Server is headless, want to transcode with gpu. Allready installed xserver-xorg-video-intel package\
Recently looked into Intel hardware video codecs on my H2 running Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-52-generic x86_64)

To see if debian will support hardware video decoding maybe this will help

1)

Code: Select all

$ sudo apt-get install vainfo intel-media-va-driver ffmpeg
2) If you want to test non free codecs install this as well

Code: Select all

$ sudo apt-get install intel-media-va-driver-non-free 
3) By default a standard user does not have access to video resources so it needs to be added (your user to both video & render groups) eg:

Code: Select all

$ sudo usermod -aG video brad
$ sudo usermod -aG render brad
NOTE: Ensure you restart you ssh session to pick up groups

4) Check supported VA-API video profiles

Code: Select all

$ vainfo
4) Download a test video

Code: Select all

$ wget http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
5) Test using defaults (confirm if vappi is used - in my case on H2 no)

Code: Select all

$ ffmpeg -v verbose -threads 1 -i BigBuckBunny.mp4 -f null - -benchmark
6) Retest with vaapi hardware option enabled

Code: Select all

$ ffmpeg -v verbose -hwaccel vaapi -threads 1 -i BigBuckBunny.mp4 -f null - -benchmark

hyp
Posts: 21
Joined: Wed Nov 09, 2022 12:38 am
languages_spoken: english,german
ODROIDs: N2+,M1,C4,H3+
Has thanked: 7 times
Been thanked: 2 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by hyp »

Thanks for your howto. Sadly didnt work. Think debian 11 is to old for proper support. Will wait until soft or hard freeze and upgrade to bookworm. It looks like the new kernel version will be 6+

User avatar
mad_ady
Posts: 11590
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 649 times
Been thanked: 1154 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by mad_ady »

Thanks brad! I've tried your instructions and on H3+ (with ubuntu 22.04) I get about 154 fps with software encoding (for a 720p video), with one cpu core loaded at 100%. With hardware encoder I get 194 fps with low cpu usage. But my system isn't idle at the moment (I'm in a teams meeting that uses about 30% cpu), so my numbers may be irrelevant.

I wonder if the browser (and various electron apps) use the hardware decoder...

brad
Posts: 1618
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ M1 (64 bit ftw)
Location: Australia
Has thanked: 186 times
Been thanked: 256 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by brad »

mad_ady wrote:
Fri Nov 25, 2022 5:26 pm
Thanks brad! I've tried your instructions and on H3+ (with ubuntu 22.04) I get about 154 fps with software encoding (for a 720p video), with one cpu core loaded at 100%. With hardware encoder I get 194 fps with low cpu usage. But my system isn't idle at the moment (I'm in a teams meeting that uses about 30% cpu), so my numbers may be irrelevant.

I wonder if the browser (and various electron apps) use the hardware decoder...
Interesting, I haven't tested with a screen on the H2+. I'm using it for zoneminder (https://zoneminder.com/) in headless setup with 2 camera's (2k network & 960p usb).

a load of 1.4 for capturing both camera's and analyzing the stream for motion detection. If I stream the 2k via a browser in full resolution adds a load of 1 to so total of 2.4 load.

I need to buy myself a H3 :)

I will test out chrome / chromium and firefox acceleration this weekend if I can :)

User avatar
meveric
Posts: 12102
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 89 times
Been thanked: 667 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by meveric »

Debian always has something called "backports" you simply have to activate the repository:

Code: Select all

cat /etc/apt/sources.list| grep backports
deb http://ftp.debian.org/debian/ bullseye-backports main contrib non-free
There you will currently find Kernel 6.0.3 which you can easily install (and keep up to date with)

Code: Select all

apt install -t bullseye-backport linux-image-amd64 linux-headers-amd64
I'm using this on my work laptop and other devices as well:

Code: Select all

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
$ uname -a
Linux ... 6.0.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.3-1~bpo11+1 (2022-10-29) x86_64 GNU/Linux
The backports repository offers updates drivers, and applications normally not available.
These users thanked the author meveric for the post:
magnum_pi (Mon Dec 05, 2022 7:34 am)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

xnd
Posts: 59
Joined: Sun Dec 04, 2022 7:48 pm
languages_spoken: english, czech
ODROIDs: H3
Location: Slovakia
Has thanked: 19 times
Been thanked: 16 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by xnd »

I have H3 (BIOS 1.11).
I tried Debian 12 (Bookworm), without desktop environment with kernel 6.1.0:
[ 0.000000] Linux version 6.1.0-9-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08)

Everything seems working until I unplug HDMI cable when it immediately freezes and whole device is unable to reboot (power and reset button doesn't work), also all LEDs are off.
When I boot with HDMI cable unplugged, few seconds after system boots, it freezes and I need to unplug power.

This is in dmesg: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
- maybe it's relevant.

Code: Select all

~$ sudo dmesg  | grep "i915"
[    2.958094] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    2.958407] i915 0000:00:02.0: vgaarb: deactivate vga console
[    2.958520] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    2.959590] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.960444] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    2.965602] i915 0000:00:02.0: firmware: direct-loading firmware i915/icl_dmc_ver1_09.bin
[    2.966124] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[    3.150685] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    3.153284] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.153567] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    3.167105] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    3.680118] fbcon: i915drmfb (fb0) is primary device
[    3.720339] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
my whole dmesg log: https://pastebin.com/EGvPHAwg

My HW configuration:
- m.2 SSD Samsung 980 Pro 1TB
- 16 GB + 32 GB RAM (Crucial 3200 Mhz (PC4-25600), CL22, CT32G4SFD832A)


I had the same issue some time ago (viewtopic.php?p=363327&hilit=[drm]+Cann ... 50#p363327) when I was on Debian 11 with kernel 5.19.0-0.deb11.2-amd64 and then I changed m.2 SSD to SATA SSD and kernel to newer: 6.0.0-0.deb11.6-amd64 and this problem was gone.
Last edited by xnd on Thu Jun 01, 2023 3:33 pm, edited 1 time in total.
proud owner of Odroid H3 💚 ( + 48 GB RAM: 16GB+32GB Crucial CT32G4SFD832A & Samsung SSD 980 PRO 1TB M.2; OS: DietPi - Debian 12; idle power consumption: ~ 1.1—2W ⚡️)

User avatar
odroid
Site Admin
Posts: 41543
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3321 times
Been thanked: 1837 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by odroid »

I can't reproduce the issue while I've daily used Ubuntu 22.04 stock kernel 5.15 and 5.19 only.

BTW, how did you make HDMI disabled?
xnd wrote:
Thu Jun 01, 2023 2:52 pm
When I boot with HDMI disabled, few seconds after system boots, it freezes and I need to unplug power.

xnd
Posts: 59
Joined: Sun Dec 04, 2022 7:48 pm
languages_spoken: english, czech
ODROIDs: H3
Location: Slovakia
Has thanked: 19 times
Been thanked: 16 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by xnd »

Sorry, I said it wrong. Not HDMI disabled, but I mean HDMI cable unplugged. 🤦🏼‍♂️ Sorry for that, here it's morning and I had no caffee yet.
These users thanked the author xnd for the post:
odroid (Thu Jun 01, 2023 6:21 pm)
proud owner of Odroid H3 💚 ( + 48 GB RAM: 16GB+32GB Crucial CT32G4SFD832A & Samsung SSD 980 PRO 1TB M.2; OS: DietPi - Debian 12; idle power consumption: ~ 1.1—2W ⚡️)

fvolk
Posts: 866
Joined: Sun Jun 05, 2016 11:04 pm
languages_spoken: english
ODROIDs: C4, H3
Has thanked: 0
Been thanked: 133 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by fvolk »

xnd wrote:
Thu Jun 01, 2023 2:52 pm
When I boot with HDMI cable unplugged, few seconds after system boots, it freezes and I need to unplug power.
I boot my H3 NAS with kernel parameter
i915.modeset=0
which I think disables the graphics subsystem, which is not needed for a headless server.

Worth a try and see what happens?
These users thanked the author fvolk for the post (total 2):
odroid (Fri Jun 02, 2023 9:04 am) • xnd (Sat Jun 03, 2023 3:42 am)

fvolk
Posts: 866
Joined: Sun Jun 05, 2016 11:04 pm
languages_spoken: english
ODROIDs: C4, H3
Has thanked: 0
Been thanked: 133 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by fvolk »

fvolk wrote:
Fri Jun 02, 2023 3:57 am
i915.modeset=0
which I think disables the graphics subsystem, which is not needed for a headless server.
Correction: it disables modesetting on Intel (i915), meaning whatever BIOS initialized video (low resolution to surely get video output up), kernel does not reprogram it (to e.g. native max resolution found on connected video connections, which may lead to very tiny fonts on pure text console).
See https://wiki.archlinux.org/title/Kernel_mode_setting

xnd
Posts: 59
Joined: Sun Dec 04, 2022 7:48 pm
languages_spoken: english, czech
ODROIDs: H3
Location: Slovakia
Has thanked: 19 times
Been thanked: 16 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by xnd »

Thank you @fvolk, I've added i915.modeset=0 into GRUB_CMDLINE_LINUX using: sudo nano /etc/default/grub (Now, I have there: GRUB_CMDLINE_LINUX="net.ifnames=0 i915.modeset=0" and then sudo update-grub and reboot. It helped.
Now my H3 is working without freezes after unplugging HDMI or booting headless with HDMI clable unplugged.
proud owner of Odroid H3 💚 ( + 48 GB RAM: 16GB+32GB Crucial CT32G4SFD832A & Samsung SSD 980 PRO 1TB M.2; OS: DietPi - Debian 12; idle power consumption: ~ 1.1—2W ⚡️)

fvolk
Posts: 866
Joined: Sun Jun 05, 2016 11:04 pm
languages_spoken: english
ODROIDs: C4, H3
Has thanked: 0
Been thanked: 133 times
Contact:

Re: H3+ GPU Driver Debian 11 (bullseye)

Post by fvolk »

xnd wrote:
Sat Jun 03, 2023 4:09 am
It helped.
Now my H3 is working without freezes after unplugging HDMI or booting headless with HDMI clable unplugged.
Great! - but it was just a guess :-)

I've used this option for some time, if I remember I added it somewhere in the BIOS 80x25 textconsole->UEFI high-res graphics console transition time, which lead to very small text with UEFI. I disabled modesetting for always readable console text and never thought about it anymore, and this is still in my config :-)
These users thanked the author fvolk for the post:
odroid (Mon Jun 05, 2023 10:11 am)

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest