[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1070815: libdrm-intel1 should be compiled for arm64



Package: libdrm-intel1
Version: 2.4.120-2
Severity: wishlist
Tags: patch
X-Debbugs-Cc: civil.over@gmail.com

Dear Maintainer,

   * What led up to the situation?

     I recently got an Ampere Altra board and I've decided to try getting
     Intel Arc 750 working on it. While that requires vendor-specific kernel
     patches (Workaround for Altra's PCIe Errata) and recent kernel
     (6.9.0-rc6 with drm-next/xe), I managed to get it working.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

     One of the obstacles I had, was that libdrm-intel1 is not compiled on
     arm64 systems in debian (testing or unstable or experimental). Upstream
     actually have nothing that prevents you from compiling it and only
     requires to add arm64 in control for libdrm-intel1.

   * What was the outcome of this action?

     I've actually managed to build libdrm-intel1 on aarch64.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 6.9.0-rc6+ (SMP w/64 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libdrm-intel1 depends on:
ii  libc6          2.38-7
ii  libdrm2        2.4.120-3
ii  libpciaccess0  0.17-3+b1

libdrm-intel1 recommends no packages.

libdrm-intel1 suggests no packages.

-- no debconf information

-- patch that I've applied to make it build:
--- libdrm-2.4.120.old/debian/control	2024-02-08 08:49:20.000000000 +0100
+++ libdrm-2.4.120/debian/control	2024-05-09 10:30:48.688180370 +0200
@@ -24,7 +24,7 @@
 Architecture: linux-any hurd-any
 Depends:
  libdrm2 (= ${binary:Version}),
- libdrm-intel1 (= ${binary:Version}) [amd64 i386 hurd-i386 x32],
+ libdrm-intel1 (= ${binary:Version}) [arm64 amd64 i386 hurd-i386 x32],
  libdrm-radeon1 (= ${binary:Version}),
  libdrm-nouveau2 (= ${binary:Version}) [linux-any],
  libdrm-amdgpu1 (= ${binary:Version}),
@@ -104,7 +104,7 @@
  This is a udeb, or a microdeb, for the debian-installer.

 Package: libdrm-intel1
-Architecture: amd64 i386 hurd-i386 x32
+Architecture: arm64 amd64 i386 hurd-i386 x32
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},


Reply to: