Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32 inch 4k screen #44

Open
Bajocensis opened this issue Apr 24, 2024 · 21 comments
Open

32 inch 4k screen #44

Bajocensis opened this issue Apr 24, 2024 · 21 comments

Comments

@Bajocensis
Copy link

Hello everyone,

I’ve been using Windowmaker since… 2000 ! I have never found a better window manager for my use.

However, recently, I acquired a 32 inch 4k screen, and there was a problem. Windowmaker does not seem suitable for this type of screen (icon size, refresh, etc.). For example, with VLC, the image is jerky, it blurs...

Any help to avoid migrating to Gnome or a similar manager? Many thanks !

Best regards,
Bajo

@norayr
Copy link
Contributor

norayr commented Apr 24, 2024 via email

@Bajocensis
Copy link
Author

:(

bajo@Debian:~$ xrandr --output eDP1 --scale 0.7x0.7
warning: output eDP1 not found; ignoring

@cpchan
Copy link

cpchan commented Apr 24, 2024

You can see the names of your outputs by doing:

xrandr -q

Just look for the one that is "connected"

@Bajocensis
Copy link
Author

Many thanks for your answer and your help. Here is the result 👍

Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
XWAYLAND0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 700mm x 390mm
3840x2160 59.98*+
2048x1536 59.95
1920x1440 59.97
1600x1200 59.87
1440x1080 59.99
1400x1050 59.98
1280x1024 59.89
1280x960 59.94
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.52
2560x1600 59.99
1920x1200 59.88
1680x1050 59.95
1440x900 59.89
1280x800 59.81
720x480 59.71
640x400 59.95
320x200 58.96
3200x1800 59.96
2880x1620 59.96
2560x1440 59.96
2048x1152 59.90
1920x1080 59.96
1600x900 59.95
1368x768 59.88
1280x720 59.86
1024x576 59.90
864x486 59.92
720x400 59.55
640x350 59.77

@thiagosatake
Copy link

Getting the screen name:
xrandr | grep connected | grep -v disconnected | awk '{print $1}'
Reduce the screen size by 20% (zoom-in)
xrandr --output screen-name --scale 0.8x0.8

@Bajocensis
Copy link
Author

Thanks for your help.

I tried, unfortunetly :

bajo@Debian:$ xrandr | grep connected | grep -v disconnected | awk '{print $1}'
XWAYLAND0
bajo@Debian:
$ xrandr --output XWAYLAND0 --scale 0.8x0.8
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 22
Current serial number in output stream: 24

@Bajocensis
Copy link
Author

Up !

@jordan4ibanez
Copy link

jordan4ibanez commented Oct 10, 2024

I am also having this issue. Perhaps we could have a simple startup thing to re-organize windows and scale the entire thing by default?

Using the command line to do this, is a solution. But it does not feel very windowmaker-ish. I'm sure I can hackjob this together maybe.

@Bajocensis
Copy link
Author

Hey Jordan,

I would like to do this with you... unfortunately I don't know how to program, and I don't know the command lines in WM well. I have been using this extremely comfortable environment for more than twenty years and today I feel a little lost in Gnome...

Bajo

@jordan4ibanez
Copy link

jordan4ibanez commented Oct 11, 2024

Hey Jordan,

I would like to do this with you... unfortunately I don't know how to program, and I don't know the command lines in WM well. I have been using this extremely comfortable environment for more than twenty years and today I feel a little lost in Gnome...

Bajo

I have tested windowmaker on my 3 4k monitor setup. Unfortunately it is very hard to use, even set up properly. The dock will not go to the middle monitor, and it will crash when running xrandr on startup. My only solution for this is https://github.com/phkaeser/wlmaker.

@Bajocensis
Copy link
Author

Thanks. It seems a bit complicated though, not sure it will succeed...

@norayr
Copy link
Contributor

norayr commented Oct 13, 2024

i don't understand why do you have xwayland? why do you have wayland at all?

look, on one of my machines:

$ xrandr -q
Screen 0: minimum 8 x 8, current 2256 x 1504, maximum 32767 x 32767
eDP1 connected primary 2256x1504+0+0 (normal left inverted right x axis y axis) 280mm x 190mm
2256x1504 60.00*+ 48.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
DP4 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

on other, on the linux phone:

$ xrandr -q
Screen 0: minimum 320 x 200, current 720 x 1440, maximum 8192 x 8192
DSI-1 connected primary 720x1440+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
720x1440 60.01*+
HDMI-1 disconnected (normal left inverted right x axis y axis)

so on my laptop the screen name is eDP1 and on phone it is DSI-1.

you should run xrandr command by mentioning that name:

in my case:

xrandr --output eDP1 --scale 0.7x0.7

you can try 0.8 or 0.6 or 0.9.

my advice would be get rid of wayland, just run normal xorg. i don't know what distribution/os do you use, you should ask on the distribution specific forums/chats on how to not run wayland. i guess all your problems are because of wayland.

@Bajocensis
Copy link
Author

Thank you very much for these details. I'm running Debian Bookworm.
I will ask on Debian forum how to how to not run wayland. Stay tuned !
Many thanks, I miss WM ε(´סּ︵סּ`)з

@Bajocensis
Copy link
Author

Something weird: in my xorg.conf, I see nvidia everywhere even though I have an Intel card... Is this normal?

@Bajocensis
Copy link
Author

And when I am with WM :

$ xrandr -q
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
HDMI-1 disconnected primary (normal left inverted right x axis y axis)
HDMI-2 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
3840x2160 60.00*+ 50.00 59.94 30.00 25.00 24.00 29.97 23.98
2560x1440 59.95
1920x1080 60.00 50.00 59.94 30.00 24.00 29.97 23.98
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DP-1 disconnected (normal left inverted right x axis y axis)

@norayr
Copy link
Contributor

norayr commented Oct 13, 2024

good, now we don't see wayland.
and we know that your screen is HDMI-2 and its current resolution is 3840x2160.

so i would do, after the windowmaker started:

xrandr --output HDMI-2 --scale 0.7x0.7

in terminal.
or 0.8, or whatever.
when you feel you find the comfortable number for scaling, i would just write that command in to

~/GNUstep/Library/WindowMaker/autostart

@norayr
Copy link
Contributor

norayr commented Oct 13, 2024

on nvidia, i guess you have the notebook with two video cards, intel and nvidia. intel is the default, and i guess your debian detected that and when your x starts, you use intel, but it will try to switch to nvidia automatically when you run something like a game.
i never used such laptops, and if i had one like that, i would never use nvidia, but only intel. not because intel is good or nvidia is bad, just to have simple setup, and i don't play 3d games.

@Bajocensis
Copy link
Author

Many thanks. It's not a laptop, but a NiPoGi mini-pc.
With the change in scale, the resolution of the image is not as good as the initial one unfortunately, it bleeds a little.

And I still have the VLC problem mentioned in the first post in the thread...

But it’s progressing!

@Bajocensis
Copy link
Author

HDMI 1 and HDMI2 don't have the same frequency : 30 Hz and 60 Hz. I'm on 60 Hz, could this have an influence? Switch to 30 Hz?

@norayr
Copy link
Contributor

norayr commented Oct 13, 2024

no idea, that's all i know.
also i am not sure it is possible to have same clarity of picture when scaling.
when scaling it's not your native resolution so it zooms in sort of.

@Bajocensis
Copy link
Author

Many thanks. It's ok now, even if the resolution is not the best for a 4K screen, but I can work with WM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants