1+ @{
2+ ViewBag .Title = " Linux FAQ" ;
3+ }
4+
5+ <partial name =" Wiki/_Header" />
6+
7+ <div class =" d-flex px-4" >
8+ <div class =" flex-fill" >
9+ <h3 class =" wiki-nav-item pb-2" id =" ghost-cursor" >
10+ Teleporting Cursor Position
11+ </h3 >
12+ <div class =" ms-3" >
13+ <p >
14+ This occurs because another program is reading the tablet at the same time as OpenTabletDriver.
15+ <small >
16+ <a class =" link-light" href =" https://github.com/InfinityGhost/OpenTabletDriver/issues/68" >#68</a >
17+ </small >
18+ <ol >
19+ <li >
20+ Perform the following commands in a terminal
21+ <codeblock class =" mt-2" >
22+ echo "blacklist wacom" | sudo tee -a /etc/modprobe.d/blacklist.conf
23+ sudo rmmod wacom
24+ </codeblock >
25+ </li >
26+ </ol >
27+ </p >
28+ </div >
29+
30+ <hr />
31+
32+ <h3 class =" wiki-nav-item pb-2" id =" fail-device-streams" >
33+ Failed to open device streams
34+ </h3 >
35+ <div class =" ms-3" >
36+ <p >
37+ This occurs due to a lack of permissions to open a device stream.
38+ It is resolved by creating udev rules that give these permissions.
39+ <br />
40+ If you installed OpenTabletDriver via your package manager,
41+ you may need to run the following command then replug your tablet.
42+ <codeblock class =" mt-2" >
43+ sudo udevadm control --reload-rules
44+ </codeblock >
45+ </p >
46+ <p >
47+ Otherwise, perform the following
48+ </p >
49+ <ol >
50+ <li >
51+ Download the latest udev rules from the GitHub CI<br />
52+ <small class =" ms-3 text-muted" >
53+ Note: You must be logged into GitHub to see these builds, otherwise you will get a 404.
54+ </small >
55+ </li >
56+ <li >
57+ Run the following commands, replacing <code class =" bg-" >< ; file> ; </code > with the extracted file
58+ <codeblock class =" mt-2" >
59+ sudo mv < ; file> ; /etc/udev/rules.d/99-opentabletdriver.rules
60+ </codeblock >
61+ </li >
62+ </ol >
63+ </div >
64+
65+ <hr />
66+
67+ <h3 >Failed to initialize virtual device</h3 >
68+ <div class =" ms-3" >
69+ <h4 >EACCESS</h4 >
70+ <codeblock class =" mt-2" >
71+ sudo chmod 0666 /dev/uinput
72+ </codeblock >
73+
74+ <h4 >ENODEV</h4 >
75+ <p >
76+ Rebooting is the only option here. Your kernel was very likely updated, or some component of
77+ uinput was modified which requires a reboot to resolve.
78+ </p >
79+ </div >
80+
81+ <hr />
82+
83+ <h3 class =" wiki-nav-item pb-2" id =" performance-nvidia" >
84+ Poor performance with NVIDIA
85+ </h3 >
86+ <div class =" ms-3" >
87+ <ol >
88+ <li >Disable <code >Force full composition pipeline</code > in the NVIDIA settings panel.</li >
89+ </ol >
90+ </div >
91+
92+ <hr />
93+
94+ <h3 class =" wiki-nav-item pb-2" id =" display-session-not-detected" >
95+ X11/Wayland Session not detected
96+ </h3 >
97+ <div class =" ms-3" >
98+ <h4 >X11 <small class =" text-muted" >(systemd)</small ></h4 >
99+ <div class =" mx-3" >
100+ <p >
101+ Your <code >.xinitrc</code > is likely configured improperly and the <code >DISPLAY</code > environment
102+ variable isn't set for systemd.<br />
103+ Proper configuration for the <code >.xinitrc</code > file can be found
104+ <a href =" https://wiki.archlinux.org/index.php/Xinit#Configuration" >here</a >.<br />
105+ <small class =" ms-3 text-muted" >
106+ Note: The fix below is just a quick and dirty fix to get OpenTabletDriver running and should
107+ instead be resolved as above.
108+ </small >
109+ </p >
110+ <ol >
111+ <li >
112+ Create an override file
113+ <codeblock class =" mt-2" language =" sh" >
114+ # Opens with whatever program is set to $EDITOR
115+ systemctl --user edit opentabletdriver.service
116+ </codeblock >
117+ </li >
118+ <li >
119+ Add this block below the first 2 lines of the file, then save and exit
120+ <codeblock class =" mt-2" language =" ini" >
121+ [Service]
122+ Environment=DISPLAY=:0
123+ </codeblock >
124+ </li >
125+ <li >
126+ Finally, run the following commands
127+ <codeblock class =" mt-2" language =" sh" >
128+ # Reload the systemd user daemon
129+ systemctl --user daemon-reload
130+ # Start the OpenTabletDriver daemon service (restarts if already running)
131+ systemctl --user restart opentabletdriver.service
132+ </codeblock >
133+ </li >
134+ </ol >
135+ </div >
136+
137+ <h4 >Wayland <small class =" text-muted" >(systemd)</small ></h4 >
138+ <div class =" mx-3" >
139+ <ol >
140+ <li >Create an override file</li >
141+ <codeblock class =" mt-2" language =" sh" >
142+ # Opens with whatever program is set to $EDITOR
143+ systemctl --user edit opentabletdriver.service
144+ </codeblock >
145+ <li >Add this block below the first 2 lines of the file, then save and exit</li >
146+ <codeblock class =" mt-2" >
147+ [Service]
148+ Environment=WAYLAND_DISPLAY=:0
149+ </codeblock >
150+ <li >Finally, run the following commands</li >
151+ <codeblock class =" mt-2" >
152+ systemctl --user daemon-reload
153+ systemctl --user restart opentabletdriver.service
154+ </codeblock >
155+ </ol >
156+ </div >
157+ </div >
158+ </div >
159+ <partial name =" Wiki/_Navigation" />
160+ </div >
0 commit comments