Package Details: linux-drm-tip-headers-git 6.13.r1324853.5d7b353aa4c1-1

Git Clone URL: https://aur.archlinux.org/linux-drm-tip-git.git (read-only, click to copy)
Package Base: linux-drm-tip-git
Description: Headers and scripts for building modules for the Linux kernel with bleeding-edge GPU drivers kernel
Upstream URL: https://gitlab.freedesktop.org/drm/tip
Keywords: amdgpu drm git intel iris kernel linux
Licenses: GPL-2.0-only
Submitter: cdown
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 6
Popularity: 0.000008
First Submitted: 2017-03-08 14:47 (UTC)
Last Updated: 2024-12-19 12:37 (UTC)

Required by (0)

Sources (2)

Pinned Comments

yurikoles commented on 2019-06-07 08:08 (UTC) (edited on 2019-06-07 08:09 (UTC) by yurikoles)

PRs are welcome: https://github.com/yurikoles-aur/linux-drm-tip-git

Latest Comments

1 2 3 4 Next › Last »

xiota commented on 2023-09-20 13:41 (UTC) (edited on 2023-11-24 21:13 (UTC) by xiota)

Please remove replaces directive, in accordance with AUR submission guidelines.

xrallenx commented on 2023-09-18 16:32 (UTC) (edited on 2023-09-18 19:25 (UTC) by xrallenx)

Seems to not work with newer kernel sources. Neither with yay nor paru. Same error every time on a system that previously compiled. Is it correct that the version numbers do not match ?

  ZSTD    /home/janb14/.cache/paru/clone/linux-drm-tip-git/pkg/linux-drm-tip-git/usr/lib/modules/6.6.0-rc2-1-drm-tip-git-gadd12fa303de/kernel/net/qrtr/qrtr-tun.ko.zst
  ZSTD    /home/janb14/.cache/paru/clone/linux-drm-tip-git/pkg/linux-drm-tip-git/usr/lib/modules/6.6.0-rc2-1-drm-tip-git-gadd12fa303de/kernel/virt/lib/irqbypass.ko.zst
  ZSTD    /home/janb14/.cache/paru/clone/linux-drm-tip-git/pkg/linux-drm-tip-git/usr/lib/modules/6.6.0-rc2-1-drm-tip-git-gadd12fa303de/kernel/net/qrtr/qrtr-mhi.ko.zst
  DEPMOD  /home/janb14/.cache/paru/clone/linux-drm-tip-git/pkg/linux-drm-tip-git/usr/lib/modules/6.6.0-rc2-1-drm-tip-git-gadd12fa303de
Warning: 'make modules_install' requires /doesnt/exist. Please install it.
This is probably in the kmod package.
rm: cannot remove '/home/janb14/.cache/paru/clone/linux-drm-tip-git/pkg/linux-drm-tip-git/usr/lib/modules/6.6.0-rc2-1-drm-tip-git-gadd12fa303de/source': No such file or directory
==> ERROR: A failure occurred in package_linux-drm-tip-git().
    Aborting...
error: failed to build 'linux-drm-tip-git-6.5.r1202741.7a825a06c6ee6-1':
error: packages failed to build: linux-drm-tip-git-6.5.r1202741.7a825a06c6ee6-1

carbolymer commented on 2023-08-19 10:23 (UTC)

Seems to be not building for me:

  CC [M]  drivers/iio/light/vcnl4000.o
  CC [M]  drivers/iio/light/vcnl4035.o
  CC [M]  drivers/iio/light/veml6030.o
  CC [M]  drivers/iio/light/veml6070.o
  CC [M]  drivers/iio/light/vl6180.o
  CC [M]  drivers/iio/light/zopt2201.o
  LD [M]  drivers/infiniband/hw/hfi1/hfi1.o
  AR      built-in.a
make: *** [Makefile:234: __sub-make] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: linux-drm-tip-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
linux-drm-tip-git - exit status 4

yurikoles commented on 2023-03-24 10:44 (UTC)

Joel, behrad,

Thank you for the report, and sorry for not so welcome self-service. The fix for prepare() was straight-forward, but I didn't want to push update until I figured out how to fix a BTF-related error during linkage of kernel. I decided that a faster fail is better than one in the middle of the build.

joelishness commented on 2023-03-17 19:39 (UTC) (edited on 2023-03-17 20:41 (UTC) by joelishness)

prepare() error is because upstream removed --save-scmversion option

https://cgit.freedesktop.org/drm/drm-tip/commit/scripts/setlocalversion?id=f6e09b07cc12a4d104bb19fe7566b0636f60c413

Actually, maybe there are more commits involved

https://cgit.freedesktop.org/drm/drm-tip/commit/?id=f6e09b07cc12

behrad commented on 2023-03-16 07:05 (UTC)

Hi, thank you for maintaining this package, but I get this error:

==> Making package: linux-drm-tip-git 6.2.r1157488.648a70b879da-1 (Thu 16 Mar 2023 10:33:24 AM +0330)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating linux-drm-tip-git git repo...
  -> Found config
==> Validating source files with sha256sums...
    linux-drm-tip-git ... Skipped
    config ... Passed
==> Extracting sources...
  -> Creating working copy of linux-drm-tip-git git repo...
Reset branch 'makepkg'
==> Starting prepare()...
Setting version...
Usage: scripts/setlocalversion [srctree]
==> ERROR: A failure occurred in prepare().
    Aborting...

rayzorben commented on 2022-07-30 23:29 (UTC)

It's 2022 so I didn't think the previous issue in 2020 would still be around, although it seems related. Build fails for me, and the closest error output is this. Any idea what to do to get past this?

drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:806:20: error: passing argument 1 of ‘mutex_lock’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  806 |         mutex_lock(&mgr->lock);
      |                    ^~~~~~~~~~
      |                    |
      |                    spinlock_t * {aka struct spinlock *}
./include/linux/mutex.h:199:38: note: expected ‘struct mutex *’ but argument is of type ‘spinlock_t *’ {aka ‘struct spinlock *’}
  199 | extern void mutex_lock(struct mutex *lock);
      |                        ~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:814:9: error: implicit declaration of function ‘drm_buddy_fini’ [-Werror=implicit-function-declaration]
  814 |         drm_buddy_fini(&mgr->mm);
      |         ^~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:815:22: error: passing argument 1 of ‘mutex_unlock’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  815 |         mutex_unlock(&mgr->lock);
      |                      ^~~~~~~~~~
      |                      |
      |                      spinlock_t * {aka struct spinlock *}
./include/linux/mutex.h:218:40: note: expected ‘struct mutex *’ but argument is of type ‘spinlock_t *’ {aka ‘struct spinlock *’}
  218 | extern void mutex_unlock(struct mutex *lock);
      |                          ~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c: In function ‘amdgpu_vram_mgr_first_block’:
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:57:1: error: control reaches end of non-void function [-Werror=return-type]
   57 | }
      | ^
cc1: some warnings being treated as errors