Love too many

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Sasha264
Party member
Posts: 131
Joined: Mon Sep 08, 2014 7:57 am

Love too many

Post by Sasha264 »

Hello :3

I have that game I am developing.
I did tested in on several PCs, new and old ones.
The oldest included MacBook 2013, some dusty PC with GeForce 560 GTX...
Also there was integrated Intel GPUs, integrated AMD GPUs...
But that error I saw the first time for 10 years =)
It happened when I tried to run that game on some Win 10 virtual PC.
error.png
error.png (9.29 KiB) Viewed 2169 times
The shader is somewhat complex, yes. It is heavy procedurally generated from lua code. And it is supplied with some numerous stuff from several game objects. Therefore I can not give a concise example, sorry...

What is "too many" in numbers?
How much should I be worried? :o
How probable is that someone will see this also?
User avatar
dusoft
Party member
Posts: 524
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: Love too many

Post by dusoft »

Not an answer, but you might consider filing a bug here to make this error message more helpful:
https://github.com/love2d/love/issues/
User avatar
Bigfoot71
Party member
Posts: 287
Joined: Fri Mar 11, 2022 11:07 am

Re: Love too many

Post by Bigfoot71 »

Regarding the number I did a little research in the code of love and I came across this, I don't know if really revealing:
https://github.com/love2d/love/blob/c8e ... ge.cpp#L66
My avatar code for the curious :D V1, V2, V3.
User avatar
Sasha264
Party member
Posts: 131
Joined: Mon Sep 08, 2014 7:57 am

Re: Love too many

Post by Sasha264 »

dusoft wrote: Thu May 04, 2023 8:47 am Not an answer, but you might consider filing a bug here to make this error message more helpful:
https://github.com/love2d/love/issues/
Yes! That I did. Not for this particular issue, but the process worked well :3
I just want to be sure of what exactly to report. I need more confidence in pinpointing something concrete.
Bigfoot71 wrote: Thu May 04, 2023 9:56 am Regarding the number I did a little research in the code of love and I came across this, I don't know if really revealing:
https://github.com/love2d/love/blob/c8e ... ge.cpp#L66
That's a really useful list to have in my bookmarks, thank you!
As for the actual numbers, it states that:

Code: Select all

/* .MaxCombinedImageUnitsAndFragmentOutputs = */ 144,
In my case, I'm not exactly sure what to count, but I have way less than 144, about 10 times less, so it shouldn't be a problem. Plus, it only reproduces on a very specific environment, so it looks like I hit some graphic driver limitation rather than an engine limitation...
  • combined image uniforms — "The number of textures or images that can be bound to a shader program at the same time." — Ok, that I can understand.
  • shader storage buffers — "Allow shaders to share data between each other." — What? Between each other?
  • fragment outputs — "The number of outputs that the fragment shader can generate." — If my shader outputs to 3 different Love canvases I guess the number of fragment outputs is also 3, as I understand... Plus 1 depth buffer maybe?
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 5 guests