Package Details: linux-clear-headers 5.10.21-1

Git Clone URL: (read-only, click to copy)
Package Base: linux-clear
Description: Headers and scripts for building modules for the Clear Linux kernel
Upstream URL:
Keywords: clear clearlinux intel kernel
Licenses: GPL2
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 50
Popularity: 1.49
First Submitted: 2018-01-18 21:47
Last Updated: 2021-03-07 12:21

Pinned Comments

metak commented on 2018-01-22 01:49

1. Binaries available in my repo:
SigLevel = Never
Server =$arch
2. After install adjust your boot cmd line. ClearLinux uses clr-boot-manager which takes care of that. This is upstream default:
quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,f2fs tsc=reliable rw 
3. For loading unsigned modules. (nvidia, virtualbox, etc.)

If secure boot is disabled just add module.sig_unenforce boot parameter. Otherwise, you'll have to build your kernel with CONFIG_MODULE_SIG_FORCE disabled.

4. Once again (as requested) the _subarch is set to native so for anyone who is building the binaries for redistribution should set it to number corresponding to Generic-x86-64.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

metak commented on 2021-01-19 20:37

@Gonzo2028 You can check in the kernel config file in /proc/config.gz at # Processor type and features section.

zcat /proc/config.gz > /tmp/config-$(uname -r)

Gonzo2028 commented on 2021-01-19 19:34

Thanks! I will give it a try. Is there a method to read the used subarch on compilation for the current running kernel?

metak commented on 2021-01-19 18:03

@Gonzo2028 You just have to make a small change to pkgbuild file, set _subarch=13 for zen3 and point the source for gcc optimizations patch to latest commit to get the required patch.

Gonzo2028 commented on 2021-01-19 17:18

or just tell me how to implement znver3 then ;). Thanks.

Gonzo2028 commented on 2021-01-19 17:09

i have gcc 11 installed, i just need the option. or will native detect znver3 if available?

metak commented on 2021-01-10 20:08

@Gonzo2028 Hi, znver3 requires gcc from trunk so I can't add that.
Add -march=znver3/requires gcc trunk at this time

Gonzo2028 commented on 2021-01-10 14:51

please add support for -march=znver3

gebau00a commented on 2021-01-07 02:31

I also do not have any xf86-video installed, only nvidia-dkms drivers. I assume your main problem is the missing drm module. Which graphics driver do you want to use?

btd1337 commented on 2020-12-26 23:39

Is anyone able to help?

When library xf86-video-intel isn't installed, Kernel Clear with Gnome won't starts GDM.

gnome-shell[524]: Failed to create backend: No drm devices found
gnome-session-binary[515]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
gnome-session-binary[515]: Unrecoverable failure in required component org.gnome.Shell.desktop
gdm[465]: Gdm: GdmDisplay: Session never registered, failing
gdm[465]: Gdm: Child process -509 was already dead.
/usr/lib/gdm-x-session[535]: (--) Log file renamed from "/var/log/" to "/var/log/Xorg.0.log"
/usr/lib/gdm-x-session[535]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
gnome-session-binary[569]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[569]: WARNING: Falling back to non-systemd  startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist

In the kernel LTS the system works normally without xf86-video-intel

PS: xf86-video-intel causes screen sharing and recording errors so I shouldn't be using it.

metak commented on 2020-12-08 12:09

@adsoncicilioti Does this help?

@Ryaniskira Not really. If something depends on 'linux' that means it depends on default arch kernel package linux'. If you're building module then you should use dkms. What's the package you're installing?