deathowl / ddlm

deathowl's dummy login manager
GNU General Public License v3.0
40 stars 11 forks source link

Corrupted display #10

Open hlbstd opened 1 year ago

hlbstd commented 1 year ago

Hi,

ddlm display is broken on my machine. The pixels seem to be at the proper height but they're "dispersed" on the x axis, which makes the greeter illegible. The greeter seems to work fine apart from the display issue (I can make out the characters appearing on screen as I type, I can see that there are 3 input I can select because I see a yellow line changing height).

I have cloned the repository and removed the into_raw_mode call as it prevents logging the program output as seen in #8. The behavior did no seem to change but I got no log at all, the program seems to think that everything is fine (and from what I can see, besides the illegible aspect, it is).

I'm have an nvidia gpu, do you know if ddlm is expected to function properly on them ? I also have a 21:9 display, are they supported ?

Lastly the program prevents tty switching, which is nice, but makes debugging difficult, it would be nice to have the option to disable this behavior. In the meantime could you direct me to where this is done so I can remove it for my tests ?

deathowl commented 1 year ago

I also use an nvidia gpu, and everything is fine. The 21:9 aspect ratio seems to seems to be the issue.

deathowl commented 1 year ago

as we're setting the framebuffer to 1024x768 as that seems to be a good common denominator. If you wish adding aspect ratio support would be a quite welcome addition