
arohl
Hands-on Rust: Bracket-lib on Raspberry Pi 4 running Ubuntu MATE
I get a significant glitch on my raspberry pi - there is a thin line to the left of the player that runs from the top of the screen to the bottom and moves as I move the player! It works on my Mac just fine, so I think its an issue with Bracket-lib. Note that if I change the function that draws the player to do nothing, the line still exists
Most Liked

herbert
That does look like a bracket-lib issue. I’ve opened an issue there ( https://github.com/thebracket/bracket-lib/issues/184 ), and I’ll see what I can do. I don’t have a current-gen Pi to test on, hopefully I can figure it out. If I had to guess, it’s a resolution/smoothing issue (you sometimes get rounding errors with GL coordinates, it normalizes everything from 0.0 to 1.0 internally).
Thanks!

arohl
Have found out some more information. I am running xrdp on my pi and connecting from my Mac using Microsoft Remote Desktop Beta. I decided to see if I got the same on the pi directly connected via a monitor. Interestingly, dugeoncrawl doesn’t run - it gives the error:
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES
However, if I change the command to:
MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=330 target/release/dungeoncrawl
It runs and the line doesn’t appear i.e. all is good
So the problem only occurs when connected remotely.
Andrew
Popular Pragmatic Bookshelf topics










Other popular topics










Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /textmate
- /sublime-text
- /debian
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /manjaro
- /spring
- /django
- /diversity
- /lua
- /nodejs
- /slackware
- /julia
- /c
- /markdown