window-maker / wmaker

Mirror of the official repository repo.or.cz/wmaker-crm.git. Do not send pull requests here, send your patches to wmaker-dev@googlegroups.com instead
https://repo.or.cz/wmaker-crm.git
GNU General Public License v2.0
139 stars 19 forks source link

32 inch 4k screen #44

Open Bajocensis opened 7 months ago

Bajocensis commented 7 months ago

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 commented 7 months ago

you can use xrandr to scale everything.

let's say

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

On Wed, 24 Apr 2024 01:06:56 -0700 Bajocensis @.***> wrote:

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

-- Reply to this email directly or view it on GitHub: https://github.com/window-maker/wmaker/issues/44 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

-- There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.

-- C.A.R. Hoare

Bajocensis commented 7 months ago

:(

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

cpchan commented 7 months ago

You can see the names of your outputs by doing:

xrandr -q

Just look for the one that is "connected"

Bajocensis commented 7 months ago

Many thanks for your answer and your help. Here is the result :+1:

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 commented 7 months ago

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 commented 7 months ago

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 commented 4 months ago

Up !

jordan4ibanez commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

norayr commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

Bajocensis commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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