Heyho!
I set up a NUC (with an Intel ARC GPU) with Rocky Linux 9.4 and now I’m trying to put the Display in portrait mode via the cli.
Through googling I learned that doing this with wayland is a little bit complicated, so I tried using X11 with xrandr, which worked just fine! But, when putting chrome in fullscreen, there was a weird artefact at one line in the screen, where it looked like screen tearing, but not like typical tearing. It was more like the content at this line kinda diffused. Maybe a ‘translation’ error because the Display was put in portrait mode?
To tackle this I already tried Vsync on and off, hardware acceleration on and off, using the xrandr TearFree flag, though I lost track which permutation of these settings I tried out.
So I guess maybe I should try to do this with Wayland but I don’t know how to do that, therefore I am asking for help from more experienced people here and I’m thankful for any pointers or resources you could give me
Since I’m fairly new with Linux, I’m not sure which other information are helpful
There is a wlr-randr, an xrandr for Wayland. Not sure if Rocky has it. I see that Rocky 8.x doesn’t.
You might be able to build it from a Fedora rpm although the oldest I see on rpmfind is for Fedora 39.
That’s the rpm, not sure if the srpm is available. However, you might be able to build it from the source at github.
You need meson and wayland
I had to install rust-wayland-devel and meson, then tried the build instructions. I was trying on a VM with no GUI and so, the last instruction build/wlr-randr failed to connect to display but if you’ve got wayland running I’d think that would work.