[doc] install: Update Determining Memory formula

This commit is contained in:
Jonathan Rubenstein 2021-05-04 05:31:38 -04:00 committed by Geoffrey McRae
parent 83f060b895
commit 5cb40875a2

View File

@ -222,20 +222,17 @@ your desired maximum resolution using the following formula:
``width x height x 4 x 2 = total bytes`` ``width x height x 4 x 2 = total bytes``
``total bytes / 1024 / 1024 = total megabytes + 2`` ``total bytes / 1024 / 1024 = total megabytes + 10``
For example, for a resolution of 1920x1080 (1080p) For example, for a resolution of 1920x1080 (1080p)
``1920 x 1080 x 4 x 2 = 16,588,800 bytes`` ``1920 x 1080 x 4 x 2 = 16,588,800 bytes``
``16,588,800 / 1024 / 1024 = 15.82 MB + 2 = 17.82`` ``16,588,800 / 1024 / 1024 = 15.82 MB + 10 = 25.82``
You must round this value up to the nearest power of two, which with the You must round this value up to the nearest power of two, which with the
above example would be 32MB above example would be 32MB
Note: This formula may be out of date. A 1440p display requires 64mb
shared memory.
The shared memory file will be located in /dev/shm/looking-glass and The shared memory file will be located in /dev/shm/looking-glass and
will need to be created on every boot otherwise it will have incorrect will need to be created on every boot otherwise it will have incorrect
permissions. Looking glass will not be able to run unless it has permissions. Looking glass will not be able to run unless it has