Dasung Eink Monitor optimization

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

Rock 6

Desktop environment (KDE, LXQT…):

KDE

Description of the issue (screenshots if relevant):

My "Dasung 13K" eink monitor just came in the mail and OM is not recognizing any resolution except the highest which makes it impossible to use. I have tired it out in an Ubuntu Live session and the problem doesn't exist. There i can choose from a variety of resolutions. Web search tells me Dasung makes the LInux driver with Ubuntu debian systems in mind and it may not work as well on other systems. I am currently searching for a way to optimize it for OM. At the very least I need a resolution what is usable.

Relevant informations (hardware involved, software version, logs or output…):

So far I have tried, manually adding a resolution using xrandr. The resolution shows up in the system settings > displays after I add it, but once it’s applied it just gives me a black screen.

To even begin manually adding a resolution I had to add the package cvt.znver1. I’m wondering if there are any other packages which might help??

I read that the program “arandr” is a helpful GUI to work with monitor settings, but I can’t find it thorugh dnfdrake and although it exists when searching in Discover, it seems to be broken and is stuck on “loading” never getting to offer “install”. I might file a bug report on it IDK.

Grateful for any help leading to a resolution about my resolution.

This may be useless but here is the xrandr --verbose outubt from Ubuntu and Open Mandriva respectively:
DisplayonUbuntu.txt (5.1 KB)

DisplayonOM.txt (3.1 KB)

You can put in a package request.

I managed to get the login screen scaled how I want it by adding the line

xrandr --output HDMI-A-1 --scale 0.35x0.35 to the file /usr/share/X11/xdm/Xsetup_0
I’m happy that worked but the problem is now after the login screen the user defaults overide the change and it reverts back to the bad scaling.

Any suggestions on how to prevent the override or which file i need to modify to scale after login? I found other suggestions but i need something specific to Open Mandriva.

Hi,
Have you tried changing the scaling?
i.e.

My laptop screen as you see has too high resolution for its size, so I scaled it.
It works great with my setup on wayland at least.

That’s what I did using the xrandr --scale option.

Unfortunately I don’t have that option in my system settings. I’m using OM Rock 6… which are you using? Do you have any idea which package I might be missing? …Actually, you said you’re using Wayland. That might be the difference. Im using X11. I really don’t want to switch to Wayland, becasue of other problems I get with that.

The lack of that option in the image also is the same when I have my ordinary Dell monitor on, so I don’t think it’s specific to the hardware. Note, the “Global Scale” option for me doesn’t do anything useful.

I’m on Rome and had to switch to Wayland due to the usage of 2 monitors with different scaling, which is supported only in wayland.

The
/usr/share/X11/xdm/Xsetup_0 file only handles login manager, not the user session.

In your case, on X11, perhaps Global Scale should work.
Try setting and then logging off and on again.

If this doesn’t work, check if running xrandr after login does scale.
Once logged in, open konsole and run xrandr --output HDMI-A-1 --scale 0.35x0.35
If it scales, you can set it up as autostart script in KDE.
Create a file, something like scaling.sh, add xrandr to it, with a sleep, to allow the system to set the monitor, i.e.:

#!/bin/bash
sleep 3
xrandr --output HDMI-A-1 --scale 0.35x0.35

Make it executable and add it to autostart on login in KDE System Settings.

Hope it helps.

1 Like

The global scale setting literally does nothing observable. [EDIT: scratch that… The global scale handles window internal scaling. actually very useful, but not part of the resolution scaling]

Ok I just now made the script in /.config/autostart and gave it permission to execute but for some reason it won’t autostart. The script itself does work, as I tested it. but only when run manually after login. If I don’t run it the scaling stays the same.

Have you added it in the KDE settings?
i.e. here:


Or does it shows there?
I think with the new KDE it is not enough to add the script.

1 Like

the whole thread is the solution, but that was the final step.

Add the startup script through System Settings, also the script shouldn’t go in the same autostart folder. I had to move it into the home folder before it worked.

1 Like