10.0.38 display issue

Moderators: dimkr, Forum moderators

Post Reply
plinej
Posts: 236
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 6 times
Been thanked: 98 times

10.0.38 display issue

Post by plinej »

Everything boots up fine but for some reason my display isn't the preferred 1920x1080.

Code: Select all

wlr-randr --output eDP-1 --mode 1920x1080@40.036999 Hz --pos 0,0 --transform normal --scale 1.25

The 1.25 that it defaults to makes my display 25% larger and actually makes it 1536x864. When I try to change the scale to 1.00 it will either make large black bars on the bottom and right side of screen taking up 25% of my screen or it will correctly adjust 1920x1080 at 1.00 scale but that same part of the screen will just flicker. Sometimes the screen will freeze when using the Wayland video wizard tool as well. I can't figure out why it defaults to 1.25 scale instead of 1.00. I am using the amdgpu module if that makes a difference.

wlr-randr output:
eDP-1 "Unknown 0x4799 0x00000000 (eDP-1)"
Physical size: 340x190 mm
Enabled: yes
Modes:
640x480 px, 60.056000 Hz
800x600 px, 60.056000 Hz
1024x768 px, 60.056000 Hz
1280x720 px, 60.056000 Hz
1280x800 px, 60.056000 Hz
1440x900 px, 60.056000 Hz
1280x1024 px, 60.056000 Hz
1680x1050 px, 60.056000 Hz
1920x1080 px, 40.036999 Hz (current)
1920x1080 px, 60.056000 Hz (preferred)
Position: 0,0
Transform: normal
Scale: 1.250000

You can download my packages at https://archive.org/download/plinej-packages
dimkr
Posts: 2016
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 38 times
Been thanked: 926 times

Re: 10.0.38 display issue

Post by dimkr »

dwl is patched so it automatically chooses the scaling factor that matches your screen DPI.

The scaling factor = (width in pixels / (width in mm / 25.4)) / 96, and it's rounded down to 1, 1.25, 1.5 or 2.

In your case, it's (1920 / (340 / 25.4)) / 96 = 1.49, which is <1.5, therefore the chosen scaling factor is 1.25.

Flickering and crashes are indeed issues that will hopefully get fixed before the stable 10.0.0 release. At the moment, I don't have a fix.

plinej
Posts: 236
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 6 times
Been thanked: 98 times

Re: 10.0.38 display issue

Post by plinej »

The weird thing is that the modified remastered version of 10.0.24 that I posted actually displays correctly 1920x1080 at 1.00 scale.

You can download my packages at https://archive.org/download/plinej-packages
dimkr
Posts: 2016
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 38 times
Been thanked: 926 times

Re: 10.0.38 display issue

Post by dimkr »

There is a possibility that 10.0.24 was built before this feature was added :)

plinej
Posts: 236
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 6 times
Been thanked: 98 times

Re: 10.0.38 display issue

Post by plinej »

Moving the dwl-kiosk executable from 10.0.24 over to 10.0.38 seems to have resolved my issue...

You can download my packages at https://archive.org/download/plinej-packages
dimkr
Posts: 2016
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 38 times
Been thanked: 926 times

Re: 10.0.38 display issue

Post by dimkr »

I added 10.0.x development builds with X.Org, at least until for now. Ideally, I'd like to get the two Wayland flavors polished and stable enough so I can drop this third X.Org flavor before the first stable release.

plinej
Posts: 236
Joined: Thu Jul 16, 2020 1:39 am
Has thanked: 6 times
Been thanked: 98 times

Re: 10.0.38 display issue

Post by plinej »

Yes, I'm currently running the 10.0.42 with Xorg. Everything seems to be working fine. Thank you!

You can download my packages at https://archive.org/download/plinej-packages
Post Reply

Return to “Vanilla Dpup”