0

I installed and ran Steam inside Weston, when I enter Steam classic layout (not big screen), the mouse position is off where Steam thinks it's pointing at.

For example: Here my cursor is not pointing at LIBRARY tab on the upper taskbar, however LIBRARY tab is highlighted, so Steam thinks my mouse is on LIBRARY: enter image description here

And in settings window, it's the same, I am not pointing at the "Change" button but it is highlighted: enter image description here

However, this problem only exists in upper taskbar, lower taskbar, and independently opened window like settings, in the middle part of Steam layout, including game list on the left, and details page of the game, cursor offset does not appear. In this picture, it shows the game name is highlighted correctly when my cursor is on it. enter image description here

And if I open it in Big Screen mode, the problem does not appear: enter image description here

Sorry for taking pictures from display directly because it's in a docker container and I can't correctly screenshot for many reasons. But I guarantee it's not the docker container's problem because if I ran weston&steam in a docker or directly in my local host, the same problem happened. So it should be the problem of whether weston or steam.

The cursor position is correct in the shell of and other apps running in the weston, so I think it's some wrong matching between Steam and weston, the problem is that I can't find why and where things go wrong.

I tried:

Inside Steam:

  1. Running Steam without using weston, both in docker and out docker, it works fine.
  2. Changing resolution (video dimensions) of Steam layout, turning off and on "Enlarge text and icons based on monitor size", "Enable smooth scrolling in web views", "Enable GPU accelerated rending in web views", "Enable hardware video decoding, if supported" in the Interface tab of settings. But it does not work.
  3. Changing the display size for library user interface elements, it does not work.

Reading log: Read kernel log, found no problem. Read weston log, found some errors but running on local host also has same errors. Read command line log, found no specific errors regarding steam layout. Steam might not find or output cursor offset to log.

For weston: I checked the log while starting to run weston, the resolution setting is the same as my desktop screen setting and steam setting, all are 1920x1080p. So should not be the problem of weston resolution. I tried to add a weston.ini file to change the resolution, but failed due to seatd crash and then I felt no need for that because resolution is checked to be matched.

Inside .steam directory: Checked same files between local host Steam folder and Steam folder in docker, either they are 100% the same, or the difference is just about timestamp. There are few files existing in docker but not on local host, I removed them and ran Steam, problem persists. I also tried to locate the exact file where Steam layout is coded, but I didn't manage to find it.

0 Answers0