Hello, I just upgraded to the 20.08 version of Sculpt. There seems to be a problem with the boot_fb_drv component, from what I can guess the changes to this component because of the graphics refactor make it need more RAM, but the driver_manager computes the ram as "_pitch * _height + 512*1024". Changing this to "2 * _pitch * _height + 512*1024" (i.e. doubling the framebuffer part) fixed it for me. Is there a smarter way to understand how much RAM is actually needed here, rather than using blunt tools like "double until it works"? Does this problem only affect me for some reason? This is in qemu which gives a very large screen, but it used to work in the old version (20.02 I think).
Regards, Colin
Hello,
On 11.10.20 06:23, Colin Parker wrote:
Hello, I just upgraded to the 20.08 version of Sculpt. There seems to be a problem with the boot_fb_drv component, from what I can guess the change.
The issue got fixed shortly after the 20.08 release (3 commits after sculpt-20.08 tag) and is on master already. The prebuilt Sculpt image contains the fix already.
Cheers,
Alex.
[0] https://github.com/genodelabs/genode/commit/2afba3c137f59a296227c1b62ca108b5...
Hi Colin,
Is there a smarter way to understand how much RAM is actually needed here, rather than using blunt tools like "double until it works"?
to add a bit of background info to Alex' reply, the RAM demand of the boot_fb_drv increased due to the system-wide change of the pixel format from 16 to 32 bits per pixel.
[1] https://genode.org/documentation/release-notes/20.08#Streamlined_pixel_forma...
As for your question of determining the resource demands, init supports the reporting of the consumed resources per child. For the dynamic init instance hosted inside the drivers subsystem, this reporting is enabled by default. You can find the report at /report/drivers/dynamic/state. Note that the 'used' and 'avail' values do not add up to the 'assigned' value. This is because a component lends quota to the services it uses. I think, the 'avail' value is of most interest as it denotes the RAM quota wasted.
Cheers Norman