News for hackers. Stuff that matters.
Re:How fast is 12th Gen Intel Core? by kcb on Monday August 08, 2022 @11:32PM (#32394001)
I've played with an AMD 6800u laptop and I would say it's the ideal x86 laptop chip right now. Normal usage at the 12w mode or light gaming at 20w mode was super impressive. Even though 12th Gen Intel chips have made great performance gains Intel is still relying on unsustainable high turbo boosts to get the benchmark numbers.

I just recently stumbled across these two otherwise identical laptops.

https://psref.lenovo.com/syspool/Sys/PDF/Lenovo/Lenovo_Slim_...

https://psref.lenovo.com/syspool/Sys/PDF/Lenovo/Lenovo_Slim_...

The AMD version is rated for 20% greater battery life just from the CPU difference.

Re:How fast is 12th Gen Intel Core? by ZuLuuuuuu on Tuesday August 09, 2022 @01:27AM (#32394464)
Exactly. Not just 1 model but you can compare identical ThinkPad models as well and AMD versions have significantly better battery life. Not only that, even last year's identical models with 11th Gen Intel CPUs have better battery life than their new 12th Gen models. So Intel's power efficiency actually decreased compared to last year, even though they introduced the hybrid architecture.

In some instances Alder Lake CPUs slightly edge out Apple's CPUs in performance, but with a terrible battery life (~4 hours of real world battery life vs >10 hours on Apple laptops) and noisy fans.

AMD on the other hand seems to have focused on getting a good balance this year. 6800U models have significant performance improvements over the last gen while improving the battery life as well.

I am thinking of buying a new laptop this year, but I am waiting for the AMD models. For anyone interested, these are the models I am waiting for:

https://psref.lenovo.com/Product/ThinkBook/ThinkBook_13s_G4_...

https://psref.lenovo.com/Product/ThinkPad/ThinkPad_X13_Gen_3...

Both have much better battery life than their Intel counterparts:

ThinkBook 13s Gen 4 (AMD): 14 hours

ThinkBook 13s Gen 4 (Intel): 10.9 hours

ThinkPaf X13 Gen 3 (AMD): 15.68 hours

ThinkPad X13 Gen 3 (Intel): 11.8 hours

These numbers are usually lower in real life, but they are comparable with each other.

Re:How fast is 12th Gen Intel Core? by danieldk on Tuesday August 09, 2022 @01:54AM (#32394629)
These numbers are usually lower in real life

There are data sheets and then there is real life. People were raving about AMD laptops before. I got a ThinkPad T14 AMD with a 4750U. The stated psref battery life is MobileMark 2014: 14 hr, MobileMark 2018: 11.5 hr. In practice that was more like 7 hours on Windows (with a mild workload) and 3 hours on Linux. The CPU performance was merely ok and I could get the fans blowing quite quickly.

Life with the laptop was quite miserable. There were many other paper cuts and despite being Linux-certified, I used Windows with WSL most of the time since basic things like suspend would at least work relatively reliably.

I sold the T14 after 7 months (thank deity that there was a chip shortage, so I could recoup quite a lot of the 1400 Euro I paid for the T14), got a MacBook Air M1 and didn't look back. It's a world of difference.

Re:How fast is 12th Gen Intel Core? by pythux on Tuesday August 09, 2022 @02:21AM (#32394787)
That does not match my own experience with a very similar t14s equipped with same CPU. I get much better battery life than 3 hours on Linux even with moderate workload (compiling, browsing, etc.). I often use it on the go and it’s been pretty great.
Re:How fast is 12th Gen Intel Core? by ttarr on Tuesday August 09, 2022 @03:13AM (#32395064)
Lenovo ThinkPad T14 AMD Gen 1 here. My experience is totally different, using Fedora 36, everything works! Battery life I have no exact numbers, but definitely way more than 3 hours.
Re:How fast is 12th Gen Intel Core? by inciampati on Tuesday August 09, 2022 @04:16AM (#32395407)
Within a year the kernel should support proper Power management on these new AMD systems. I have a year old 5800H that went from 3 hours to 11 hours battery life in typical use, just due to kernel version updates. It's like a new system.
Re:How fast is 12th Gen Intel Core? by CameronNemo on Tuesday August 09, 2022 @01:50PM (#32401298)
It is such a shame that certain major distros don't ship latest kernels. I understand also shipping LTS kernels for customers/users that want the stability, but the default for desktops and install media should be a really recent kernel.
Re:How fast is 12th Gen Intel Core? by doublepg23 on Tuesday August 09, 2022 @04:29PM (#32403835)
I think it’s pretty common to install the HWE kernel on Ubuntu.
Re:How fast is 12th Gen Intel Core? by JustSomeNobody on Tuesday August 09, 2022 @10:09AM (#32398187)
This. The newer kernels support amd_pstate and it's a big difference.
Re:How fast is 12th Gen Intel Core? by FeistySkink on Tuesday August 09, 2022 @03:54AM (#32395291)
I'm also on a fully-specced T14 Gen 1 AMD with the same CPU (4750u) and I get a full day's use out of it under Fedora 36. And CPU performance is way more than OK for my use-cases. I'm curious what you were doing with it.
Re:How fast is 12th Gen Intel Core? by akvadrako on Tuesday August 09, 2022 @02:59AM (#32394988)
There is a big improvement from the 4000 series to the 6000 series.
Re:How fast is 12th Gen Intel Core? by sudosysgen on Tuesday August 09, 2022 @10:13AM (#32398238)
Something was screwed up, very likely on Windows, definitely on Linux. My 5800H gets 9 hours of battery life on Linux with KDE (full glass blur effect, IntelliJ, Firefox, etc...), without any undervolting or underclocking, at ~80% battery, 1440p60 15.6 inch screen. And about a third of the power consumption comes from the desktop class SSD I put into it.
Re:How fast is 12th Gen Intel Core? by rowanG077 on Tuesday August 09, 2022 @10:38AM (#32398626)
AMD 6800u also has insane graphics compared to the Intel. You can actually play triple A games at acceptable framerates.
Re:How fast is 12th Gen Intel Core? by nirui on Tuesday August 09, 2022 @01:43AM (#32394561)
Since this is Hacker News and a lot of people here runs Linux, I want to remind everybody to hold your horses before you tested Linux on these machines.

The machine that I'm currently using comes with a Ryzen 6800H CPU and LPDDR5-6400 RAMs, made by Lenovo. On Linux, the builtin keyboard don't work because of IRQ problems (See [1], a fix is also available at [2]), and it constantly spams out "mce: [Hardware Error]: Machine check events logged" messages.

[1]: https://bbs.archlinux.org/viewtopic.php?id=277260

[2]: https://lore.kernel.org/all/20220712020058.90374-1-gch981213...

If you read the code in [2], the patch basically disables IRQ override for every new Ryzen machines (`boot_cpu_has(X86_FEATURE_ZEN)`). Based on that, I assume every new Ryzen CPU has the same problem(???)

Edit: wait... blaming it on the CPU might be unjust, it's more like a kernel adoption problem.

Luckily, compiling Linux kernel with 16 threads is not really too big of a struggle, you can just apply the patch manually every time the kernel updates :-) :-| :-(

Re:How fast is 12th Gen Intel Core? by pizza234 on Tuesday August 09, 2022 @02:32AM (#32394855)
> On Linux, the builtin keyboard don't work because of IRQ problems (See [1]

The exact problem is that an IRQ/ACPI workaround is not needed anymore on modern Zen platforms, and it (the workaround) now breaks compatibility. It's already in linux master, and will be released for v6.0

Commit message of the fix:

    commit 9946e39fe8d0a5da9eb947d8e40a7ef204ba016e
    Author: Chuanhong Guo <[email protected]>

    ACPI: resource: skip IRQ override on AMD Zen platforms

    IRQ override isn't needed on modern AMD Zen systems.
    There's an active low keyboard IRQ on AMD Ryzen 6000 and it will stay
    this way on newer platforms. This IRQ override breaks keyboards for
    almost all Ryzen 6000 laptops currently on the market.

    Skip this IRQ override for all AMD Zen platforms because this IRQ
    override is supposed to be a workaround for buggy ACPI DSDT and we can't
    have a long list of all future AMD CPUs/Laptops in the kernel code.
    If a device with buggy ACPI DSDT shows up, a separated list containing
    just them should be created.
Re:How fast is 12th Gen Intel Core? by secondcoming on Tuesday August 09, 2022 @05:13AM (#32395700)
These ACPI tables are commonly broken. Who creates and tests them?
Re:How fast is 12th Gen Intel Core? by halz on Tuesday August 09, 2022 @07:16AM (#32396350)
Some vendors may only 'test' as far as getting the compiler to produce something without errors. So, first thing an end-user/consumer/enterprise customer can do when encountering a new platform is to run the platform through https://uefi.org/testtools, in particular the FWTS/Firmware Test Suite and SCT/ACPI Self-Certification Test, and hold the vendor accountable. Chances are the vendor already has a member on the board of the Unified Extensible Firmware Interface Forum.
Re:How fast is 12th Gen Intel Core? by voltagex_ on Tuesday August 09, 2022 @05:20AM (#32395746)
The vendors, against Windows.
Re:How fast is 12th Gen Intel Core? by lhl on Tuesday August 09, 2022 @01:54AM (#32394628)
Here's a user report from back in April from a user running w/ 5.17.x on a 2022 Asus Zephyrus G14 w/ an 6800HS w/o keyboard issues so I don't think it affects all laptops running Ryzen 6000. https://www.reddit.com/r/linuxhardware/comments/u5p1rs/zephy...
Re:How fast is 12th Gen Intel Core? by koiueo on Tuesday August 09, 2022 @02:18AM (#32394770)
My AMD Gen 1 has been nothing but trouble under Linux.

But it's not CPU, it's Lenovo. Lenovo has terrible firmware team.

Re:How fast is 12th Gen Intel Core? by FeistySkink on Tuesday August 09, 2022 @03:57AM (#32395306)
I'm on T14 Gen 1 AMD with Fedora with the latest BIOS for the past 2 years and hasn't really experienced any issues. Perhaps I'm missing something here. Care to elaborate?
Re:How fast is 12th Gen Intel Core? by koiueo on Monday August 22, 2022 @02:45AM (#32548118)
Battery life is worse than in my 10 year old laptop. Battery life in suspend is exceptionally bad. I haven't ever used anything THAT bad.

You can read more about this in my blog

https://127001.me/post/ten-years-of-thinkpadding/#_the_ugly_...

Re:How fast is 12th Gen Intel Core? by FeistySkink on Saturday September 03, 2022 @09:12PM (#32708599)
Thanks. The posts says all AMD-based ThinkPads are affected. And I can't confirm that with both of my T14 Gen 1s which I leave on S3 for multiple days. I haven't tried the S0-something yet, but will do. It looks like you did way more research than me, so I believe that it's a real issue. Perhaps it's down to individual component combination, like planar revision, battery, etc.?
Re:How fast is 12th Gen Intel Core? by ttarr on Tuesday August 09, 2022 @03:17AM (#32395083)
My experience is otherwise, see my comment above.
Re:How fast is 12th Gen Intel Core? by ttarr on Tuesday August 09, 2022 @03:22AM (#32395096)
If you don't mind, can you test Ubuntu or Fedora to see if the issue is present?

The reason I'm asking, according to a Lenovo talk from DebConf22 [0], the guy said it takes some time for patches to reach upstream, but with Fedora and Ubuntu they have some connections to shortcut some patches before they reach upstream.

[0] https://www.phoronix.com/news/Lenovo-Linux-2022-State

Re:How fast is 12th Gen Intel Core? by nirui on Tuesday August 09, 2022 @11:05AM (#32399020)
I've already setup production environment on this machine, it's not really easy to test Ubuntu on it. Fedora on the other hand, is the exact distro I'm using.

Sad news is, according to my test, the latest kernel Fedora 36 offered, which is kernel-5.18.16-200.fc36.x86_64, does not come with the keyboard (IRQ override) fix.

Another thing is the mce errors, or more specifically, errors similar to:

    [  332.990256] mce: [Hardware Error]: Machine check events logged
    [  332.990267] [Hardware Error]: Corrected error, no action required.
    [  332.990276] [Hardware Error]: CPU:0 (19:44:1) MC15_STATUS[Over|CE|MiscV|AddrV|-|-|SyndV|CECC|-|-|-]: 0xdc204000000c011b
    [  332.990299] [Hardware Error]: Error Addr: 0x00000000efcf8bc0
    [  332.990304] [Hardware Error]: IPID: 0x0000009600050f00, Syndrome: 0x000001ff0a240701
    [  332.990312] [Hardware Error]: Unified Memory Controller Ext. Error Code: 12
    [  332.990316] [Hardware Error]: cache level: L3/GEN, tx: GEN, mem-tx: RD
It was never fixed by both patched and unpatched kernel.

Of course, those were just the most annoying two. There are many smaller problems such as: 1) Screen won't turn off after timeout if an external display is plugged in via HDMI, 2) Linux S2 (Suspend-to-RAM) never wakes up, 3) Builtin mic don't work, 4) Fingerprint scanner crashes when you put your finger on.

I guess it takes time for those engineers in Lenovo to address those problems, and Lenovo is not a Linux-friendly company (they are more like a Linux-meh company).

Framework on the other hand, cares about Linux more. Sadly they don't operate in my country :(

Re:How fast is 12th Gen Intel Core? by beebeepka on Tuesday August 09, 2022 @02:59AM (#32394989)
I've been running Linux on a Lenovo with a 5800h for almost an year with zero issues.

I did have plenty of freezes on my old 2500u machine though. Was very disappointed. Thankfully, those days are long gone

Re:How fast is 12th Gen Intel Core? by kramerger on Tuesday August 09, 2022 @02:15AM (#32394749)
Note that this is more of a motherboard issue than a CPU problem. The fix is basically to disable a previous fix for some other buggy hardware.

Plenty of people have new Ryzen laptops that work just fine.

Re:How fast is 12th Gen Intel Core? by nicolaslem on Tuesday August 09, 2022 @04:30AM (#32395482)
I have been using a 6800U on Linux for the past two weeks. With kernel 5.18 almost everything is supported out of the box. The few issues I have:

- Kernel logs show that the GPU driver crashes from time to time. When it happens the screen freezes for a few seconds but recovers.

- HVEC hardware decoder gives green artifacts on VLC using VA-API.

- It seems not to support advanced power management, on battery the CPU will happily boost to 4.7 GHz which in my opinion makes little sense. AMD has been steadily pushing work related to power management so I expect it to improve. As it stands total power consumption on battery averages 5.1 W.

Re:How fast is 12th Gen Intel Core? by lhl on Tuesday August 09, 2022 @09:50AM (#32397868)
AMD does automatically switch to a "power saving" profile on battery that lowers power consumption significantly vs on charger, but if you want, you can tweak even further with a fantastic tool: https://github.com/FlyGoat/RyzenAdj - it's a simple CLI util so easy to set up w/ udev rules to run automatically. On my old Ryzen laptop, I have it set to run `ryzenadj -f 48` when I go on battery, which limits the temperature below my laptop's fan hysteresis for a very efficient and totally silent system, and `ryzenadj -f 95` to set it back, but you can also adjust most power and clock parameters (not everything works on Ryzen 6000 yet, but the basics should). The docs/wiki are also great and has lots of charts illustrating what each setting does: https://github.com/FlyGoat/RyzenAdj/wiki/Renoir-Tuning-Guide

The other tool you could check out (and use in conjunction or instead of ryzenadj) is a tool called auto-cpufreq: https://github.com/AdnanHodzic/auto-cpufreq - it lets you switch governor and turbo/clock speeds automatically base on battery if you're just looking for a simpler way to set that.

5.19 has a bunch of amdgpu fixes that might fix some things https://lists.freedesktop.org/archives/dri-devel/2022-April/... but sadly there are often also sometimes regressions/weird bugs: https://gitlab.freedesktop.org/drm/amd/-/issues?page=90&sort...

Re:How fast is 12th Gen Intel Core? by rowanG077 on Tuesday August 09, 2022 @10:43AM (#32398703)
Is it possible somehow to set separate CPU/GPU power limits like is possible on the steam deck?
Re:How fast is 12th Gen Intel Core? by ChuckNorris89 on Tuesday August 09, 2022 @07:58AM (#32396656)
Can I ask which laptop that is?
Re:How fast is 12th Gen Intel Core? by nicolaslem on Tuesday August 09, 2022 @08:46AM (#32397055)
Sure, HP 845 G9.
Re:How fast is 12th Gen Intel Core? by kaliszad on Tuesday August 09, 2022 @08:35AM (#32396985)
At least on most ThinkPads, the AMD versions lack Thunderbolt 3/4/ USB 4.0 Full Feature (e.g. including TB) so if I have a Thunderbolt docking station, it will probably not work. Nobody confirmed to me, what would work in such a setting. Will Lenovo/ AMD provide USB 4 upgrade using firmware?

Of course, the next question is the potentially asymmetric RAM on the ThinkPads with one channel soldered and one SO-DIMM slot, e.g. the 48 GB version. Will it use dual-channel until ~32 GB and then single-channel? How will the GPU perform, e.g. will it use only one slot in such a configuration. So many questions...

Re:How fast is 12th Gen Intel Core? by sharms on Tuesday August 09, 2022 @10:50AM (#32398811)
The newer AMD 6xxx series supports Thunderbolt 3 and USB 4 (USB 4 spec includes TB3), which has quite a few compatible docking stations available
Re:How fast is 12th Gen Intel Core? by kaliszad on Tuesday August 09, 2022 @11:10AM (#32399072)
Formally yes, but it isn't listed e.g. in the ThinkPad T14 Gen3 (AMD) specs as supported, they are all USB 3.2 only. No TB, no USB 4. TB 3 seems to be optional in the USB 4 spec, as it would need to support 40 Gbps speeds and not "only" 20 Gbps.
Re:How fast is 12th Gen Intel Core? by kcb on Tuesday August 09, 2022 @11:21AM (#32399218)
The T14s Gen 3 has USB 4 support listed. Lenovo is all over the place with which AMD models support it.
Re:How fast is 12th Gen Intel Core? by jeffbee on Tuesday August 09, 2022 @10:38AM (#32398625)
The 6800U models on the market just show that the integration by the OEM is far more important than the choice of CPU. The Asus Zenbook S 13 manages to hit 60° on its bottom case under sustained load, which is an impractical temperature. The Lenovo Yoga 9i which on paper uses a hotter Intel CPU runs cooler, quieter, and longer while also beating the Zenbook on benchmarks. So you really have to look at the entire package.