Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Can't turn right / multihead issues

#1
Hi all - has anyone gotten Xonotic working in a multi-head set up? I am trying under Linux with Xinerama, and so far I have it working across three screens except for one annoying issue - I can't turn right using the mouse!

Well rather I can turn right, but it stops at a particular angle. I can turn left no problems, but when I turn right again it stops at the exact same place. If I turn right *really* slowly then I can move past the sticking point, but that's not really practical in-game...plus it sticks again the instant I move right too quickly.

Pressing ESC to get back to the menu also exhibits the same problem - I can move the mouse cursor over the *left* half of the screen, but it's like there's an invisible barrier down the middle of the screen and the cursor is unable to cross it, so I can't click on anything on the right-hand side of the screen.

I'm assuming it's doing something weird like applying the geometry of one screen onto the other (the first screen is 600 pixels wide and the second is 1280, which is as good as half), so does anyone know anything about this? Is there any way to override the screen geometry? Is there any information at all about multihead Xonotic? I can't find much with Google.
Reply

#2
Does it work fine when windowed? Do you use glx or sdl?
Reply

#3
Thanks for the reply. I'm using glx - sdl doesn't work at all, it grabs my mouse and keyboard and then ignores any input from them, so the only thing I can do is switch to a text console and kill it. But glx seems to work.

It behaves the same when in windowed mode. It works fine when run on a single screen, the problem only seems to occur when the output spans more than one screen and the middle of the window is not on the left-most screen.

What seems to be happening is that as the mouse moves around, it is warped back to the middle of the screen to ensure a continuous range of movement (which is normal.) The problem is the mouse movement is also limited to the window size, so the cursor doesn't accidentally fly out into another app and activate it when you click. But the size of this limited area seems to have been miscalculated, and it's using the size of the wrong monitor, instead of the size of the whole window.

Any ideas where in the code this is set? Maybe I can play around and come up with a solution.
Reply

#4
After looking at the code for a bit, I think I found a workaround! If you set vid_stick_mouse to 1 in the config file then the problem goes away!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Can't hear the announcer voice anymore gianmarco 4 1,297 01-16-2024, 12:26 PM
Last Post: gianmarco
  [INVALID] Resolution can't be changed Majki 17 14,660 08-14-2022, 02:41 AM
Last Post: FAF
  [NEED HELP] Can't set 2k resolution noteven 4 3,621 05-07-2021, 02:33 PM
Last Post: noteven
Shocked [NEED HELP] Helps for a right way to create a xon server and/or create concise guides derrant 6 3,142 03-31-2021, 07:40 AM
Last Post: Antibody
  [NEED HELP] Unable to turn on gamepad for gameplay JJ^4884 1 3,426 10-09-2020, 07:11 AM
Last Post: Freddy
  [NEED HELP] Can't join anymore fenjrill 5 3,631 07-17-2020, 07:04 AM
Last Post: LegendGuard
  [NEED HELP] Sudden loss of sound in Xonotic, can not get it to return. SeveredinTwain 5 4,822 03-26-2020, 05:55 AM
Last Post: FAF
  [SOLVED] how can i get defrag entities in netradiant? bananovenc 5 4,570 01-03-2020, 11:31 AM
Last Post: SpiKe
Question [NEED HELP] can't build netradiant (SOLVED) bananovenc 7 5,914 12-25-2019, 03:34 PM
Last Post: illwieckz
  [SOLVED] Can't click on my name in XonStats TheChrississin 4 3,044 03-09-2019, 10:24 AM
Last Post: falco

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-