View previous topic :: View next topic |
Author |
Message |
Snow-0 n00b
Joined: 02 May 2021 Posts: 23
|
Posted: Sun Jun 13, 2021 7:04 pm Post subject: Moving cursor to the side of the montior causes dwm to move |
|
|
After rebooting my computer and logging into dwm, gentoo started to act unusual. My secondary monitor is not detected through xrandr.
Moving my cursor to the right side of the primary monitor causes dwm to move in the opposite direction. I can bring dwm back by moving my cursor on the left side.
I thought it was a something with the nvidia drivers so I reinstalled but that doesn't solve the issue.
Here is how it looks: https://imgur.com/a/ujZmcgY |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sun Jun 13, 2021 7:16 pm Post subject: |
|
|
Looks like your virtual screen size is larger than your physical screen size.
Please post your xorg.conf and your /var/log/Xorg.0.log. You may want to use wgetpaste to post your Xorg.0.log. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Jun 13, 2021 7:26 pm Post subject: |
|
|
Snow-0,
That's a feature, not a bug.
You are sliding your ViewPort around on your virtual desktop.
Xorg has always provided that but its not much used today.
I suspect that Xorg is drawing the pixel buffer as intended but displaying it on one display.
The files that mike155 requested will help the diagnosis. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Snow-0 n00b
Joined: 02 May 2021 Posts: 23
|
Posted: Sun Jun 13, 2021 8:13 pm Post subject: |
|
|
I don't have a xorg.conf file but instead have a xorg.conf.d. The only thing there is my mouse sensitivity config.
Here is my /var/log/Xorg.0.log: https://dpaste.com/CJRCUPL5F |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Jun 13, 2021 10:07 pm Post subject: |
|
|
Snow-0,
That Xorg.0.log says that Xorg didn't work at all. Code: | [ 222.597] (EE) no screens found(EE) | because your have DRI support missing in your kernel. Code: | [ 222.597] (EE) open /dev/dri/card0: No such file or directory |
dwm cannot work like that, so that's not the Xorg.0.log file that we need. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Snow-0 n00b
Joined: 02 May 2021 Posts: 23
|
Posted: Sun Jun 13, 2021 11:06 pm Post subject: |
|
|
There's another log file that's named Xorg.0.log.old: https://dpaste.com/3S6WD83WB
I found out these two lines in my .xinitrc file causes the sliding to occur
Code: |
xrandr --output DP-2 --primary --mode 1920x1080 --rate 144 --left-of DP-4 &
xrandr --output DP-4 --mode 1920x1080 --rate 144 --right-of DP-2 &
|
I commented these two lines out and the sliding stopped, but now the refresh rate is at 60 instead of 144. I tried adding my monitor settings to a monitor.conf and having it in /etc/X11/xorg.conf.d but the changes don't take effect.
Code: |
Section "Monitor"
Identifier "DP-2"
Option "Primary" "true"
Option "LeftOf" "DP-4"
Modeline "1920x1080_144.00" 451.72 1920 2080 2296 2672 1080 1081 1084 1174 -HSync +Vsync
EndSection
Section "Monitor"
Identifier "DP-4"
#Option "RightOf" "DP-2"
Modeline "1920x1080_144.00" 451.72 1920 2080 2296 2672 1080 1081 1084 1174 -HSync +Vsync
EndSection
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Jun 13, 2021 11:19 pm Post subject: |
|
|
Snow-0,
Code: | Fatal server error:
[ 57.910] (EE) no screens found(EE) |
So that's not it either.
Your Xorg.0.log is only is /var/log if xorg is run suid root. For most users, that's not true any more.
The log will be in ~ somewhere. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Snow-0 n00b
Joined: 02 May 2021 Posts: 23
|
|
Back to top |
|
|
|