Package Details: linux-drm-tip-headers-git 5.14.r1029802.5e0ea887acd4-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: The Linux kernel with bleeding-edge GPU drivers kernel and modules
Upstream URL: https://cgit.freedesktop.org/drm-tip
Keywords: amdgpu drm git intel iris kernel linux
Licenses: GPL2
Submitter: cdown
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 4
Popularity: 0.000000
First Submitted: 2017-03-08 14:47 (UTC)
Last Updated: 2021-07-15 16:38 (UTC)

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

jghodd commented on 2020-05-30 19:42 (UTC) (edited on 2020-05-30 20:24 (UTC) by jghodd)

@yurikoles the issue is still there. reported at the link you provided - issue 1156 - https://gitlab.freedesktop.org/drm/amd/-/issues/1156

Edit: here's a patch to fix it.

001-amdkfd-drm_gem_object_put_unlocked.patch

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  2020-05-30 10:34:11.738183991 -0400
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  2020-05-30 16:01:12.296946979 -0400
@@ -1354,7 +1354,7 @@
        }

        /* Free the BO*/
-       drm_gem_object_put_unlocked(&mem->bo->tbo.base);
+       drm_gem_object_put(&mem->bo->tbo.base);
        mutex_destroy(&mem->lock);
        kfree(mem);

jghodd commented on 2020-05-30 14:31 (UTC) (edited on 2020-05-30 14:36 (UTC) by jghodd)

@yurikoles thanks for the link. i worked around the issue by commenting out the AMDGPU option in the config file since what i really needed were the Intel modules anyway. i noticed that torvalds signed off on 5.7-rc7 a few days ago, so i presume that the build error has been fixed. i'll be doing a new build today with AMDGPU restored to config, so i guess i'll see if the problem is gone. cheers.

yurikoles commented on 2020-05-24 20:09 (UTC)

@jghodd sorry for outdated info. The new bug tracker is here: https://gitlab.freedesktop.org/drm/amd

jghodd commented on 2020-05-21 10:26 (UTC)

@yurikoles i'm unable to create a new bug at https://bugs.freedesktop.org/ - the message "freedesktop.org Bugzilla is no longer in use" is displayed prominently across the page. https://lists.freedesktop.org/archives/amd-gfx/ does not have this build error in its archive. the alternative listed at https://bugs.freedesktop.org, https://gitlab.freedesktop.org/, does not have this project and its search function turns up nothing. your other project, linux-drm-intel-next-git is also not building with another "cc1: warnings being treated as errors" message.

i have to assume that the developers must be doing builds along the way as source is being merged in. how are they not finding these build errors?

yurikoles commented on 2020-05-20 17:40 (UTC)

Please report this on https://bugs.freedesktop.org/ and https://lists.freedesktop.org/archives/amd-gfx/

jghodd commented on 2020-05-20 17:37 (UTC)

Getting a build error for the past 2 days. Done multiple build attempts:

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c: In function ‘amdgpu_amdkfd_gpuvm_free_memory_of_gpu’: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:1357:2: error: implicit declaration of function ‘drm_gem_object_put_unlocked’; did you mean ‘drm_gem_object_put_locked’? [-Werror=implicit-function-declaration] 1357 | drm_gem_object_put_unlocked(&mem->bo->tbo.base); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | drm_gem_object_put_locked cc1: some warnings being treated as errors

jghodd commented on 2020-05-18 16:13 (UTC) (edited on 2020-05-19 00:11 (UTC) by jghodd)

The more recent builds no longer boot. It gets past the grub menu to loading initrd, then just hangs. Any ideas?

Edit: apparently, the fix for this issue is in 5.7-rc6 (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9a3ed1eff3601b63aea4fb462d8b3b92c7c1e7e)

yurikoles commented on 2020-04-10 07:57 (UTC)

Build currently broken due to https://github.com/sphinx-doc/sphinx/issues/7421

jghodd commented on 2020-04-07 17:26 (UTC) (edited on 2020-04-08 02:27 (UTC) by jghodd)

FYI. the build is broken because of this:

https://github.com/sphinx-doc/sphinx/issues/7421

Edit: have to downgrade python-sphinx to 2.4.4. v3.0.0 not working

Thermi commented on 2020-02-02 15:47 (UTC)

/etc/mkinitcpio.d/linux-drm-tip-git.preset is empty!

kubrick commented on 2019-07-10 10:10 (UTC)

@yurikoles, please don't bump pkgver for no reason, there's a pgkver() function in place that does its job very well already.

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

arfoll commented on 2018-06-19 05:36 (UTC)

I get: cp: cannot stat 'drivers/media/dvb-core/*.h': No such file or directory

if I remove the line copying those headers (i don't fully understand the bug in the comments) it seems to work.

freswa commented on 2018-02-18 19:18 (UTC)

Intel suggests to use make defconfig instead of make olddefconfig. https://01.org/linuxgraphics/documentation/build-guide-0

Since this kernel is mostly for debugging it probably should follow upstream guidelines...

timofonic commented on 2017-11-26 12:44 (UTC)

@artafinde Sorry for the delay. This kernel is the Intel's branch with latest DRM updates, so it's for people having an Intel iGPU and using it. It's useful to check if they solved bugs against the stable version of the code (Intel-gfx developers say to check if the bug persist in this fork) or want to use their newer code for some other reason like wanting certain newer features (or you are crazy want to be in the bleeding edge ;) ). I'll modify and explain it better today, as I want to improve the use of custom config files (I want that) and add something extra (try to add some patches, but not sure if they will apply against a "moving target" like a git repo). Any help is welcomed. Here is the info about reporting bugs. Thanks for the feedback, I need to become a better maintainer: https://01.org/linuxgraphics/documentation/how-report-bugs

artafinde commented on 2017-10-30 20:07 (UTC)

@timofonic what's this kernel give more than official ARCH? Can you give a better description?

timofonic commented on 2017-08-16 03:46 (UTC)

I finally modified and made it more similar to linux core PKGBUILD. There's some problem with pacaur that I'll try to ask the developer, I'm a n00b and not sure what's wrong.

timofonic commented on 2017-08-10 07:39 (UTC)

Sorry, I did something wrong. I'll try to fix it ASAP after sleeping... :: Installing linux-drm-tip-git package(s)... :: linux-drm-tip-git package(s) failed to install. :: ensure package version does not mismatch between .SRCINFO and PKGBUILD :: ensure package name has a VCS suffix if this is a devel package

timofonic commented on 2017-08-10 01:47 (UTC)

Maybe it can work by removing the following lines. Going to test it, but I wanted to mention it first. # add docbook makefile install -D -m644 Documentation/DocBook/Makefile \ "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile"

timofonic commented on 2017-08-10 01:42 (UTC)

This package is broken and nobody maintains it. No hope, soon I'll switch to Gentoo. Lots of compiling, but not broken packages. DEPMOD 4.13.0-rc4-035f22af3e97 ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "linux-drm-tip-git"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_linux-drm-tip-git-headers()... install: cannot stat 'Documentation/DocBook/Makefile': No such file or directory ==> ERROR: A failure occurred in package_linux-drm-tip-git-headers(). Aborting... :: xmlto is now an orphan package :: failed to build linux-drm-tip-git,linux-drm-tip-git-docs,linux-drm-tip-git-headers package(s)

tormen commented on 2017-04-13 12:38 (UTC)

... but also huge THANKS for this package to exist at all!!! :)))

tormen commented on 2017-04-13 12:33 (UTC)

I am now trying makepkg -s ... and I had to disable the NOUVEAU driver: CONFIG_DRM_NOUVEAU=n because it failed compiling: CC [M] drivers/gpu/drm/nouveau/nvkm/engine/device/base.o drivers/gpu/drm/nouveau/nvkm/engine/device/base.c:2347:1: error: redefinition of ‘nv137_chipset’ nv137_chipset = { ^~~~~~~~~~~~~ drivers/gpu/drm/nouveau/nvkm/engine/device/base.c:2290:1: note: previous definition of ‘nv137_chipset’ was here nv137_chipset = { ^~~~~~~~~~~~~ make[4]: *** [scripts/Makefile.build:294: drivers/gpu/drm/nouveau/nvkm/engine/device/base.o] Error 1 make[3]: *** [scripts/Makefile.build:553: drivers/gpu/drm/nouveau] Error 2 Maybe do that anyways in the packages config file ? ... as it's about intel drm this should generally be fine I suppose ;)

tormen commented on 2017-04-13 12:10 (UTC)

Hun. I ran into this trying to install this package: DEPMOD 4.11.0-rc6-035f22af3e97 sed: -e expression #2, char 44: unknown option to `s' ==> ERROR: A failure occurred in package_linux-drm-tip-git(). Aborting... :: failed to build linux-drm-tip-git package(s) Also I noticed that I was asked twice to do a "makeconfig old". Once for compile and once for install. Maybe that's related to me using pacaur ?