For laptops it's very important. I've lost count of the number of colleagues who left their laptops in a cab, or at the airport, or in a cafe/bar/pub (etc). The company doesn't care about the value of the laptop, but it does care about the information on the laptop. Imagine you lose your laptop - someone could then copy your ~/.ssh directory, your Chrome or Firefox directory etc... They would be able to open all your web pages for which you have saved your password (and set auto-login). Perhaps you've saved your online banking credentials but you have 2FA enabled - a malicious actor might then be able to order a new SIM card with the information in your emails.
For me, personally, I think it's better safe that sorry. I don't know how to enable LUKS disk encryption post installation, have never done this.
Thanks! This is very interesting indeed, never really tested this before. After testing hardware (vaapi) vs software decoding, power draw is pretty much identical on my laptop (so there doesn't seem to be any advantage to using hardware decoding).
Yes, I did. The first machine I found was the Dell Inspiron 16 Plus 7610. Unfortunately, I had to return that machine because it has a defective touchpad (a known issue with that model). I'm not sure if the latest model (the Dell Inspiron 16 Plus 7630) also has video out without having to enable the discrete GPU.
The laptop I have at the moment is the Lenovo Legion 7 gen 7 (AMD edition). The USB-4 port on this machine can be used to drive an external monitor, and it's not hardwired to the discrete GPU (so the dGPU can remain off while running an external monitor). I can get around 6 or 7 hours of "light use" from this laptop, which is perfect for my requirements. Unfortunately, I haven't figured out how to completely disable the dGPU (a Radeon RX 6700m), but it's not a big deal as it remains powered down anyway (unless I run something with DRI_PRIME=1). I can also switch to dGPU mode in the BIOS if I need to.
The Gigabyte G5 is another laptop - the only port hardwired to the dGPU is the mini-DisplayPort.
I recently ordered a Lenovo Yoga 7 gen 8 (with the Ryzen 7 7840S, and no dGPU). It hasn't arrived yet, but I'm very curious about how that's gonna run Linux, and how long the battery will last under my particular workloads :)
I have a Legion 7 gen 7 AMD (Ryzen 7 6800H, Radeon RX 6700m).
Yes, my dGPU enters a D3cold state too (so basically powers down) unless I specifically run an app with variable DRI_PRIME=1. There are programs that will automatically turn on the dGPU (for example, nvtop).
I just want to disable the dGPU completely (if it's possible). This is something I do on my Legion 5 gen 5 (AMD). It's great the way it works now, but I'd still like to be able to put the laptop into an "iGPU-only" mode.
Ah, okay - thanks for that! Yes, everything in my "tunables" tab is labelled "good". I just thought the "modprobe cpufreq_stats failed" and "glob returned GLOB_ABORTED" meant that it failed.
I fully understand that powertop is providing estimations, but so far I've been pleasantly surprised to see that those estimations are actually less than what I'm actually getting from running on battery :)
Really loving this laptop - has exceeded all my expectations (despite the fact it was designed for "gaming").
Anyway, the time for setting things up has ended, it's now time to start coding :)
Seriously though, thanks for the info - I won't waste any more time trying to figure out how to disable the thing.
I've had pretty good luck with the Legion line and Linux, just never gone for a Legion 7 before. I'm still gonna keep it as I can still get 7 hours out of it on a full charge (and I like everything else about this laptop - including the fact that I can use an external monitor via the USB 4 port without having to power on the dedicated GPU!).
I did order a ThinkPad T16 gen 1 AMD before I bought this thing. I cancelled the order though as it kept getting delayed (waited for 1.5 months).
Okay, I think I see what you're getting at now - I think you're referring to "Runtime D3" (RTD3) - a hardware level feature that automatically powers down the dedicated GPU if it's not in use (not required). This only works with modern CPU/GPU combinations. I would love to know if this works with dedicated AMD GPUs, or if this is just an Nvidia feature.
The reason why I have to use envycontrol on my Legion 5 is because RTD3 doesn't work on my model (for whatever reason). I've posted in the Nvidia forums, others with the same laptop have said it just doesn't work with this particular model.
I'm specifically looking for information on "AMD Advantage" laptops and GPU power management (i.e. laptops that have both an AMD CPU and dedicated AMD GPU).
Hopefully, my Legion 7 will have something similar to "Runtime D3" (RTD3). If the dedicated AMD GPU automatically powers down (or if there's an option in the BIOS to switch to "iGPU-only" mode), or if Optimus-Manager or EnvyControl work, then I'll be a happy camper.
Thanks for the info. I have a Legion 5 (5th gen, I think - has a Ryzen 7 4800H and Nvidia 1660TI). Both envycontrol and "Optimus Manager" work well with my Legion 5 - I'm able to power down the dedicated Nvidia GPU (although it requires a reboot, which is fine). When the Nvidia GPU is powered down, idle sits at around 8W. When the Nvidia GPU is powered on, idle power usage us around 17W.
Please provide more information:
What model Legion do you have?
Is your dedicated GPU Nvidia or AMD?
Why do you suggest not installing "GPU-switching" software?
What is the setting in your BIOS that makes the dedicated GPU disappear?
It might be slightly outside of your price range, but the Lenovo Legion 5 gen 5 (Ryzen 7 4800H) runs Linux really well. Not sure how much a secondhand one costs these days. Gamers seem to dump their "old" gaming laptops on the secondhand market within a couple of years :)
Linux can be frustrating, but I get extremely frustrated when I use Windows or Mac OS. I've been using Arch (with KDE Plasma) for quite a few years now, love it. It has been rock solid for me on my laptop(s) and desktop, even though it's a rolling release. If Linux is too frustrating for you, use something else. I've seen a lot of folks who found Linux frustrating switch to Mac OS, and they seem quite happy, so perhaps give Mac OS a shot :) Use whatever works for you!
I had the same issue since I first purchased my Ryzen 7 3900x workstation (ASUS Prime x570p mobo). Running Arch Linux. Nothing in the logs (sudden death). I found out there were a couple of solutions that prevented the random freezing:
Setting the CPU Ratio in the BIOS to 36.
Setting the CPU core voltage to 1.25 (something like that, can't remember the exact value).
Very recently, I upgraded the BIOS to version 4408 and then restored all BIOS settings to defaults. The only BIOS setting I changed was the one required for virtualization (VT-x, something like that).
It has been about two weeks now, and my Ryzen 9 3900x workstation has been working flawlessly - hasn't missed a beat, zero freezing. It's also running much more quietly.
I can't believe this issue has existed for over 2 years! Anyway, very happy it has been fixed (better late than never).
I have the same laptop, also running Arch with KDE, have installed the latest BIOS firmware. Hibernate (sleep) works, but it doesn't wake up properly when the lid is opened (just freezes). Other than diving in to some kernel coding, I don't think there's much you can do to get hibernate/sleep waking properly.
Other than this issue (and the WiFi card, which I replaced), it's a great little snappy Linux laptop. I've decided to keep mine, and have just gone in to the Power Settings and set the "close lid" action to "turn off screen".
The Arch BBS - https://bbs.archlinux.org/
They're very kind, gentle, understanding and helpful there! :)
So people in this Reddit will continue talking to you :)
For laptops it's very important. I've lost count of the number of colleagues who left their laptops in a cab, or at the airport, or in a cafe/bar/pub (etc). The company doesn't care about the value of the laptop, but it does care about the information on the laptop. Imagine you lose your laptop - someone could then copy your ~/.ssh directory, your Chrome or Firefox directory etc... They would be able to open all your web pages for which you have saved your password (and set auto-login). Perhaps you've saved your online banking credentials but you have 2FA enabled - a malicious actor might then be able to order a new SIM card with the information in your emails.
For me, personally, I think it's better safe that sorry. I don't know how to enable LUKS disk encryption post installation, have never done this.
Thanks! This is very interesting indeed, never really tested this before. After testing hardware (vaapi) vs software decoding, power draw is pretty much identical on my laptop (so there doesn't seem to be any advantage to using hardware decoding).
On another laptop I have with a Ryzen 7 3700u, the above sits on around 12.5W.
I have a Ryzen 7 6800H. With the dGPU completely powered down (so I'm only using the iGPU), power draw hovers around 16W for me too:
Playing: https://www.youtube.com/channel/UCpB27-wOnjRwUOtqQ4L3Tlw/videos Playing: https://www.youtube.com/watch?v=SDmWcblzVzw (+) Video --vid=1 () (vp9 1920x1080 60.000fps) (+) Audio --aid=1 --alang=eng () (opus 2ch 48000Hz) File tags: Uploader: Joshimuz Channel_URL: https://www.youtube.com/channel/UCpB27-wOnjRwUOtqQ4L3Tlw Cannot load libcuda.so.1 Using hardware decoding (vaapi). AO: [pipewire] 48000Hz stereo 2ch floatp VO: [gpu] 1920x1080 vaapi[nv12]
If I play the video with MPV at 720p, power draw sits just under 13W.
Try playing with MPV, 1080p:
Yes, I did. The first machine I found was the Dell Inspiron 16 Plus 7610. Unfortunately, I had to return that machine because it has a defective touchpad (a known issue with that model). I'm not sure if the latest model (the Dell Inspiron 16 Plus 7630) also has video out without having to enable the discrete GPU.
The laptop I have at the moment is the Lenovo Legion 7 gen 7 (AMD edition). The USB-4 port on this machine can be used to drive an external monitor, and it's not hardwired to the discrete GPU (so the dGPU can remain off while running an external monitor). I can get around 6 or 7 hours of "light use" from this laptop, which is perfect for my requirements. Unfortunately, I haven't figured out how to completely disable the dGPU (a Radeon RX 6700m), but it's not a big deal as it remains powered down anyway (unless I run something with
DRI_PRIME=1). I can also switch to dGPU mode in the BIOS if I need to.The Gigabyte G5 is another laptop - the only port hardwired to the dGPU is the mini-DisplayPort.
I recently ordered a Lenovo Yoga 7 gen 8 (with the Ryzen 7 7840S, and no dGPU). It hasn't arrived yet, but I'm very curious about how that's gonna run Linux, and how long the battery will last under my particular workloads :)
Have tried this - this project is to control fan curves and power profiles, it doesn't provide an option to power down the dGPU.
I have a Legion 7 gen 7 AMD (Ryzen 7 6800H, Radeon RX 6700m).
Yes, my dGPU enters a
D3coldstate too (so basically powers down) unless I specifically run an app with variableDRI_PRIME=1. There are programs that will automatically turn on the dGPU (for example,nvtop).I just want to disable the dGPU completely (if it's possible). This is something I do on my Legion 5 gen 5 (AMD). It's great the way it works now, but I'd still like to be able to put the laptop into an "iGPU-only" mode.
I've already tried everything on that wiki page, I think it's only for discrete Nvidia GPUs, not discrete AMD GPUs.
Ah, okay - thanks for that! Yes, everything in my "tunables" tab is labelled "good". I just thought the "modprobe cpufreq_stats failed" and "glob returned GLOB_ABORTED" meant that it failed.
I fully understand that
powertopis providing estimations, but so far I've been pleasantly surprised to see that those estimations are actually less than what I'm actually getting from running on battery :)Really loving this laptop - has exceeded all my expectations (despite the fact it was designed for "gaming").
Anyway, the time for setting things up has ended, it's now time to start coding :)
Thanks for your help in this thread!
Ah, right. I ran with
--calibrate, but not with--auto-tune. Trying to get--auto-tuneto work seems to be quite difficult:Currently googling around for a solution...
I don't think it did, `powertop` numbers look pretty much the same.
Ummmm.... Yeah, sure I have! :D
No, I haven't, but I'll take a look right now! Thanks for the tip!!
Nooooooo! Ah well, you live and learn :D
Seriously though, thanks for the info - I won't waste any more time trying to figure out how to disable the thing.
I've had pretty good luck with the Legion line and Linux, just never gone for a Legion 7 before. I'm still gonna keep it as I can still get 7 hours out of it on a full charge (and I like everything else about this laptop - including the fact that I can use an external monitor via the USB 4 port without having to power on the dedicated GPU!).
I did order a ThinkPad T16 gen 1 AMD before I bought this thing. I cancelled the order though as it kept getting delayed (waited for 1.5 months).
Nice one - thanks for the info! Do you know what the BIOS setting is called? Any chance you could take a photo and post it?
Okay, I think I see what you're getting at now - I think you're referring to "Runtime D3" (RTD3) - a hardware level feature that automatically powers down the dedicated GPU if it's not in use (not required). This only works with modern CPU/GPU combinations. I would love to know if this works with dedicated AMD GPUs, or if this is just an Nvidia feature.
The reason why I have to use envycontrol on my Legion 5 is because RTD3 doesn't work on my model (for whatever reason). I've posted in the Nvidia forums, others with the same laptop have said it just doesn't work with this particular model.
I'm specifically looking for information on "AMD Advantage" laptops and GPU power management (i.e. laptops that have both an AMD CPU and dedicated AMD GPU).
Hopefully, my Legion 7 will have something similar to "Runtime D3" (RTD3). If the dedicated AMD GPU automatically powers down (or if there's an option in the BIOS to switch to "iGPU-only" mode), or if Optimus-Manager or EnvyControl work, then I'll be a happy camper.
Thanks for the info. I have a Legion 5 (5th gen, I think - has a Ryzen 7 4800H and Nvidia 1660TI). Both envycontrol and "Optimus Manager" work well with my Legion 5 - I'm able to power down the dedicated Nvidia GPU (although it requires a reboot, which is fine). When the Nvidia GPU is powered down, idle sits at around 8W. When the Nvidia GPU is powered on, idle power usage us around 17W.
Please provide more information:
Thanks.
For the love of all that is good and wholesome, please don't sully an Arch install with
apt.It might be slightly outside of your price range, but the Lenovo Legion 5 gen 5 (Ryzen 7 4800H) runs Linux really well. Not sure how much a secondhand one costs these days. Gamers seem to dump their "old" gaming laptops on the secondhand market within a couple of years :)
I've heard that software patents aren't a thing in Europe, although I could be wrong on that.
Linux can be frustrating, but I get extremely frustrated when I use Windows or Mac OS. I've been using Arch (with KDE Plasma) for quite a few years now, love it. It has been rock solid for me on my laptop(s) and desktop, even though it's a rolling release. If Linux is too frustrating for you, use something else. I've seen a lot of folks who found Linux frustrating switch to Mac OS, and they seem quite happy, so perhaps give Mac OS a shot :) Use whatever works for you!
I had the same issue since I first purchased my Ryzen 7 3900x workstation (ASUS Prime x570p mobo). Running Arch Linux. Nothing in the logs (sudden death). I found out there were a couple of solutions that prevented the random freezing:
Very recently, I upgraded the BIOS to version 4408 and then restored all BIOS settings to defaults. The only BIOS setting I changed was the one required for virtualization (VT-x, something like that).
It has been about two weeks now, and my Ryzen 9 3900x workstation has been working flawlessly - hasn't missed a beat, zero freezing. It's also running much more quietly.
I can't believe this issue has existed for over 2 years! Anyway, very happy it has been fixed (better late than never).
I have the same laptop, also running Arch with KDE, have installed the latest BIOS firmware. Hibernate (sleep) works, but it doesn't wake up properly when the lid is opened (just freezes). Other than diving in to some kernel coding, I don't think there's much you can do to get hibernate/sleep waking properly.
Other than this issue (and the WiFi card, which I replaced), it's a great little snappy Linux laptop. I've decided to keep mine, and have just gone in to the Power Settings and set the "close lid" action to "turn off screen".
Off topic, but here's a video of the Inspiron 5625 running Arch and recording 60FPS with SimpleScreenRecorder!
Really hope this issue is fixed soon, as it's a super little budget friendly Linux laptop.
End of this list.
Back to top