[Kernel-packages] [Bug 1797802] Re: Erratic behavior of CPU frequency control under load

2018-10-21 Thread Piotr Kołaczkowski
Can you reassign this bug to thermald package? Or should I create a new one? Thanks -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797802 Title: Erratic behavior of CPU frequency contro

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of CPU frequency control under load

2018-10-21 Thread Piotr Kołaczkowski
Disabling thermald with: sudo systemctl stop thermald right after boot, before applying any load seems to help getting stable performance. A thermald bug? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.lau

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of CPU frequency control under load

2018-10-21 Thread Piotr Kołaczkowski
** Summary changed: - Erratic behavior of intel pstate CPU frequency control + Erratic behavior of CPU frequency control under load -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797802

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
Temperatures: Before the performance drop: up to 97 C After performance drop: 52-55 C -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797802 Title: Erratic behavior of intel pstate CPU f

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
Perf data collected for the run above. ** Attachment added: "perf.data" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+attachment/5203562/+files/perf.data -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
I collected some perf data for further analysis. I run a simple arithmetic multi-core benchmark. The benchmark is 100% CPU bound - it adds 2 integers. perf record java -jar target/benchmarks.jar org.ttnr.pmato.e2.cpumem.ArithmeticsBenchmark.add -wi 0 -i 40 -t 4 -f 1 # JMH version: 1.21 # VM vers

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
More observations: The problem does not happen if I disable Intel speed-step in BIOS. In this case, the CPU frequency of all cores goes to 2998 MHz whenever under load, and stays stable regardless of how long the load is applied. The problem still happens even if intel_pstate=disable is passed

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797802 Title: Erratic behavior of intel pstate CPU frequency control

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
Huh, another surprise. After running my infinte loop for the time I wrote the previous post, suddenly it "magically" fixed itself and now one core reports 100% C0 and ~6% C1, temperature 57, voltage 0.94. The frequency did not go above 2.8 GHz, though. -- You received this bug notification becaus

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
And as soon as I hit "rebuild project" in the IDE, the frequencies go immediately down from 2.8 GHz to about 1.2-1.5 GHz now. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797802 Title:

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
The problem exists in 4.19.rc7 I just tried. So overall, I'm not sure now if this is a "different state" of the system, or just a normal behavior of it. Fresh after boot, the CPU is willing to use frequencies above 3 GHz. The same when I launch my IDE (IntelliJ idea for the first time). Then when

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
Is it normal that C-states percentages reported by i7z don't sum up to 100%, but exceed it? Under load, I frequently get C0% close to 99%, but at the same time Halt is at about 40-60%. Also when C0 is >90, the frequency of cores goes DOWN. This looks totally reversed to me. -- You received th

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
Update: I got the "package temperature above threshold" again (still using 4.18.0-10 kernel), but it did not cause visible performance loss and i7z still shows the CPU freq can go up to ~3.8 GHz easily. So maybe these messages are not related. -- You received this bug notification because you are

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
> Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? It started happening after upgrading from 18.04 to 18.10. > Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.c

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
Aaaah, I can see plenty of this in syslog: Oct 14 22:30:59 p5520 kernel: [ 9481.033687] CPU3: Package temperature above threshold, cpu clock throttled (total events = 5845) Oct 14 22:30:59 p5520 kernel: [ 9481.033688] CPU7: Package temperature above threshold, cpu clock throttled (total events =

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
BTW, when the system is in this weird state, CPU fans are running at the lowest speed (but running) and never go to their max speed, even under heavy CPU load like compiling stuff. Is there a hidden energy saving thing that tries to keep my CPU clock low / voltages low at high load? -- You recei

[Kernel-packages] [Bug 1797802] [NEW] Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
Public bug reported: I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The other times everything works fine. I don't know what triggers this weird state. Suspend / resume? Maybe. At first I thought this was maybe just a "perception issue", but then when the sluggishness happened ag

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-09-23 Thread Piotr Kołaczkowski
Looks like it got solved at least for me on recent Ubuntu 18.10 with the official kernel. Looks like now hotplugging Dell TB16 dock works fine on Precision 5520. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2018-09-17 Thread Piotr Kołaczkowski
Unfortunately I no longer have the WD15 dock. I switched to TB16 and it also has some hotplugging issue (there is a separate launchpad ticket reported by others). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bug

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-09-17 Thread Piotr Kołaczkowski
I have the same issue. Tried today on daily Ubuntu 18.10 build run from live USB. The system boots fine or resumes fine with tb16 sick attached. It also survives disconnecting the dock. But it does not survive hotplugging the dock - I get a freeze where I can only move the mouse pointer, but t

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-30 Thread Piotr Kołaczkowski
After a week of testing v4.14-rc2, the conclusions remain the same: - System doesn't freeze when booting up and logging in with the dock attached. - Ethernet doesn't connect automatically on boot / after login, manual intervention required. - System doesn't wake from suspend if the dock was discon

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-26 Thread Piotr Kołaczkowski
No, after disabling apparmor for dhclient, I'm successfully running v4.14-rc2. However, it looks like exactly the same problems exist with this kernel as with v4.14-rc2: 1. NetworkManager fails to connect automatically at startup, but connects fine after manual intervention. 2. System fails to r

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
4.14.rc2 network problem fixed by running: sudo ln -s /etc/apparmor.d/sbin.dhclient /etc/apparmor.d/disable/ sudo /etc/init.d/apparmor reload Now I can use 4.14.rc2 and will let you know how stable it is. -- You received this bug notification because you are a member of Kernel Packages, which i

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
just FYI: 4.14.rc2 networking failure seems to be caused by dhcp client crash. Where to submit bug report for this? Sep 25 21:07:47 p5520 nm-applet[3178]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed Sep 25 21:07:48 p5520 wpa_supplicant[1521]: wlp2s0: SME: Trying to authenticate

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
Still using 4.13.3 today and I already had sudden ethernet connection dropout which couldn't be reestabliished from NetworkManager without replugging the dock. I conclude this problem must be related to kernel then, because as said earlier, on 4.14.rc1 I had no ethernet stability issues for the who

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
I also checked 4.13.3 a moment ago and when booting with the dock attached I got a freeze again soon after starting the desktop session. So the original bug I reported here was definitely not fixed in 4.13.3, nor by BIOS upgrade to 1.5.0. However, all network connections were active at the login sc

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
I was running v4.14-rc1 for the whole last week. It is... different. Good stuff: - Not a single freeze on fresh boot with dock attached. - When it connects to eth0, it is stable. Not a single disconnect from ethernet, but that may be as well the result of recent BIOS upgrade to 1.5.0 and dock f

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-16 Thread Piotr Kołaczkowski
Also, what are these dots in syslog? Sep 15 09:55:14 p5520 kernel: [ 21.539677] hid-generic 0003:046D:C31F.0005: input,hiddev1,hidraw4: USB HID v1.10 Device [Logitech USB Keyboard] on usb-:3e:00.0-1.7/input1 Sep 15 09:55:14 p5520 mtp-probe: checking bus 3, device 4: "/sys/devices/pci:

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-16 Thread Piotr Kołaczkowski
I can confirm 1.5.0: Sep 15 12:00:22 p5520 kernel: [0.00] DMI: Dell Inc. Precision 5520/06X96V, BIOS 1.5.0 08/30/2017 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1701499 Title:

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-16 Thread Piotr Kołaczkowski
I upgraded to BIOS 1.5.0 yesterday and also upgraded the dock firmware yesterday as well again (using windows-10-on-the-go usb stick I created just for that purpose). No improvements - I got a nice freeze on boot again (kernel 4.12.13). Also, Windows 10 seems to be working on the same hardware ju

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-15 Thread Piotr Kołaczkowski
Also, I've read this on another USB ticket in bugzilla: All USB bugs should be sent to the linux-...@vger.kernel.org mailing list, and not entered into bugzilla. Please bring this issue up there, if it is still a problem in the latest kernel release. So it looks like the mailing list is the onl

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-15 Thread Piotr Kołaczkowski
Tried posting to linux-usb mailing list but I got no answer back. Any other ways to report this problem? The problem still exists with kernels 4.13.2 and 4.12.13. I updated BIOS to 1.5.0 released today and also applied a fresh firmware update to WD15 from Dell (using Windows, because Linux can't

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-07-31 Thread Piotr Kołaczkowski
Unfortunately that turned out to be a fluke. I had two freezes on 4.11.12, and just a freeze a minute ago on fresh 4.13.rc3 installed from http://kernel.ubuntu.com/~kernel-ppa/mainline/. No panics though. I noticed all these freezes have a few things in common: - they happen only when the dock is

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-07-06 Thread Piotr Kołaczkowski
Yesterday I updated to 4.11.9 and so far everything is stable. I managed to reboot 6 times in a row with no issues. The kernel error is also gone from syslog. I'm still not totally sure, because the original issue is a bit random, so that might have been just a good luck. The jumpiness of mouse p

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-06-30 Thread Piotr Kołaczkowski
I did apport-collect immediately after filing the bug. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1701499 Title:

[Kernel-packages] [Bug 1701499] [NEW] System often freezes or panics if I log in with Dell Dock WD15 connected

2017-06-30 Thread Piotr Kołaczkowski
Public bug reported: I'm using Dell Precision 5520 with Ubuntu 17.04. If I first start a Unity session and then connect Dell WD15 USB-C dock with an external diplay plugged in, the system detects it properly and all the things work flawlessly (ethernet, external keyboard, external display, extern

[Kernel-packages] [Bug 1701499] ProcCpuinfoMinimal.txt

2017-06-30 Thread Piotr Kołaczkowski
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1701499/+attachment/4906422/+files/ProcCpuinfoMinimal.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.l

[Kernel-packages] [Bug 1701499] JournalErrors.txt

2017-06-30 Thread Piotr Kołaczkowski
apport information ** Attachment added: "JournalErrors.txt" https://bugs.launchpad.net/bugs/1701499/+attachment/4906421/+files/JournalErrors.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.n

[Kernel-packages] [Bug 1701499] ProcEnviron.txt

2017-06-30 Thread Piotr Kołaczkowski
apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1701499/+attachment/4906423/+files/ProcEnviron.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/b

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-06-30 Thread Piotr Kołaczkowski
** Attachment added: "My syslog from today" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1701499/+attachment/4906424/+files/syslog -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs

[Kernel-packages] [Bug 1679634] Re: nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid

2017-05-20 Thread Piotr Kołaczkowski
I confirm the bug exists on kernel 4.11.1 and Dell precision 5520 with Nvidia Quadro 1200M: [6.658188] nouveau :01:00.0: fb: 4096 MiB GDDR5 [6.658219] nouveau :01:00.0: bus: MMIO read of FAULT at 10ac08 [ IBUS ] [6.658271] nouveau :01:00.0: priv: HUB0: 10ecc0

[Kernel-packages] [Bug 1584407] Re: ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20150930/dswload-210)

2017-05-20 Thread Piotr Kołaczkowski
I have the same bug on Dell Precision 5520 and Ubuntu 17.04 with either officially supported kernel 4.10.0-21 as well as mainline kernel 4.11.1. [0.037469] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20170119/dswload-210) [0.037476] ACPI Exception: AE_N