Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

Game camera does not move to right when playing in a wayland session.

Open lisboaigor opened this issue 2 years ago • 2 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist:
  • Have you checked for system updates?: Yes
  • Are you using the latest stable video driver available for your system?: Yes
  • Have you verified the game files?: Yes

Please describe your issue in as much detail as possible:

Game camera does not move to right when using Wayland. When using X.org, it works.

Steps for reproducing this issue:

  1. Open the game in a Wayland session.
  2. Test a hero or create a custom game.
  3. Try move the camera to right.

lisboaigor avatar Jul 09 '22 13:07 lisboaigor

Hello @lisboaigor, from your system information:

    Primary Display Resolution:  1360 x 768
    Desktop Resolution: 1366 x 768

Your desktop resolution is 6 pixels wider than your display. It's possible that the desktop environment is having the game's fullscreen window render the right edge slightly off screen and not allowing your mouse to reach it.

kisak-valve avatar Jul 09 '22 13:07 kisak-valve

Hello @lisboaigor, from your system information:

    Primary Display Resolution:  1360 x 768
    Desktop Resolution: 1366 x 768

Your desktop resolution is 6 pixels wider than your display. It's possible that the desktop environment is having the game's fullscreen window render the right edge slightly off screen and not allowing your mouse to reach it.

Thank you for the answer, @kisak-valve! But I think the system is switching these informations. When opening the game, I see 6 pixel blank gap from the right edge, both in X.org and Wayland. I can't move to right just on Wayland.

image

lisboaigor avatar Jul 09 '22 14:07 lisboaigor

@lisboaigor, Do you fix this bug?

nuranov04 avatar Jan 15 '23 18:01 nuranov04

@lisboaigor, Do you fix this bug?

Unfortunately not. I stopped playing the game on Linux.

lisboaigor avatar Jan 15 '23 18:01 lisboaigor

Install libxcvt0_0.1.2-1 then restart the system works for me

izzatzr avatar Mar 13 '23 10:03 izzatzr

@izzatzr Which operating system are you using? And which version? libxcvt is a library that should be picked up automatically as a dependency of XWayland, when a relatively new XWayland is in use.

RyuzakiKK avatar Mar 13 '23 14:03 RyuzakiKK

@izzatzr Which operating system are you using? And which version? libxcvt is a library that should be picked up automatically as a dependency of XWayland, when a relatively new XWayland is in use.

I use ubuntu 22.04 LTS

izzatzr avatar Mar 13 '23 14:03 izzatzr

I use ubuntu 22.04 LTS

AFAICT Ubuntu 22.04 is shipping with XWayland 2:22.1.1-1ubuntu0.5 and libxcvt0 0.1.1-3. libxcvt0 0.1.2-1 is only for Ubuntu 22.10.

@izzatzr where did you pick libxcvt0_0.1.2-1 from? Does that mean that you previously had libxcvt0 0.1.1-3 from the official Ubuntu repositories, and once you upgraded libxcvt0 the issue disappeared?

RyuzakiKK avatar Mar 13 '23 15:03 RyuzakiKK

I use ubuntu 22.04 LTS

AFAICT Ubuntu 22.04 is shipping with XWayland 2:22.1.1-1ubuntu0.5 and libxcvt0 0.1.1-3. libxcvt0 0.1.2-1 is only for Ubuntu 22.10.

@izzatzr where did you pick libxcvt0_0.1.2-1 from? Does that mean that you previously had libxcvt0 0.1.1-3 from the official Ubuntu repositories, and once you upgraded libxcvt0 the issue disappeared?

yes indeed, my machine is fresh installed ubuntu 22.04 LTS with libxcvt0 0.1.1-3 shipped. i found and try the solution from https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5694, they suggest installing libxcvt0 0.1.2-1

izzatzr avatar Mar 13 '23 15:03 izzatzr

If Ubuntu LTS is shipping a mildly defective package, then that should be reported to the distro's package maintainer(s) for libxcvt so they can ponder if they want to update or patch the library they're providing.

kisak-valve avatar Mar 13 '23 16:03 kisak-valve

have the same problem, installed those libraries, it is still not solving the problem.

killdrm avatar May 10 '23 20:05 killdrm

have ubuntu 22.0.4 LTS

killdrm avatar May 10 '23 20:05 killdrm