com
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
com [2025/02/13 21:37] – 2a00:1028:919d:bcb2:da5e:d3ff:fe59:4914 | com [2025/04/21 22:13] (current) – 2a00:1028:8390:729e:2bb8:2a79:48ee:3eea | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | http:// | ||
+ | |||
+ | ==== FPGA ==== | ||
+ | |||
https:// | https:// | ||
Line 136: | Line 140: | ||
variable start : integer := 46; | variable start : integer := 46; | ||
begin | begin | ||
- | if first.exponent /= 0 or second.exponent /= 0 then | + | if first.exponent /= 0 and second.exponent /= 0 then |
| | ||
| | ||
Line 200: | Line 204: | ||
if start = 24 then | if start = 24 then | ||
result.mantissa(22 downto 0) := buf(23 downto 1); | result.mantissa(22 downto 0) := buf(23 downto 1); | ||
- | elsif start = 23 then | + | -- elsif start = 23 then |
- | result.mantissa(22 downto 0) := buf(22 downto 0); | + | -- result.mantissa(22 downto 0) := buf(22 downto 0); |
- | elseif | + | elsif start > 0 |
- | result.mantissa(22 downto | + | result.mantissa(22 downto 23-start) := buf(start-1 downto 0); |
- | else | + | |
- | result := fp32_ZERO; | + | |
end if; | end if; | ||
end if; | end if; | ||
Line 241: | Line 243: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
</ | </ | ||
+ | |||
+ | ==== Install ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ==== WSL ==== | ||
+ | https:// | ||
+ | |||
+ | < | ||
+ | ln -s /dev/null / | ||
+ | ln -s /dev/null / | ||
+ | apt-get install xwayland glmark2 glmark2-wayland ubuntu-mate-desktop mate-terminal libgl1 libegl1 | ||
+ | ln -s / | ||
+ | nohup Xwayland -br -ac -noreset :1 & | ||
+ | env DISPLAY=:1 WAYLAND_DISPLAY= mate-session | ||
+ | </ | ||
+ | |||
+ | ==== Hyper-V ==== | ||
+ | https:// | ||
+ | |||
+ | solved this problem by forcing X to use the fbdev driver and providing the framebuffer device id like so. | ||
+ | Create the file: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Add the following: | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | Driver | ||
+ | BusID " | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Please mind that your BusID might be different. You can just run | ||
+ | |||
+ | < | ||
+ | Xorg -configure | ||
+ | </ | ||
+ | |||
+ | which will create / |
com.1739482654.txt.gz · Last modified: 2025/02/13 21:37 by 2a00:1028:919d:bcb2:da5e:d3ff:fe59:4914