Chatwheel doesn't work with sdl_displayindex #1011

Closed
monban opened this Issue Aug 28, 2016 · 8 comments

Comments

Projects
None yet
3 participants

monban commented Aug 28, 2016 edited

When using -sdl_displayindex 2 to force Dota 2 to the correct monitor, the chatwheel doesn't work properly. I believe this to be a problem with the coordinate system, because it acts like the mouse is far to the left. If I move the mouse quickly up or down I can deflect it away from the far left ("Stun now!") option, but it quickly moves back. Basically "Stun now!" is the only option I'm able to select, or occasionally the items directly above or below.

Other than that the game works flawlessly.

flynn@buttercup:~$ uname -a
Linux buttercup 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
flynn@buttercup:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.5 (jessie)
Release:    8.5
Codename:   jessie
flynn@buttercup:~$ sudo lshw -short
H/W path Device Class Description
================================================== ===
system Computer
/0 bus Motherboard
/0/0 memory 11GiB System memory
/0/1 processor Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
/0/100 bridge 5520/5500/X58 I/O Hub to ESI Port
/0/100/1 bridge 5520/5500/X58 I/O Hub PCI Express Root Port 1
/0/100/1/0 storage Marvell Technology Group Ltd.
/0/100/2 bridge 5520/5500/X58 I/O Hub PCI Express Root Port 2
/0/100/2/0 bus uPD720200 USB 3.0 Host Controller
/0/100/2/0/0 usb2 bus xHCI Host Controller
/0/100/2/0/0/1 bus 4-Port USB 3.0 Hub
/0/100/2/0/0/2 bus 4-Port USB 3.0 Hub
/0/100/2/0/1 usb1 bus xHCI Host Controller
/0/100/3 bridge 5520/5500/X58 I/O Hub PCI Express Root Port 3
/0/100/3/0 display Pitcairn XT [Radeon HD 7870 GHz Edition]
/0/100/3/0.1 multimedia Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
/0/100/10 generic 7500/5520/5500/X58 Physical and Link Layer Registers Port 0
/0/100/10.1 generic 7500/5520/5500/X58 Routing and Protocol Layer Registers Port 0
/0/100/11 generic 7500/5520/5500 Physical and Link Layer Registers Port 1
/0/100/11.1 generic 7500/5520/5500 Routing & Protocol Layer Register Port 1
/0/100/13 generic 7500/5520/5500/X58 I/O Hub I/OxAPIC Interrupt Controller
/0/100/14 generic 7500/5520/5500/X58 I/O Hub System Management Registers
/0/100/14.1 generic 7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers
/0/100/14.2 generic 7500/5520/5500/X58 I/O Hub Control Status and RAS Registers
/0/100/15 generic 7500/5520/5500/X58 Trusted Execution Technology Registers
/0/100/1a bus 82801JI (ICH10 Family) USB UHCI Controller #4
/0/100/1a/1 usb5 bus UHCI Host Controller
/0/100/1a.1 bus 82801JI (ICH10 Family) USB UHCI Controller #5
/0/100/1a.1/1 usb6 bus UHCI Host Controller
/0/100/1a.2 bus 82801JI (ICH10 Family) USB UHCI Controller #6
/0/100/1a.2/1 usb7 bus UHCI Host Controller
/0/100/1a.7 bus 82801JI (ICH10 Family) USB2 EHCI Controller #2
/0/100/1a.7/1 usb3 bus EHCI Host Controller
/0/100/1a.7/1/1 bus USB2.0 Hub
/0/100/1a.7/1/2 bus USB2.0 Hub
/0/100/1a.7/1/2/2 generic SCRx31 USB Smart Card Reader
/0/100/1b multimedia 82801JI (ICH10 Family) HD Audio Controller
/0/100/1c bridge 82801JI (ICH10 Family) PCI Express Root Port 1
/0/100/1c/0 eth1 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1d bus 82801JI (ICH10 Family) USB UHCI Controller #1
/0/100/1d/1 usb8 bus UHCI Host Controller
/0/100/1d.1 bus 82801JI (ICH10 Family) USB UHCI Controller #2
/0/100/1d.1/1 usb9 bus UHCI Host Controller
/0/100/1d.2 bus 82801JI (ICH10 Family) USB UHCI Controller #3
/0/100/1d.2/1 usb10 bus UHCI Host Controller
/0/100/1d.2/1/2 input Dell USB Entry Keyboard
/0/100/1d.7 bus 82801JI (ICH10 Family) USB2 EHCI Controller #1
/0/100/1d.7/1 usb4 bus EHCI Host Controller
/0/100/1d.7/1/5 bus USB 2.0 Hub
/0/100/1d.7/1/5/2 input USB OPTICAL MOUSE
/0/100/1e bridge 82801 PCI Bridge
/0/100/1f bridge 82801JIR (ICH10R) LPC Interface Controller
/0/100/1f.2 storage 82801JI (ICH10 Family) SATA AHCI Controller
/0/100/1f.3 bus 82801JI (ICH10 Family) SMBus Controller
/0/101 bridge Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers
/0/102 bridge Xeon 5500/Core i7 QuickPath Architecture System Address Decoder
/0/103 bridge Xeon 5500/Core i7 QPI Link 0
/0/104 bridge Xeon 5500/Core i7 QPI Physical 0
/0/105 bridge Xeon 5500/Core i7 Integrated Memory Controller
/0/106 bridge Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder
/0/107 bridge Xeon 5500/Core i7 Integrated Memory Controller Test Registers
/0/108 bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registers
/0/109 bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registers
/0/10a bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers
/0/10b bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers
/0/10c bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registers
/0/10d bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registers
/0/10e bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers
/0/10f bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers
/0/110 bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registers
/0/111 bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registers
/0/112 bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers
/0/113 bridge Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers
Contributor

gdrewb-valve commented Aug 29, 2016

Do you have three monitors? Monitors are indexed starting from 0 so -sdl_displayindex 2 means use the third monitor. If you don't have a third monitor the illegal monitor index will confuse Dota since it won't be able to retrieve correct monitor location information.

gdrewb-valve self-assigned this Aug 29, 2016

monban commented Aug 29, 2016

I have two monitors. For some reason I need -sdl_displayindex 2 to get it onto the correct monitor. Indexes 0 and 1 both cause the game to start on the incorrect monitor. I tried index 3, just to see if it would trigger an index out of bounds or similar, but the game started, and on the correct monitor. It then hung on shutdown, but that might have been due to me starting and closing it a bunch of times in rapid succession, or possibly just a fluke.

Is there an? [alternate|better|preferred] way to switch monitors? Are there any log files I should be grabbing to help troubleshoot? Thanks.

Contributor

gdrewb-valve commented Aug 29, 2016

Try changing your display index to a legal value and adding -phased_window_create to your launch options. Does that start on the correct monitor?

The regular console spew from Dota might shed a little light, but in general there aren't any Dota logs for monitor config.

monban commented Aug 29, 2016

This fixed it. Thank you for your time and assistance, I really appreciate it. 👍

admshao commented Aug 29, 2016

Just to let you know. I've always experienced this issue and both suggested
args did the trick for me. Thx!

On Aug 29, 2016 6:14 PM, "Drew Bliss" notifications@github.com wrote:

Try changing your display index to a legal value and adding
-phased_window_create to your launch options. Does that start on the
correct monitor?

The regular console spew from Dota might shed a little light, but in
general there aren't any Dota logs for monitor config.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1011 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIOogpEeahYLS-6hFqkLvjJZvbFlsvOyks5qk0vLgaJpZM4JvCAd
.

Contributor

gdrewb-valve commented Aug 29, 2016

That's great. The chat wheel functions correctly also?

admshao commented Aug 30, 2016

Yes!

2016-08-29 19:01 GMT-03:00 Drew Bliss notifications@github.com:

That's great. The chat wheel functions correctly also?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1011 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIOogovJdie0hsItRiWtEHQWPFXb_uO7ks5qk1bEgaJpZM4JvCAd
.

Contributor

gdrewb-valve commented Aug 30, 2016

Thanks, I'll go ahead and close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment