(10-13-2025, 10:39 AM)powerflow Wrote: (10-10-2025, 06:25 AM)biketool Wrote: (03-05-2025, 06:18 AM)Kevin Kofler Wrote: The Phosh Wayland compositor (phoc) uses wlroots, which is why it works with wayvnc.
SO I have something based on stripped ubuntu 24.04 and echo $XDG_SESSION_TYPE says x11 for my computer and I use tigerVNC viewer. I used to get video from the PPp running Mobian trixie and now I get the grey on theVNC but I can use it for input if I can see the phone's screen.
I am not sure if wlroots requires a change in the config of the VNC server on the PPp?
hi, no solution but just remarks: looking up the problem there are lots of reasons why wayvnc may show a gray screen. one of the principal ones is that mobian's user (usually 'mobian') is not in the 'video' users group by default. unfortunately, "sudo usermod mobian -aG video" neither fixes the vnc problem, nor the other great problem of mobian that keeps it short of daily driving (for some people): the camera. No matter which camera app is used - related because the video group addition was suggested as a fix for both of these problems.
must be something in the setting of wlroots or wayvnc - strange that no error or warning appears at all, just gray screen (and apparently works in other distros that use phosh).
I think it works on normal Pinephone mobian I dont remember if it has ever worked on PPpro maybe on bookworm bit I dont reliably recall when It stopped now.
Yesterday, 10:46 AM
(This post was last modified: Yesterday, 10:47 AM by j_s.)
(10-13-2025, 10:39 AM)powerflow Wrote: (10-10-2025, 06:25 AM)biketool Wrote: (03-05-2025, 06:18 AM)Kevin Kofler Wrote: The Phosh Wayland compositor (phoc) uses wlroots, which is why it works with wayvnc.
SO I have something based on stripped ubuntu 24.04 and echo $XDG_SESSION_TYPE says x11 for my computer and I use tigerVNC viewer. I used to get video from the PPp running Mobian trixie and now I get the grey on theVNC but I can use it for input if I can see the phone's screen.
I am not sure if wlroots requires a change in the config of the VNC server on the PPp?
hi, no solution but just remarks: looking up the problem there are lots of reasons why wayvnc may show a gray screen. one of the principal ones is that mobian's user (usually 'mobian') is not in the 'video' users group by default. unfortunately, "sudo usermod mobian -aG video" neither fixes the vnc problem, nor the other great problem of mobian that keeps it short of daily driving (for some people): the camera. No matter which camera app is used - related because the video group addition was suggested as a fix for both of these problems.
must be something in the setting of wlroots or wayvnc - strange that no error or warning appears at all, just gray screen (and apparently works in other distros that use phosh).
This is a regression since wayvnc works on bookworm, the image even rotates when the pinephone is rotated. I found 4 groups with user mobian on bookworm but not on trixie (render, video, dialout, and input) and did sudo usermod for each one by one logging out then logging back in. Nothing changed for the wayvnc even after a reboot.
As to no error, when I start wayvnc in trixie, I get:
"Warning: ../src/output.c: 300: Output DSI-1 power state failure"
(Yesterday, 10:46 AM)j_s Wrote: (10-13-2025, 10:39 AM)powerflow Wrote: (10-10-2025, 06:25 AM)biketool Wrote: (03-05-2025, 06:18 AM)Kevin Kofler Wrote: The Phosh Wayland compositor (phoc) uses wlroots, which is why it works with wayvnc.
SO I have something based on stripped ubuntu 24.04 and echo $XDG_SESSION_TYPE says x11 for my computer and I use tigerVNC viewer. I used to get video from the PPp running Mobian trixie and now I get the grey on theVNC but I can use it for input if I can see the phone's screen.
I am not sure if wlroots requires a change in the config of the VNC server on the PPp?
hi, no solution but just remarks: looking up the problem there are lots of reasons why wayvnc may show a gray screen. one of the principal ones is that mobian's user (usually 'mobian') is not in the 'video' users group by default. unfortunately, "sudo usermod mobian -aG video" neither fixes the vnc problem, nor the other great problem of mobian that keeps it short of daily driving (for some people): the camera. No matter which camera app is used - related because the video group addition was suggested as a fix for both of these problems.
must be something in the setting of wlroots or wayvnc - strange that no error or warning appears at all, just gray screen (and apparently works in other distros that use phosh).
This is a regression since wayvnc works on bookworm, the image even rotates when the pinephone is rotated. I found 4 groups with user mobian on bookworm but not on trixie (render, video, dialout, and input) and did sudo usermod for each one by one logging out then logging back in. Nothing changed for the wayvnc even after a reboot.
As to no error, when I start wayvnc in trixie, I get:
"Warning: ../src/output.c: 300: Output DSI-1 power state failure"
I also get this warning but it seems timed to screen switching to power save, not to starting wayvnc. the bug could be something to do with color depth (different on the ppp and pp I believe). meaning there's an overflow in the mapping from sent bytes to rendered pixels.. and it there's no warning/error trap for that in the code. it "thinks" it's displaying just fine. that should not be a regression, though (did it work on the ppp or just the regular pp)?
|