You are not logged in.
after nvme patch for the first time im getting bellow 6w
The battery reports a discharge rate of 5.60 W
xps13@late2015x16gbx512g
Offline
FHD no iris.
The patch was just pushed to mailing list so it is at its early stage in merging with mainline. I imagine the very earliest, although highly unlikely, would be 4.9 but wouldn't be surprised to see it in mainline a release or two after 4.9. https://www.kernel.org/doc/Documentatio … /2.Process
Up until it is merged into mainline, we can just keep patching it in.
if you can make aur package ? it will be great
xps13@late2015x16gbx512g
Offline
if you can make aur package ? it will be great
The pkgbuild is already made, although more love could go into it. Anyone can tarball and upload. I don't use mainline so I wouldn't even be using the pkg. If anyone from our community wishes to, please go ahead. If it's anyone's first aur package, I'll try to help as best I can.
Offline
Ok, so this was my first AUR package.
I took the patches from Andy Lutomirski and the pkgbuild for linux-mainline and merged these.
github page: https://github.com/damige/linux-nvme
I also added this package to AUR called : LINUX-NVME
If you have any comments let me know.
Tested by me and works less heat and longer batterylife, enjoy !
Last edited by damige (2016-09-04 01:54:20)
XPS 15 7590 | i9-9980HK | 32GB RAM | 512G NVME | Intel AX200 | NVIDIA 1650 | OLED 4K
Offline
Ok, so this was my first AUR package.
I took the patches from Andy Lutomirski and the pkgbuild for linux-mainline and merged these.
github page: https://github.com/damige/linux-nvme
I also added this package to AUR called : LINUX-NVMEIf you have any comments let me know.
Tested by me and works less heat and longer batterylife, enjoy !
Cool. Andy released version 2. The v2 patchset is on my github if you wish to merge it to your github/aur. Disregard if you are using v2 (Aug30). v1 is from Aug 29.
https://github.com/frank604/Dell-XPS-13 … ne/4.8-rc4
Offline
damige wrote:Ok, so this was my first AUR package.
I took the patches from Andy Lutomirski and the pkgbuild for linux-mainline and merged these.
github page: https://github.com/damige/linux-nvme
I also added this package to AUR called : LINUX-NVMEIf you have any comments let me know.
Tested by me and works less heat and longer batterylife, enjoy !
Cool. Andy released version 2. The v2 patchset is on my github if you wish to merge it to your github/aur. Disregard if you are using v2 (Aug30). v1 is from Aug 29.
https://github.com/frank604/Dell-XPS-13 … ne/4.8-rc4
I have used the V2 (did a doublecheck matching the sha256 with your pkgbuild)
XPS 15 7590 | i9-9980HK | 32GB RAM | 512G NVME | Intel AX200 | NVIDIA 1650 | OLED 4K
Offline
@damige,
Cool! Welcome to the forums btw. Thank you for picking up the ball. Hope our brethren will all profit from your contribution.
Edit: I've added your package to the wiki https://wiki.archlinux.org/index.php/De … ving_Patch please edit as you wish.
Last edited by frank604 (2016-09-04 02:50:06)
Offline
@damige,
Cool! Welcome to the forums btw. Thank you for picking up the ball. Hope our brethren will all profit from your contribution.Edit: I've added your package to the wiki https://wiki.archlinux.org/index.php/De … ving_Patch please edit as you wish.
Maybe add here too?
https://wiki.archlinux.org/index.php/So … rives/NVMe
Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee
Offline
Ok, done. If anyone wishes to add/modify upon it go for it.
Offline
Thanks for adding it on the wiki!
i will also add the pre-compiled version on git, as it takes about 45 minutes to do them on the xps13.
Install them with "pacman -U"
link: https://github.com/damige/linux-nvme
Last edited by damige (2016-09-04 11:23:30)
XPS 15 7590 | i9-9980HK | 32GB RAM | 512G NVME | Intel AX200 | NVIDIA 1650 | OLED 4K
Offline
For personal use, use modprobedb and you can compile in less than 10 min
Offline
For personal use, use modprobedb and you can compile in less than 10 min
Thanks for the tip, i will use this for my personal kernels.
edit: i updated the PKGBUILD to include the option to use modprobed-db, compile time (on my pc) down from 7 minutes to 2.
Last edited by damige (2016-09-04 18:47:02)
XPS 15 7590 | i9-9980HK | 32GB RAM | 512G NVME | Intel AX200 | NVIDIA 1650 | OLED 4K
Offline
Just make sure you mount all your device types once, including truecrypt/veracrypt, and any peripherals so that it records which module is required. I'm around 214 modules stored.
Offline
My 4.8 kernel does not build due to some random problem (some missing thing, damint gcc). Frank how outdated are the base drivers to backport the patches to 4.7? Do you think it's worth trying?
Thanks!
Offline
Updated the linux-nvme to 4.8RC5 and working on my xps13.
My 4.8 kernel does not build due to some random problem (some missing thing, damint gcc). Frank how outdated are the base drivers to backport the patches to 4.7? Do you think it's worth trying?
Thanks!
you could use my precompiled version. i will take a quick look at 4.7. Though its late and might take a while.
edit: scsi.c is the same but core.c and nvme.h are different
edit2: This might be doable but there are quite a lot differences between the base 4.7.2 and 4.8rc5. Probably not wise for me to attempt this, if for whatever reason it would not work i could not fix it.
edit3: thought i would let you all know, on RC5 i am having some traces appear in the log regarding BTRFS(fs/btrfs/extent-tree.c:4305), for this reason im back on RC4.
Some opinions please, should i revert AUR or keep it on RC5 ( to me it looks like a mainline issue, so keeping it on rc5 makes most sense )
Last edited by damige (2016-09-04 23:55:01)
XPS 15 7590 | i9-9980HK | 32GB RAM | 512G NVME | Intel AX200 | NVIDIA 1650 | OLED 4K
Offline
You have two options as the maintainer. Keep it at rc4 for stability or set it to rc5 to keep it updated. Whichever way you go, you can create a new pkgbuild and just post that link in the comment if anyone wishes to use the other. Personally, I'd prefer to keep it at rc4 if rc5 is tossing errors. You can also write in comments that rc5 will be skipped but whoever needs it can use <insert link here for pkgbuild for rc5>.
Edit: My preferences have been known to be on the 'wrong' side of things so just do what you feel is best.
Someone asked me to upload my pkgbuild for intel drm nightly. Here it is https://github.com/frank604/Intel-DRM-Nightly
Some of the fixes for intel drivers last couple of months are being merged into 4.9 mainline though so that is good to hear.
Last edited by frank604 (2016-09-05 00:14:55)
Offline
Anyone running their i7-6560U with speedstep on? I would like to keep it on to get the Turbo frequency up to 3.2ghz, but with it on, the CPU on my XPS will randomly scale down to 90-100mhz-300mhz for 1-2 minutes at a time, making everything crawl to a halt. Using cpupower to set the minimum frequency to like 500mhz seems to do nothing. Turning off speedstep in the BIOS fixes this particular issue, but then the maximum CPU gets pegged to 2.2Ghz (no turbo).
Offline
Hell yeah!
Got it to 4.5W with the patches I managed to build 4.8 in the end properly, bear in mind I use Fedora and I built it using the srpm and rpm, as opposed to just downloading the vanilla kernel
I hope this makes it quickly to mainline!
Offline
Meh it doesnt go into suspend with kernel 4.8
Offline
Just ditch fedora and come join us
Offline
hahah! do you have the same suspend issue? It must be kernel related, since booting with 4.7.6 works great.
Offline
Fedora has 50+ patches for their kernel. Arch has 1. So who knows why your Fedora stuff doesn't work? We certainly don't.
Last edited by Alad (2016-09-05 21:49:31)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Hey guys. Long time lurker, first time poster. I tried to build and install the AUR linux-nvme kernel, but it's having issues building the dependencies.
$ makepkg -sir
==> WARNING: The package group has already been built, installing existing packages...
==> Installing linux-nvme package group with pacman -U...
loading packages...
warning: linux-nvme-4.8rc5-1 is up to date -- reinstalling
warning: linux-nvme-headers-4.8rc5-1 is up to date -- reinstalling
warning: linux-nvme-docs-4.8rc5-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (3) linux-nvme-4.8rc5-1 linux-nvme-docs-4.8rc5-1 linux-nvme-headers-4.8rc5-1
Total Installed Size: 153.95 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [########################################################################] 100%
(3/3) checking package integrity [########################################################################] 100%
(3/3) loading package files [########################################################################] 100%
(3/3) checking for file conflicts [########################################################################] 100%
(3/3) checking available disk space [########################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove -m * -v * -k 4.8.0-rc5-nvme
Error! There are no instances of module: *
* located in the DKMS tree.
:: Processing package changes...
(1/3) reinstalling linux-nvme [########################################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux-nvme.preset: 'default'
-> -k /boot/vmlinuz-linux-nvme -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-nvme.img
==> Starting build: 4.8.0-rc5-nvme
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [keyboard]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-nvme.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-nvme.preset: 'fallback'
-> -k /boot/vmlinuz-linux-nvme -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-nvme-fallback.img -S autodetect
==> Starting build: 4.8.0-rc5-nvme
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [encrypt]
-> Running build hook: [keyboard]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-nvme-fallback.img
==> Image generation successful
(2/3) reinstalling linux-nvme-headers [########################################################################] 100%
(3/3) reinstalling linux-nvme-docs [########################################################################] 100%
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms install -m * -v * -k 4.8.0-rc5-nvme
Error! Could not find module source directory.
Directory: /usr/src/*-* does not exist.
Also, since performing a full system upgrade from 4.6.x, my Intel 8260 has been misbehaving. It will work initially on boot, but after a couple of minutes it throws:
[ 152.396975] iwlwifi 0000:3a:00.0: Error sending STATISTICS_CMD: time out after 2000ms.
[ 152.903552] iwlwifi 0000:3a:00.0: Queue 9 stuck for 2500 ms.
[ 158.397282] iwlwifi 0000:3a:00.0: Failed to load firmware chunk!
[ 158.397299] iwlwifi 0000:3a:00.0: Could not load the [6] uCode section
[ 158.397343] iwlwifi 0000:3a:00.0: Failed to start INIT ucode: -110
[ 158.397349] iwlwifi 0000:3a:00.0: Failed to run INIT ucode: -110
[ 158.401714] iwlwifi 0000:3a:00.0: Failed to disable queue 16 (ret=-5)
The NIC will disconnect and refuse to scan or go up. Trying to set the device up using ip yields, "RTNETLINK answers: Connection timed out.". Unloading and reloading iwlmvm, iwlwifi will force the device back on, but then the laptop will lockup shortly afterwards. I chose to install the AUR linux-firmware-git, and it seems to be working so far. Has anyone else encountered the same behavior?
Issue began with:
[****************] [ALPM] upgraded linux-firmware (20160516.80d463b-1 -> 20160730.6bc2c60-1)
Currently stable after:
[****************] [PACMAN] Running '/usr/bin/pacman -U /tmp/linux-firmware-git/linux-firmware-git-20160831.c883a6b-1-any.pkg.tar.xz'
[****************] [ALPM] removed linux-firmware (20160730.6bc2c60-1)
[****************] [ALPM] installed linux-firmware-git (20160831.c883a6b-1)
Also, also, I was able to get the new Thunderbolt 3 Razer Core working on my 9350. It works really well. Still working on writing hot-plugging services and PCI passthrough with qemu. If anyone's interested I can post some links.
Offline
Ok, if I need to build the vanilla kernel to prove a point I'll do...
Thank god opensource allows us to see that most patches are security fixes, since most bugs and CVEs may take a long way (if at all) to be backported...
So that means that you guys are not having problems with suspend right?
Offline
negative on suspend issue.
Offline