Maximum frame size of N bytes excceds maximum space available

I’m sure this is a noob issue…but everything was working fine, until I tried to automate the looking glass host startup. Now I’m getting the following error:

Maximum frame size of 8294400 bytes excceds maximum space available

What’s really weird is that I’ve downloaded a fresh copy of B1, but the log file is showing B1-rc6-6-gb979752989+1 (which I did download and run once after it started breaking).

I’m at the point were I’m going to reload the VM, because this doesn’t make sense to me…

The IVSHMEM virtual device shared memory is not large enough.

2 Likes

Thanks, okay so what happened was that I configured shmem for scream and looking-glass with this config:

<shmem name='looking-glass'>
  <model type='ivshmem-plain'/>
  <size unit='M'>32</size>
  <address type='pci' domain='0x0000' bus='0x06' slot='0x01' function='0x0'/>
</shmem>
<shmem name='scream-ivshmem'>
  <model type='ivshmem-plain'/>
  <size unit='M'>2</size>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
</shmem>

And the lg host ended up using scream-ivshmem which is only 2MB.

Bonus: how do I control the enumeration of the shm devices and stop lg from using the scream one?

The LG host application accepts a parameter to tell it which device by index.

looking-glass-host.exe os:shmDevice=N where N is the index.

1 Like