Autocomplete in bash traag

Pagina: 1
Acties:

Vraag


Acties:
  • 0 Henk 'm!

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 22:22
Mijn vraag
Als ik in bash een autocomplete doe middels tab dan zit er een vertraging in van 2-3 seconde.

Bijvoorbeeld als ik de home dir cd tab doe. Als ik een ls doe dan is het wel gewoon snel.

Relevante software en hardware die ik gebruik
Ubuntu Desktop 18.04.4 fresh install.

Wat ik al gevonden of geprobeerd heb
Als ik set -x aanzet dan is er eerst de delay en dan ineens print hij alles uit. Dan zit het probleem voor de autocomplete?

Het is een fresh install. Niks geïnstalleerd verder.

Heb het voor de zekerheid ook even getest zonder internet en dat heeft zoals verwacht hetzelfde resultaat.

Iemand enig idee waar ik moet zoeken?

PSN jschut_82 | Xbox: JSchut82

Beste antwoord (via JSchut op 29-02-2020 18:33)


  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 22:19

Hero of Time

Moderator LNX

There is only one Legend

Ik zou denken dat er een audible bell wordt uitgevoerd als je tab-completion wilt gebruiken en het systeem dit via HDMI wil sturen. En daarbij dus wacht op de terugkoppeling dat het geluidje is 'afgespeeld' voordat het de bash sessies hervat.

Dit kan een instelling zijn dat in 18.04 voor problemen zorgt. Of het is een bug in Gnome3 zelf in deze specifieke situatie, die je met een nieuwere Ubuntu release dus niet gaat zien, omdat er een andere Gnome3 versie bij zit.

Commandline FTW | Tweakt met mate

Alle reacties


Acties:
  • 0 Henk 'm!

  • GlowMouse
  • Registratie: November 2002
  • Niet online
Is het cpu-gebruik hoog tijdens het wachten? Zou je zou bash eens kunnen stracen/ltracen?

Acties:
  • 0 Henk 'm!

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 22:22
Cpu gebruik is niet hoog. Rest van het systeem blijft gewoon responsive. Al lijkt de andere terminal met htop ook even te freezen met de autocomplete.

strace:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
4147  pselect6(1, [0], NULL, NULL, NULL, {[], 8}) = 1 (in [0])
4147  read(0, "c", 1)                   = 1
4147  select(1, [0], NULL, [0], {tv_sec=0, tv_usec=0}) = 0 (Timeout)
4147  write(2, "c", 1)                  = 1
4147  pselect6(1, [0], NULL, NULL, NULL, {[], 8}) = 1 (in [0])
4147  read(0, "d", 1)                   = 1
4147  select(1, [0], NULL, [0], {tv_sec=0, tv_usec=0}) = 0 (Timeout)
4147  write(2, "d", 1)                  = 1
4147  pselect6(1, [0], NULL, NULL, NULL, {[], 8}) = 1 (in [0])
4147  read(0, " ", 1)                   = 1
4147  select(1, [0], NULL, [0], {tv_sec=0, tv_usec=0}) = 0 (Timeout)
4147  write(2, " ", 1)                  = 1
4147  pselect6(1, [0], NULL, NULL, NULL, {[], 8}) = 1 (in [0])
4147  read(0, "\t", 1)                  = 1
4147  openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
4147  fcntl(1, F_GETFD)                 = 0
4147  fcntl(1, F_DUPFD, 10)             = 10
4147  fcntl(1, F_GETFD)                 = 0
4147  fcntl(10, F_SETFD, FD_CLOEXEC)    = 0
4147  dup2(3, 1)                        = 1
4147  close(3)                          = 0
4147  fcntl(2, F_DUPFD, 10)             = 11
4147  fcntl(2, F_GETFD)                 = 0
4147  fcntl(11, F_SETFD, FD_CLOEXEC)    = 0
4147  dup2(1, 2)                        = 2
4147  write(1, "2", 1)                  = 1
4147  dup2(11, 2)                       = 2
4147  fcntl(11, F_GETFD)                = 0x1 (flags FD_CLOEXEC)
4147  close(11)                         = 0
4147  dup2(10, 1)                       = 1
4147  fcntl(10, F_GETFD)                = 0x1 (flags FD_CLOEXEC)
4147  close(10)                         = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
4147  fcntl(1, F_GETFD)                 = 0
4147  fcntl(1, F_DUPFD, 10)             = 10
4147  fcntl(1, F_GETFD)                 = 0
4147  fcntl(10, F_SETFD, FD_CLOEXEC)    = 0
4147  dup2(3, 1)                        = 1
4147  close(3)                          = 0
4147  fcntl(2, F_DUPFD, 10)             = 11
4147  fcntl(2, F_GETFD)                 = 0
4147  fcntl(11, F_SETFD, FD_CLOEXEC)    = 0
4147  dup2(1, 2)                        = 2
4147  write(1, "2", 1)                  = 1
4147  dup2(11, 2)                       = 2
4147  fcntl(11, F_GETFD)                = 0x1 (flags FD_CLOEXEC)
4147  close(11)                         = 0
4147  dup2(10, 1)                       = 1
4147  fcntl(10, F_GETFD)                = 0x1 (flags FD_CLOEXEC)
4147  close(10)                         = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4147  pipe([3, 4])                      = 0
4147  rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
4147  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
4147  pipe([5, 6])                      = 0
4147  clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fdc74b35a10) = 4168
4147  setpgid(4168, 4147)               = 0
4168  getpid( <unfinished ...>
4147  rt_sigprocmask(SIG_SETMASK, [],  <unfinished ...>
4168  <... getpid resumed> )            = 4168
4147  <... rt_sigprocmask resumed> NULL, 8) = 0
4168  rt_sigprocmask(SIG_SETMASK, [],  <unfinished ...>
4147  rt_sigaction(SIGCHLD, {sa_handler=0x558fccceb790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fdc7414af20},  <unfinished ...>
4168  <... rt_sigprocmask resumed> NULL, 8) = 0
4147  <... rt_sigaction resumed> {sa_handler=0x558fccceb790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fdc7414af20}, 8) = 0
4168  rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20},  <unfinished ...>
4147  close(5 <unfinished ...>
4168  <... rt_sigaction resumed> {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, 8) = 0
4147  <... close resumed> )             = 0
4168  rt_sigaction(SIGTTIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20},  <unfinished ...>
4147  close(6 <unfinished ...>
4168  <... rt_sigaction resumed> {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, 8) = 0
4147  <... close resumed> )             = 0
4168  rt_sigaction(SIGTTOU, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20},  <unfinished ...>
4147  close(4 <unfinished ...>
4168  <... rt_sigaction resumed> {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, 8) = 0
4147  <... close resumed> )             = 0
4168  setpgid(4168, 4147 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... setpgid resumed> )           = 0
4168  close(5)                          = 0
4168  close(6)                          = 0
4168  rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, {sa_handler=0x558fccd55e80, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, 8) = 0
4168  rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, 8) = 0
4168  rt_sigaction(SIGTERM, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, {sa_handler=0x558fccd55e80, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, 8) = 0
4168  rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fdc7414af20}, {sa_handler=0x558fccceb790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fdc7414af20}, 8) = 0
4168  rt_sigaction(SIGCHLD, {sa_handler=0x558fccceb790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fdc7414af20}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fdc7414af20}, 8) = 0
4168  rt_sigaction(SIGINT, {sa_handler=0x558fccd04d30, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fdc7414af20}, 8) = 0
4168  dup2(4, 1)                        = 1
4168  close(4)                          = 0
4168  close(3)                          = 0
4168  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
4168  openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
4168  fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  brk(0x558fcd46f000)               = 0x558fcd46f000
4168  getdents(3, /* 28 entries */, 32768) = 888
4168  getdents(3, /* 0 entries */, 32768) = 0
4168  brk(0x558fcd467000)               = 0x558fcd467000
4168  close(3)                          = 0
4168  stat("Downloads", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat("Public", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat("log", {st_mode=S_IFREG|0644, st_size=7089, ...}) = 0
4168  stat(".ssh", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  stat(".ICEauthority", {st_mode=S_IFREG|0600, st_size=1368, ...}) = 0
4168  stat("Documents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat(".wget-hsts", {st_mode=S_IFREG|0644, st_size=177, ...}) = 0
4168  stat(".mozilla", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  stat("Pictures", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat(".config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  stat(".pki", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  stat(".bashrc", {st_mode=S_IFREG|0644, st_size=3771, ...}) = 0
4168  stat("Desktop", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat(".vscode", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat(".bash_logout", {st_mode=S_IFREG|0644, st_size=220, ...}) = 0
4168  stat("Videos", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat(".profile", {st_mode=S_IFREG|0644, st_size=807, ...}) = 0
4168  stat(".bash_history", {st_mode=S_IFREG|0600, st_size=1670, ...}) = 0
4168  stat(".sudo_as_admin_successful", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
4168  stat(".local", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  stat("Templates", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat(".cache", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  stat("Music", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
4168  stat("examples.desktop", {st_mode=S_IFREG|0644, st_size=8980, ...}) = 0
4168  stat(".nv", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  stat(".gnupg", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4168  write(1, "Downloads\n", 10)       = 10
4147  <... read resumed> "Downloads\n", 128) = 10
4168  write(1, "Public\n", 7 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 7
4147  <... read resumed> "Public\n", 128) = 7
4168  write(1, ".ssh\n", 5 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 5
4147  <... read resumed> ".ssh\n", 128) = 5
4168  write(1, "Documents\n", 10 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 10
4147  <... read resumed> "Documents\n", 128) = 10
4168  write(1, ".mozilla\n", 9 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 9
4147  <... read resumed> ".mozilla\n", 128) = 9
4168  write(1, "Pictures\n", 9 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 9
4147  <... read resumed> "Pictures\n", 128) = 9
4168  write(1, ".config\n", 8 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 8
4147  <... read resumed> ".config\n", 128) = 8
4168  write(1, ".pki\n", 5 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 5
4147  <... read resumed> ".pki\n", 128) = 5
4168  write(1, "Desktop\n", 8 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 8
4147  <... read resumed> "Desktop\n", 128) = 8
4168  write(1, ".vscode\n", 8 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 8
4147  <... read resumed> ".vscode\n", 128) = 8
4168  write(1, "Videos\n", 7 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 7
4147  <... read resumed> "Videos\n", 128) = 7
4168  write(1, ".local\n", 7 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 7
4147  <... read resumed> ".local\n", 128) = 7
4168  write(1, "Templates\n", 10 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 10
4147  <... read resumed> "Templates\n", 128) = 10
4168  write(1, ".cache\n", 7 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 7
4147  <... read resumed> ".cache\n", 128) = 7
4168  write(1, "Music\n", 6 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 6
4147  <... read resumed> "Music\n", 128) = 6
4168  write(1, ".nv\n", 4 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 4
4147  <... read resumed> ".nv\n", 128)  = 4
4168  write(1, ".gnupg\n", 7 <unfinished ...>
4147  read(3,  <unfinished ...>
4168  <... write resumed> )             = 7
4147  <... read resumed> ".gnupg\n", 128) = 7
4147  read(3,  <unfinished ...>
4168  exit_group(0)                     = ?
4168  +++ exited with 0 +++
4147  <... read resumed> "", 128)       = 0
4147  --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4168, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
4147  wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED|WCONTINUED, NULL) = 4168
4147  wait4(-1, 0x7ffc522fc510, WNOHANG|WSTOPPED|WCONTINUED, NULL) = -1 ECHILD (No child processes)
4147  rt_sigreturn({mask=[]})           = 0
4147  close(3)                          = 0
4147  rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
4147  rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [CHLD], 8) = 0
4147  ioctl(255, TIOCSPGRP, [4147])     = 0
4147  rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
4147  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
4147  stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
4147  faccessat(AT_FDCWD, "/tmp", W_OK) = 0
4147  statfs("/tmp", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=119788210, f_bfree=117388537, f_bavail=111286189, f_files=30498816, f_ffree=30297254, f_fsid={val=[1203678101, 1236074671]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
4147  getpid()                          = 4147
4147  openat(AT_FDCWD, "/tmp/sh-thd.mg0KZ5", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
4147  fcntl(3, F_SETFD, FD_CLOEXEC)     = 0
4147  write(3, "Downloads\nPublic\n.ssh\nDocuments\n"..., 126) = 126
4147  write(3, "\n", 1)                 = 1
4147  openat(AT_FDCWD, "/tmp/sh-thd.mg0KZ5", O_RDONLY) = 4
4147  close(3)                          = 0
4147  unlink("/tmp/sh-thd.mg0KZ5")      = 0
4147  fcntl(0, F_GETFD)                 = 0
4147  fcntl(0, F_DUPFD, 10)             = 10
4147  fcntl(0, F_GETFD)                 = 0
4147  fcntl(10, F_SETFD, FD_CLOEXEC)    = 0
4147  dup2(4, 0)                        = 0
4147  close(4)                          = 0
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 0
4147  read(0, "Downloads\nPublic\n.ssh\nDocuments\n"..., 128) = 127
4147  lseek(0, -117, SEEK_CUR)          = 10
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 10
4147  read(0, "Public\n.ssh\nDocuments\n.mozilla\nP"..., 128) = 117
4147  lseek(0, -110, SEEK_CUR)          = 17
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 17
4147  read(0, ".ssh\nDocuments\n.mozilla\nPictures"..., 128) = 110
4147  lseek(0, -105, SEEK_CUR)          = 22
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 22
4147  read(0, "Documents\n.mozilla\nPictures\n.con"..., 128) = 105
4147  lseek(0, -95, SEEK_CUR)           = 32
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 32
4147  read(0, ".mozilla\nPictures\n.config\n.pki\nD"..., 128) = 95
4147  lseek(0, -86, SEEK_CUR)           = 41
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 41
4147  read(0, "Pictures\n.config\n.pki\nDesktop\n.v"..., 128) = 86
4147  lseek(0, -77, SEEK_CUR)           = 50
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 50
4147  read(0, ".config\n.pki\nDesktop\n.vscode\nVid"..., 128) = 77
4147  lseek(0, -69, SEEK_CUR)           = 58
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 58
4147  read(0, ".pki\nDesktop\n.vscode\nVideos\n.loc"..., 128) = 69
4147  lseek(0, -64, SEEK_CUR)           = 63
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 63
4147  read(0, "Desktop\n.vscode\nVideos\n.local\nTe"..., 128) = 64
4147  lseek(0, -56, SEEK_CUR)           = 71
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 71
4147  read(0, ".vscode\nVideos\n.local\nTemplates\n"..., 128) = 56
4147  lseek(0, -48, SEEK_CUR)           = 79
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 79
4147  read(0, "Videos\n.local\nTemplates\n.cache\nM"..., 128) = 48
4147  lseek(0, -41, SEEK_CUR)           = 86
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 86
4147  read(0, ".local\nTemplates\n.cache\nMusic\n.n"..., 128) = 41
4147  lseek(0, -34, SEEK_CUR)           = 93
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 93
4147  read(0, "Templates\n.cache\nMusic\n.nv\n.gnup"..., 128) = 34
4147  lseek(0, -24, SEEK_CUR)           = 103
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 103
4147  read(0, ".cache\nMusic\n.nv\n.gnupg\n", 128) = 24
4147  lseek(0, -17, SEEK_CUR)           = 110
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 110
4147  read(0, "Music\n.nv\n.gnupg\n", 128) = 17
4147  lseek(0, -11, SEEK_CUR)           = 116
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 116
4147  read(0, ".nv\n.gnupg\n", 128)     = 11
4147  lseek(0, -7, SEEK_CUR)            = 120
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 120
4147  read(0, ".gnupg\n", 128)          = 7
4147  ioctl(0, TCGETS, 0x7ffc522fcbc0)  = -1 ENOTTY (Inappropriate ioctl for device)
4147  lseek(0, 0, SEEK_CUR)             = 127
4147  read(0, "", 128)                  = 0
4147  dup2(10, 0)                       = 0
4147  fcntl(10, F_GETFD)                = 0x1 (flags FD_CLOEXEC)
4147  close(10)                         = 0
4147  openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
4147  fcntl(2, F_GETFD)                 = 0
4147  fcntl(2, F_DUPFD, 10)             = 10
4147  fcntl(2, F_GETFD)                 = 0
4147  fcntl(10, F_SETFD, FD_CLOEXEC)    = 0
4147  dup2(3, 2)                        = 2
4147  close(3)                          = 0
4147  dup2(10, 2)                       = 2
4147  fcntl(10, F_GETFD)                = 0x1 (flags FD_CLOEXEC)
4147  close(10)                         = 0
4147  write(2, "\7", 1)                 = 1
4147  pselect6(1, [0], NULL, NULL, NULL, {[], 8} <detached ...>
Edit:
Ik heb autocomplete ook even op een externe schijf getest om uit te sluiten dat het iets was met mijn interne nvme schijf. De extrne schijf heeft exact het zelfde.

Ik ga nog even proberen om op te starten vanaf een live usb om te kijken of ik het dan ook heb.

PSN jschut_82 | Xbox: JSchut82


Acties:
  • 0 Henk 'm!

  • amx
  • Registratie: December 2007
  • Laatst online: 30-08 10:48

amx

Eerste google hit:
https://unix.stackexchang...slow-autocomplete-in-bash

code:
1
sudo apt-get install --reinstall bash-completion

alternatief:
apt purge bash-completion && apt install bash-completion

Acties:
  • 0 Henk 'm!

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 22:22
amx schreef op zaterdag 29 februari 2020 @ 07:05:
Eerste google hit:
https://unix.stackexchang...slow-autocomplete-in-bash

code:
1
sudo apt-get install --reinstall bash-completion

alternatief:
apt purge bash-completion && apt install bash-completion
Dit had ik al geprobeerd en lost het niet op.

Wat ik nu heb uitgevonden is dat wanneer ik de standaard xorg video drivers gebruik het probleem er niet is. Installeer ik de nvidea drivers dan begint het. Heb alle drie de standaard aangeboden versies geprobeerd. Allemaal het zelfde resultaat. (390, 430, 435)

PSN jschut_82 | Xbox: JSchut82


Acties:
  • 0 Henk 'm!

  • amx
  • Registratie: December 2007
  • Laatst online: 30-08 10:48

amx

niet toevallig iets van pytorch of cuda al geinstalleerd?

op launchpad is niet echt iets te vinden hierover

als het een echte fresh install is: kun je het reproduceren met een live-cd?

Acties:
  • +1 Henk 'm!

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 22:22
amx schreef op zaterdag 29 februari 2020 @ 07:35:
niet toevallig iets van pytorch of cuda al geinstalleerd?

op launchpad is niet echt iets te vinden hierover

als het een echte fresh install is: kun je het reproduceren met een live-cd?
Ik heb even een reinstall gedaan.

Live cd
Geen enkel probleem

Na install
Geen enkel probleem

Na apt update & upgrade en reboot
Geen enke probleem

Software update -> Additional drives -> Nidia 435, tested (Op vorige install heb ik ze allemaal geprobeerd. Allemaal dit probleem)
Probleem is er nu weer

Edit:
Heb nu ook even handmatig de laatste versie van de nvidia drivers geinstalleerd. (440) Maar het probleem blijft helaas. Heb er trouwens een GT710 in zitten.

Edit 2:
Op een hele oude full hd monitor aangesloten via vga. En geen enkele lag.
Sluit ik hem weer aan op mijn LG 27UK850 via Hdmi dan is de lag er weer. (Ook op 1080)
Straks even een full hd monitor ophalen met HDMI om die te testen.

Wellicht ligt het aan de LG in combinatie met de GT710. Een andere oude linux machine met onboard GPU werkt hier namelijk wel zonder problemen met de LG.

Edit 3:
Twee schermen via vga en dvi geeft geen problemen. HDMI geeft meteen het zelfde probleem. Haal ik de HDMI er uit terwijl de pc aanstaat. Dan is het probleem direct weg.

Zou dit een probleem zijn van de HDMI Port op de gpu? Of eerder een driver issue.

Aangezien het zonder Nvidia drivers wel zonder lag werkt vermoed ik drivers. Geen idee wat ik hieraan kan doen.

[ Voor 47% gewijzigd door JSchut op 29-02-2020 10:25 ]

PSN jschut_82 | Xbox: JSchut82


Acties:
  • +2 Henk 'm!

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 22:22
Op Ubuntu 19.10 werkt alles gewoon zoals het hoort. Zal dus wel een bug zijn met drivers in combinatie met gnome en Ubuntu 18.

Voor nu opgelost :)

PSN jschut_82 | Xbox: JSchut82


Acties:
  • Beste antwoord
  • +3 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 22:19

Hero of Time

Moderator LNX

There is only one Legend

Ik zou denken dat er een audible bell wordt uitgevoerd als je tab-completion wilt gebruiken en het systeem dit via HDMI wil sturen. En daarbij dus wacht op de terugkoppeling dat het geluidje is 'afgespeeld' voordat het de bash sessies hervat.

Dit kan een instelling zijn dat in 18.04 voor problemen zorgt. Of het is een bug in Gnome3 zelf in deze specifieke situatie, die je met een nieuwere Ubuntu release dus niet gaat zien, omdat er een andere Gnome3 versie bij zit.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 22:22
Hero of Time schreef op zaterdag 29 februari 2020 @ 16:44:
Ik zou denken dat er een audible bell wordt uitgevoerd als je tab-completion wilt gebruiken en het systeem dit via HDMI wil sturen. En daarbij dus wacht op de terugkoppeling dat het geluidje is 'afgespeeld' voordat het de bash sessies hervat.

Dit kan een instelling zijn dat in 18.04 voor problemen zorgt. Of het is een bug in Gnome3 zelf in deze specifieke situatie, die je met een nieuwere Ubuntu release dus niet gaat zien, omdat er een andere Gnome3 versie bij zit.
Hier heb ik helemaal niet aan gedacht, maar klinkt heel logisch.

Dit zou dan opgelost moeten zijn als ik de audible Bell uitzet in de terminal. Ga ik even testen. Vind dat wel interessant. Al is het alleen de eerste keer. De tweede keer dezelfde complete is wel snel. Alleen als je ze direct na elkaar doet zonder eerst iets anders te doen.

[ Voor 8% gewijzigd door JSchut op 29-02-2020 17:27 ]

PSN jschut_82 | Xbox: JSchut82


Acties:
  • +1 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 22:19

Hero of Time

Moderator LNX

There is only one Legend

Dus als je tab-completion in /home gebruikt en daarna in /etc, hangt het in beide gevallen? Dat is dan wel raar. Ik dacht namelijk dat het mogelijk pulseaudio wil starten. Aan de andere kant, het kan ook een nieuwe connectie maken omdat je in een andere map bent.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 22:22
Hero of Time schreef op zaterdag 29 februari 2020 @ 17:55:
Dus als je tab-completion in /home gebruikt en daarna in /etc, hangt het in beide gevallen? Dat is dan wel raar. Ik dacht namelijk dat het mogelijk pulseaudio wil starten. Aan de andere kant, het kan ook een nieuwe connectie maken omdat je in een andere map bent.
Held! Belletje uitgezet en dan werkt het gewoon weer goed!

PSN jschut_82 | Xbox: JSchut82


Acties:
  • +1 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 22:19

Hero of Time

Moderator LNX

There is only one Legend

Iets wat ik altijd uitzet, want ik vind het gruwelijk irritant om een geluidje te horen of een flits te zien als er is is in de terminal, zeker voor tab-completion. Het vult iets aan of niet, als het niets aanvult, dan moet er iets extra bij of is het er niet. Daar hoef ik niets extra voor te horen of zien.

Commandline FTW | Tweakt met mate

Pagina: 1