vinegarhq / vinegar

An open-source, minimal, configurable, fast bootstrapper for running Roblox on Linux.
https://vinegarhq.org
GNU General Public License v3.0
409 stars 33 forks source link

Cursor view glitch #308

Closed angrypig555 closed 7 months ago

angrypig555 commented 9 months ago

Describe the bug

To Reproduce

  1. Play entry point
  2. Equip a weapon.

Logs

Player-2023-12-19T06:33:55+01:00.log

System information

Additional context

I have gotten broken XRandr warnings before. Also the logs contain that the animationclip provider cant load something.

Dont know if this is a game error or a vinegar because the cursor is not hidden here

lunarlattice0 commented 9 months ago

Hmm, this may be a recent bug on Roblox. Try wayland.

angrypig555 commented 9 months ago

um you dont want to see how broken my desktop looks and performs with wayland.

Realswitzer commented 9 months ago

Bug has occurred for a few months from what I can remember, and problem occurs both in Xorg and Wayland.

wawashish commented 9 months ago

has to be something to do with nvidia. have you considered using the Nouveau driver instead

gameskip commented 9 months ago

I have the same issue here

furdiburd commented 9 months ago

Same issue here. Amd rx 6700 xt with x11

lunarlattice0 commented 8 months ago

I'm more interested about your processor, now that I am coming back to read this. Processor: Genuine Intel(R) CPU @ 2.00GHz doesn't sound like a valid CPU.

angrypig555 commented 8 months ago

It is an engineering prototype. It is old but it was a very good for its time

secretknowledge commented 8 months ago

I am having the same issue on a new processor, can confirm it is not processor related

Memez145 commented 8 months ago

Hmm, this may be a recent bug on Roblox. Try wayland.

I've been having the same issue- when I switch to Wayland the mouse isn't captured by the screen and it becomes this... thing. (https://github.com/vinegarhq/vinegar/assets/102411440/f189da66-516c-4590-ac73-c2f5c95d9b30)

(GPU: GTX 1060 3GB, CPU: Intel i5-3450)

um you dont want to see how broken my desktop looks and performs with wayland.

Same, haha. Game went from like 120 FPS on X11 to 15FPS with constant screen tearing on Wayland.

angrypig555 commented 8 months ago

Some package update was pushed so i have -1 fps. Also 32 bit opengl libraries now dont work.

Memez145 commented 8 months ago

update, same thing happened to me while playing Randomizer. Only with some weapons that use static crosshairs though. Tried turning off the reticle in Entry Point, no luck. image

ghost commented 7 months ago

Just came across this in The Mimic. Arch Linux, RTX 3070, installed via aur using wine-ge as root. Behavior is odd, it takes whatevers behind the decal im assuming and continues displaying it, gets reset if you press ESC but then instantly happens again. Another thing that might be important to note regarding its behavior, it does not get captured in obs while using obs-vkcapture.

jrelvas-ipc commented 7 months ago

Please don't run wine as root.

ghost commented 7 months ago

Haha, sorry for confusion. I meant wine-ge as wineroot. 😅

lunarlattice0 commented 7 months ago

Seems to be entry point specific. Perhaps contact the developer? Not much we can do on our end...

secretknowledge commented 7 months ago

I have also been able to replicate in The Mimic so it seems to be across multiple games.

furdiburd commented 7 months ago

I have also been able to replicate in The Mimic so it seems to be across multiple games.

So at least we know its an issue with vinegar wine. Does someone know a way to see what trigger this?

edit: so its the issue with roblox + wine. OK

apprehensions commented 7 months ago

This is not a problem with Vinegar. this is a problem with Wine and Roblox.

secretknowledge commented 7 months ago

If so, does anybody know a working wine version for this?

ghost commented 7 months ago

I believe this is an issue with NVIDIA and NVIDIA drivers. On my laptop, an Intel with integrated graphics, same exact config & installation as my desktop, the problem does not persist.

furdiburd commented 7 months ago

I believe this is an issue with NVIDIA and NVIDIA drivers. On my laptop, an Intel with integrated graphics, same exact config & installation as my desktop, the problem does not persist.

I use amd gpu and have the bug. So if i got it right this happens on NVIDIA and AMD cards but not on intel?

secretknowledge commented 7 months ago

I believe someone earlier was able to reproduce on an AMD card, so maybe something related to the processor?

jrelvas-ipc commented 7 months ago

For everyone who has posted here, please follow the instructions I've given here: https://github.com/vinegarhq/vinegar/issues/228#issuecomment-1879221960

jrelvas-ipc commented 7 months ago

@lunarlettuce

Seems to be entry point specific. Perhaps contact the developer? Not much we can do on our end...

Definitely not. Developers can't just copy parts of the screen like that with Roblox's API. This is either an X11 bug (no one has reported this on Wayland) or a Roblox one.

Memez145 commented 7 months ago

@lunarlettuce

Seems to be entry point specific. Perhaps contact the developer? Not much we can do on our end...

Definitely not. Developers can't just copy parts of the screen like that with Roblox's API. This is either an X11 bug (no one has reported this on Wayland) or a Roblox one.

A similar bug happens on Wayland for me, where the cursor isn't caught by Roblox and the weird artifact follows the cursor instead of being in the centre of the screen.

Memez145 commented 7 months ago

ALRIGHT the bug just stopped for me when I tested it today on X11. Can other people check to see if it's stopped for them as well?

ghost commented 7 months ago

Definitely not fixed. @Memez145 , do you mind telling us anything that you may have done to fix it?

Memez145 commented 7 months ago

Definitely not fixed. @Memez145 , do you mind telling us anything that you may have done to fix it?

I reinstalled Vinegar recently, but otherwise I don't remember doing anything.