You are not logged in.

#76 2021-01-13 15:28:41

tomsk
Member
Registered: 2016-12-17
Posts: 170

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

Sorry I never been applying kernel patch I dont know how to do it hmm It comes in 5.12? It is long time, if there is only 5.10 version so far, why these critical bugs aren't deployed as fast as possible? hmm


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#77 2021-01-13 15:37:14

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

https://github.com/freedesktop/drm-tip/ … 4b47.patch applies to 5.10.6

git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/linux"
cd packages/trunk

edit PKGBUILD to add the patch and its checksum,  the PKGBUILD auto applies .patches

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 53d7d5a..f87e5d7 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -18,6 +18,7 @@ _srcname=archlinux-linux
 source=(
   "$_srcname::git+https://git.archlinux.org/linux.git?signed#tag=$_srctag"
   config         # the main kernel config file
+  https://github.com/freedesktop/drm-tip/commit/eebfb32e26851662d24ea86dd381fd0f83cd4b47.patch
 )
 validpgpkeys=(
   'ABAF11C65A2970B130ABE3C479BE3E4300411886'  # Linus Torvalds
@@ -25,7 +26,8 @@ validpgpkeys=(
   'A2FF3A36AAA56654109064AB19802F8B0D70FC30'  # Jan Alexander Steffens (heftig)
 )
 sha256sums=('SKIP'
-            'd3e7adf5fcfc632887058ca84ca7b849a824dda5a03de854c8d3480ef0124ad1')
+            'd3e7adf5fcfc632887058ca84ca7b849a824dda5a03de854c8d3480ef0124ad1'
+            'b2fb9237fc57e81d9ec1125c8bdcc80df047f8d766c919d9634d3e75daf1b519')
 
 export KBUILD_BUILD_HOST=archlinux
 export KBUILD_BUILD_USER=$pkgbase

Then build the package

Offline

#78 2021-01-13 15:47:12

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

The patch will come to mainline in 5.12 or 5.13 since the merge window for 5.11 is already closed. After that happens, the patch may be backported to older stable kernel series.
I have no idea why that patch took so long. It seems it was failing some tests, so that may have been a factor: https://gitlab.freedesktop.org/drm/inte … ote_729531


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#79 2021-01-13 18:50:13

tomsk
Member
Registered: 2016-12-17
Posts: 170

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

Thank you Arch community! smile Patch works, Im on 5.10.7-arch1-1 right now, with that patch and Unreal Engine works smile Thank you again + thank you loqs and seth that you were guiding me through kernel bisect, Im newbie I know smile

So until new kernel 5.12 or 5.13 comes out with patched that thing, should I just ignore kernel updates for now or should I everytime apply that patch? smile

Last edited by tomsk (2021-01-13 18:53:13)


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#80 2021-01-13 19:28:14

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

You could use the lts kernel until the patch is available if you don't want to patch the kernel w/ every update.
This way you'd get security updates (which will not be the case if you just ignore the kernel package)

If the LTS kernel doesn't work, you'll have to make up your mind - it's usually "safe" to ignore kernel updates from a package management perspective, but if you read sth. in the news abotu a super epic kernel bug that's exploited by a virus in the wild, you probably want to have a patch for that one way or another ;-)

Offline

#81 2021-01-14 16:40:27

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

The fix is now in the drm-intel-fixes branch of the drm-intel tree from there it should hopefully go to the drm-fixes branch of the drm tree then be pulled to Linus's tree as bug fix for 5.11-rcX saving the wait for 5.12.
https://github.com/freedesktop/drm-inte … 85443611a8
https://cgit.freedesktop.org/drm/drm/log/?h=drm-fixes
Edit:
Now in Linus's tree so will be included in 5.11-rc4:
https://git.kernel.org/pub/scm/linux/ke … 85443611a8
See also https://git.kernel.org/pub/scm/linux/ke … b3e9df6333

Last edited by loqs (2021-01-16 19:29:24)

Offline

#82 2021-01-20 19:42:03

tomsk
Member
Registered: 2016-12-17
Posts: 170

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

That's great yikes thank you smile


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#83 2021-01-20 21:17:07

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] Unreal Engine 4 stopped working under newer Linux kernels

Fixes were backported to 5.10.9 as 48b8c6689efa7cd65a72f620940a4f234b944b73 and 481e27f050732b8c680f26287dd44967fddf9a79
https://cdn.kernel.org/pub/linux/kernel … Log-5.10.9

Offline

Board footer

Powered by FluxBB