Issues with DH on Lenovo laptop
Hello there! I have a Lenovo IdeaPad Slim 7 with Intel Iris Xe Graphics, an i5-1135G7, and 8GB of RAM-- yeah, I know it's kinda low in this era, but I cannot upgrade it myself easily and I got this laptop way back in April 2022 without knowing beforehand. :/ I am also on Linux Mint for better overall performance as well as modded Minecraft 1.21.1 with Fabric Aether
Anyways, I was trying out DH ver. 2.3.0-b with the vanilla render disance set to 8 chunks, DH render distance set to 64 chunks, quality set to 'Low', and CPU load set to 'Minimal Impact'. I also allotted 4GB of RAM to my MC with only Firefox open (but I believe closing wouldn't make much of a difference in perf). Right off the bat, with distant generation enabled, I noticed it was ruining my FPS badly, but it was still kinda playable. I didn't count the total FPS as I prefer to play with V-Sync on and the FPS capped to 70. Is this due to the RAM, or simply the CPU load? I'm inclined to believe it's the latter
Another thing I noticed is that when I'm exploring new chunks for DH to render with distant gen enabled, I can still see the vanilla fog, despite clearly disabling it in both DH & Sodium Extra. What's the culprit? These are the mods I use:



63 Replies
vsync overrides whatever the regular fps cap is set to
get mangohud on there to monitor at least cpu usage, might work with the intel igpu too
you should be able to tell if it's a ram issue by checking the usage on the top right corner of f3
it looks like the hardware is doing fine tho
also is this the stable release or the nightly build?
oh yeah it is the stable release, the current stable release has some issues, try thr nightly build
thanks for the heads-up, will check it out!
config file should go in ~/.config/MangoHud/MangoHud.conf
if you're using prism launcher it has an option to enable that in instance settings, you gotta have it installed first ofc
mangohud --dlsym
in the 'Wrapper command' textbox under 'Custom Commands' and it worked! figured it out thru a Google search
how exactly do I make the config file go there? I'm not super Linux-savvy...
oh wait! turns out the config file was installed in /usr/share/doc/mangohud/
, wish that had been specified before...was doing the dishes sorry
yeah, the copy of the template mangohud config file is stored there, or can be downloaded from the github
i can tell you have good "looking stuff up skills", that's pretty good yeah, the --dlsym flag is needed for opengl stuff
now monitor your cpu and gpus usage if the intel igpu works on mangohud
hehe, yeah, sometimes when I try looking it up myself I can easily figure it out
I definitely get a lotta Reddit results
it's a common thing
also try the nightly build, the current DH stable release has some performance problems after some minutes of playtime
anyways, this is what I get (note that I decided to decrease my RAM to 3GB afterwards for safety's sake)

(and thanks for reminding me of the nightly build, I completely forgot)
for some strange reason, it shows that my game is using up over 6GB of RAM, and the 'GPU Load' and 'VRAM' headings show absolutely nothing, strangely enough
will try the nightly build
the mangohud ram reading is a system-wide ram usage, and minecraft will pretty much always use more ram than you give it, and mangohud doesn't seem to like intel igpus
there's that gpu usage on the f3 screen but i don't really trust it
oh yeah, when I said 'alloting RAM', I actually meant only changing the 'Maximum memory allocation' option
I assume the other two memory options don't matter much?
yeah
and if MC uses, say, 6GB total, then what's the point of allocating 4GB?
it's just java weirdness
don't worry about it too much
ah yes, the nightly build performs far better!
(altho the FPS can still drop from 60)
I only alloted 3GB btw
let's try with 4
daaang you got avx512
this igpu should be enough for dh
and that cpu is very close to mine in performance so yeah by these details it should be doing good
probably because its so memory restrained
oof, I suspected that :(
yeah it might be that
Rammy, what exactly is your specs?
because the igpu and the cpu are pretty good
i5-9400f and (the best) 1050ti
its a low end mobile cpu from 5 years ago
with integrated graphics
i wouldnt call that pretty good
your 1050 ti will crush that thing with ease
the 1050 ti is more than twice as fast
the cpu is very close in performance to mine and i know mine can deal with dh, and igpu should have enough processing power to be able to handle dh when i consider how much remaining usage i have with a 1050ti
the gpu and ram are definitely more the problem here than the cpu yea
it would have a massive advantage because the dedicated gpu has a dedicated memory bank and bus
but like
yea, the IGPU is using the memory in this case for vram
people dismiss stuff too much and it ticks me off
making you even more memory constrained
shame for the RAM, because the iGPU definitely has a lot of potential
it can even run some popular shaders like Complmentary at 30-50 FPS and 1080p resolution
1.4 teraflops on an igpu on a medium or medium-low end cpu is not bad at all
very decent for integrated graphics
you just cant really expect to get decent framerates with this hardware if you're generating chunks at the same time. once thats done, it should do a bit better
the reference model 1050ti only does 2.1, mine can do 2.8
even stupider with the RAM is, I can't even upgrade it as it's soldered
no extra ram slot?
and yet laptops still ship with that nowadays...
nope, at least not according to the official specs page for it
if you like, I could share it with you, but I mentioned the laptop at the very beginning of the post
specs pages usually don't tell the whole story, unless that specs page is better than most

PSREF
Lenovo Product Specifications Reference
and

it even says no slots
(wow, you're super quick, how do you instantly crop stuff and share it here like that?)
dang
any screenshot tool that lets you select screen area
shift + super + s on windows
but shift + screenshotbutton for me
I heard some people on the internet saying that 90% of laptops with soldered RAM have an extra RAM slot, right?
sounds like an overestimation but im not sure
sadly, I am part of the unlucky 10% without that 😔 (assuming that estimation is sensible)
but yeah i think the conclusion might be not a lot of ram room for it to work with, and the igpu being held back by a narrow memory bus and having to use regular system ram
yea, my advise would definitely be to pregen a large area before playing, and then turning distant generation off
I absolutely believe that too, I thought my iGPU was simply not that good by default
but it turns out it's the RAM's fault mostly
it might be, we are not entirely sure
DH does eat some fair bit of ram tho
that is correct
it is a combination of both
btw i think you can put noisium in there too, might help a tiny little bit with terrain generation
hang on tho
one second
here's a demonstration using lightweight shaders (makeup ultrafast), and DH on a server with my gpu, unfortunately there's not a lot of terrain LOD loaded to that direction, haven't explored to that direction much yet, it's getting 60fps with about 40% gpu power remaining, with fancy leaves, medium DH quality and medium shader preset, with 8 chunks of vanilla render distance, i also have the usual performance mods like sodium. so when accounting for processing power and processing power alone (gpu core count and clocks), that igpu should be plenty fast enough for what they are trying to do, with a low DH distance and now DH quality, and no shaders. with shaders disabled i get 30% gpu usage

ofc, the teraflop count is rarely even close to a real world performance, but it's the best i got to work with
@Anas btw try makeup ultrafast, it's a lot more lightweight than complementary, i bet you'd get 60fps with it
so i think it's mostly due to cpu getting hammered by the game and DH, the typical memory bottlenecks of igpus, and not having a lot of RAM breathing room
well, tbf, I did have Firefox open while testing with 4GB
wouldn't have a problem closing it there, but I'm not sure how much of a difference it would make in performance
i think it's unlikely that it would make much of a difference
depends how many tabs you got open and for how long it's been open
also some of that memory was probably going into swap too
y'know what, I decided to test it again but with 3GB of RAM allocated instead and the CPU load set to 'Minimal Impact'. Not perfect, but definitely far better performance
mind you, this is with distant gen on
I also noticed that DH says it's loading over 16k chunks! I'm guessing that's the total amount of chunks I have explored in my world thus far (I started the world waaaay back in December 2021 and it's over 6GB big)
yet despite that, it's not as much of a havoc on my game than I expected (I'd expect it to drop into the single digits!)
the DH rendering is actually pretty lightweight, even when it's hundreds of chunks
it's the generation of those LODs that is lengthy and cpu heavy
anyways, I decided to set my DH render distance to 128, the quality to low and the CPU load to 'I Paid For the Whole CPU' so I could pre-gen a lot of chunks. It seriously took a massive toll on my CPU, RAM, and FPS! Not only that, DH said it was rendering over 100,000+ chunks in the end, 90,000+ in the nether, and 80,000+ in the overworld! Yet, it only took around 2 hrs. total, and after coming back to my world a few hours later when my laptop was cool and turning off distant gen, I am pleased that it performs pretty decently.
At real fullscreen ('F11' key), vanilla RD of 8 chunks, V-Sync off & the FPS uncapped, I managed to reach 133 FPS max. while flying around in the sky with my elytra! Sometimes it would drop slightly below 60, but that's likely because my integrated graphics are being maxed out according to the F3 menu. I'm happy it's playable on my machine, I thought it would be a stuttery mess 😅
this is my view



doesn't look the best, but at least I get to see far in return
yeah the actual rendering of the LODs is quite lightweight