
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 Prag Prog topics










Other popular topics










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