Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Intel Battlemage CPU issue with hwaccel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fbeth
n00b
n00b


Joined: 28 Feb 2023
Posts: 12

PostPosted: Fri Dec 20, 2024 9:58 pm    Post subject: Intel Battlemage CPU issue with hwaccel Reply with quote

Hi,
I recently got myself a brand new Intel GPU, I understand it's very recent hardware and I'm not expecting the most stable experience on Linux, still I wanted to get one. I updated my kernel and my system for the new GPU and everything seemed to work just fine, but mpv was failing to start, I tried in my terminal and this is the error I got :

Code:
● Video  --vid=1               (vp9 1920x1080 25 fps) [default]
● Audio  --aid=1  --alang=eng  (opus 2ch 48000 Hz) [default]
Bus error


I disabled the hwdec=auto option and the video started playing. I also tried running vainfo and this is the error I got :

Code:
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
Bus error


Anybody has an idea what am I doing wrong ?

Here are some info on my system, feel free to ask for more :
dmesg : https://paste.gentoo.zip/TZBi7DiZ
kernel config : https://paste.gentoo.zip/BZfXBuTh
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5231
Location: Bavaria

PostPosted: Sat Dec 21, 2024 12:53 am    Post subject: Reply with quote

A brand new Intel graphics card in an AMD machine ... what could possibly go wrong ... :lol:

But quite frankly: I have rarely seen such a clean (manual) kernel configuration. The only thing that gives me pause for thought is this:
Code:
[    6.103353] xe 0000:07:00.0: [drm] Can't resize VRAM BAR - platform support is missing. Consider enabling 'Resizable BAR' support in your BIOS

If that doesn't help, then you could still activate this (but I don't think that's the problem):
Code:
# CONFIG_ACPI_FPDT is not set
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
# CONFIG_ACPI_HMAT is not set

XE is still quite new ... and there are patches in every new kernel MINOR version ... :(

Have you tried installing the latest version of “mesa”? If so, then you will probably have to wait for newer kernel versions.


BTW:
You definitely don't need this (only Intel CPUs have/need this):
Code:
CONFIG_INTEL_MEI=y
CONFIG_INTEL_IOMMU=y

And I just don't think so:
Code:
CONFIG_EISA=y

This does not work:
Code:
CONFIG_GENTOO_KERNEL_SELF_PROTECTION=y

The reason why it does not work you could read here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Kernel_Hardening_with_KSPP


Internal note:
Code:
[    0.000000] Linux version 6.12.6-gentoo-pedalo (root@workstation) (gcc (Gentoo 13.3.1_p20240614 p1) 13.3.1 20240614, GNU ld (Gentoo 2.42 p6) 2.42.0) #1 SMP PREEMPT_DYNAMIC Thu Dec 19 22:05:19 CET 2024
[    0.000000] DMI: Gigabyte Technology Co., Ltd. B550 AORUS ELITE V2/B550 AORUS ELITE V2, BIOS FD 06/08/2023
[    0.523553] smpboot: CPU0: AMD Ryzen 7 5800X 8-Core Processor (family: 0x19, model: 0x21, stepping: 0x2)
[    0.662176] iommu: DMA domain TLB invalidation policy: strict mode
[    5.982508] ACPI Warning: SystemIO range 0x0000000000000B00-0x0000000000000B08 conflicts with OpRegion 0x0000000000000B00-0x0000000000000B0F (\GSA1.SMBI) (20240827/utaddress-204)
[    5.982516] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    6.050715] xe 0000:07:00.0: [drm] Found BATTLEMAGE (device ID e20b) display version 14.01 stepping B0

CONFIG_EXPERT=y
CONFIG_X86_X2APIC=y
CONFIG_X86_FRED=y
CONFIG_X86_AMD_PLATFORM_DEVICE=y
CONFIG_MK8=y
CONFIG_PROCESSOR_SELECT=y
# CONFIG_CPU_SUP_INTEL is not set
CONFIG_CPU_SUP_AMD=y
CONFIG_X86_AMD_PSTATE=y
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
CONFIG_PCI_QUIRKS=y
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_I915=m
CONFIG_DRM_XE=m
CONFIG_DRM_XE_DISPLAY=y
CONFIG_AMD_IOMMU=y
CONFIG_IRQ_REMAP=y

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum