After upgrade my kernel to 3.18 series i have no gpu acceleration on laptop with Intel HD Graphics. With 3.17 everything works perfect but with 3.18 with same setting and kernel config gpu acceleration does not work. In Xorg logs ia found this line: (EE) intel(0): Failed to submit rendering commands, disabling acceleration. After some search i found patch from: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d472fcc8379c062bd56a3876fc6ef22258f14a91 and it works with 3.18.0 and 3.18.1 gentoo sources. With this patch everything works fine. Reproducible: Always
Created attachment 391918 [details, diff] 0001-drm-i915-Disallow-pin-ioctl-completely-for-kms-drive
This patch applied to 3.18 ?
Yes, I've put it to /etc/portage/patches/sys-kernel/gentoo-sources-3.18.0/ and I've created symlink to 3.18.1
Maybe I'm losing it today: patching file drivers/gpu/drm/i915/i915_gem.c Hunk #1 FAILED at 4263. Hunk #2 FAILED at 4319. 2 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem.c.rej patching file drivers/gpu/drm/i915/i915_gem.c Hunk #1 FAILED at 4263. Hunk #2 FAILED at 4319. 2 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem.c.rej patching file drivers/gpu/drm/i915/i915_gem.c Hunk #1 FAILED at 4263. Hunk #2 FAILED at 4319. 2 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem.c.rej patching file drivers/gpu/drm/i915/i915_gem.c Hunk #1 FAILED at 4263. Hunk #2 FAILED at 4319. 2 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem.c.rej
Here is my output from emerge -av "=gentoo-sources-3.18.0": * genpatches-3.18-2.extras.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Preparing to unpack ... >>> Unpacking source... >>> Unpacking linux-3.18.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-3.18.0/work >>> Unpacking genpatches-3.18-2.base.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-3.18.0/work/patches >>> Unpacking genpatches-3.18-2.extras.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-3.18.0/work/patches * Applying 1500_XATTR_USER_PREFIX.patch (-p1) ... [ ok ] * Applying 2700_ThinkPad-30-brightness-control-fix.patch (-p1) ... [ ok ] * Applying 2900_dev-root-proc-mount-fix.patch (-p1) ... [ ok ] * Applying 2905_2disk-resume-image-fix.patch (-p1) ... [ ok ] * Applying 4200_fbcondecor-3.16.patch (-p1) ... [ ok ] * Applying 4567_distro-Gentoo-Kconfig.patch (-p1) ... [ ok ] * Applying user patches from /etc/portage/patches/sys-kernel/gentoo-sources-3.18.0 ... * 0001-drm-i915-Disallow-pin-ioctl-completely-for-kms-drive.patch ... [ ok ] * Done with patching >>> Source unpacked in /var/tmp/portage/sys-kernel/gentoo-sources-3.18.0/work >>> Preparing source in /var/tmp/portage/sys-kernel/gentoo-sources-3.18.0/work/linux-3.18.0-gentoo ... >>> Source prepared. Line: * 0001-drm-i915-Disallow-pin-ioctl-completely-for-kms-drive.patch [ ok ] Patch was applied.
Ok, it seems you only took one piece of that commit. I was using the entire commit.
please ignore, I was looking at the wrong thing
Committed for next release.
Released in 3.18.2