Re: "XKB: Could not invoke xkbcomp" error
Hi ! > [ 17041.467] (EE) XKB: Could not invoke xkbcomp Could you please check wether x11-xkb-utils is installed on your system or not ? Best regards, Samy Mahmoudi Le ven. 5 avr. 2019 à 12:14, XJDHDR a écrit : > Good day > > I hope someone can help me out. I am trying to set up Xpra on my headless > Ubuntu server but have been having problems. I managed to find a suggestion > that I should run this command to first establish whether Xorg is working: > Xorg -logfile /tmp/Xlog%s -config /etc/xpra/xorg.conf > > I am using Ubuntu 18.10 and X Server 1.20.1 (the latest version in > Ubuntu's repositories) > > I did so but I just get a "XKB: Failed to compile keymap" message followed > by a Keyboard initialization failure error and advice to check the log file > at "/tmp/Xlog0" for additional information. The problem seems to start at > the last 10 or so lines of the log file starting with a "XKB: Could not > invoke xkbcomp" error. The only advice I've managed to find about this > error is to install xkbcomp (x11-xkb-utils was automatically installed with > xorg) and xkeyboard-config (xkb-data was also automatically installed). > > I would greatly appreciate any help I get with this issue. Thanks! > > Here are the last 20 or so lines of "/tmp/Xlog0" (you can find the full > log here: https://pastebin.com/RNabsEu8 ): > > [ 17041.103] (II) Initializing extension XFree86-VidModeExtension > [ 17041.103] (II) Initializing extension XFree86-DGA > [ 17041.103] (II) Initializing extension XFree86-DRI > [ 17041.103] (II) Initializing extension DRI2 > [ 17041.467] (EE) XKB: Could not invoke xkbcomp > [ 17041.472] (EE) XKB: Couldn't compile keymap > [ 17041.472] (EE) XKB: Failed to load keymap. Loading default keymap > instead. > [ 17041.474] (EE) XKB: Could not invoke xkbcomp > [ 17041.474] (EE) XKB: Couldn't compile keymap > [ 17041.474] XKB: Failed to compile keymap > [ 17041.474] Keyboard initialization failed. This could be a missing or > incorrect setup of xkeyboard-config. > [ 17041.474] (EE) > Fatal server error: > [ 17041.474] (EE) Failed to activate virtual core keyboard: 2(EE) > [ 17041.475] (EE) > Please consult the The X.Org Foundation support > at http://wiki.x.org > for help. > [ 17041.475] (EE) Please also check the log file at "/tmp/Xlog0" for > additional information. > [ 17041.475] (EE) > [ 17041.476] (EE) Server terminated with error (1). Closing log file. > > > If it helps, here are the contents of "/etc/xpra/xorg.conf": > > # This xorg configuration file is meant to be used by xpra > # to start a dummy X11 server. > # For details, please see: > # https://xpra.org/Xdummy.html > > Section "ServerFlags" > Option "DontVTSwitch" "true" > Option "AllowMouseOpenFail" "true" > Option "PciForceNone" "true" > Option "AllowEmptyInput" "true" > Option "AutoEnableDevices" "false" > Option "AutoAddDevices" "false" > EndSection > > Section "Device" > Identifier "dummy_videocard" > Driver "dummy" > DacSpeed 600 > Option "ConstantDPI" "true" > #VideoRam 2048000 > #VideoRam 1024000 > #VideoRam 384000 > VideoRam 256000 > #VideoRam 192000 > EndSection > > Section "Monitor" > Identifier "dummy_monitor" > HorizSync 1.0 - 2000.0 > VertRefresh 1.0 - 200.0 > #To add your own modes here, use a modeline calculator, like: > # cvt: > # http://www.x.org/archive/X11R7.5/doc/man/man1/cvt.1.html > # xtiming: > # http://xtiming.sourceforge.net/cgi-bin/xtiming.pl > # gtf: > # http://gtf.sourceforge.net/ > > #This can be used to get a specific DPI, but only for the default > resolution: > #DisplaySize 508 317 > #NOTE: the highest modes will not work without increasing the VideoRam > # for the dummy video card. > Modeline "8192x4096" 193.35 8192 8224 8952 8984 4096 4196 4200 4301 > > > EndSection > > Section "Screen" > Identifier "dummy_screen" > Device "dummy_videocard" > Monitor "dummy_monitor" > DefaultDepth 24 > SubSection "Display" > Viewport 0 0 > Depth 8 > #requires more ram: > #Modes "16000x15000" "15000x15000" "16384x8192" .. > Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" > "3840x2160" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x108$ > #Virtual 16384 16384 > Virtual 8192 4096 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 16 > #requires more ram: > #Modes "16000x15000" "15000x15000" "16384x8192" .. > Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" > "3840x2160" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x108$ > #Virtual 16384 16384 > Virtual 8192 4096 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 24 > #requires more ram: > #Modes "16000x15000" "15000x15000" "16384x8192" .. > Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" > "3840x2160" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x108$ > #Virtual 16384 16384 > Virtual 8192 4096 >
"XKB: Could not invoke xkbcomp" error
Good day I hope someone can help me out. I am trying to set up Xpra on my headless Ubuntu server but have been having problems. I managed to find a suggestion that I should run this command to first establish whether Xorg is working: Xorg -logfile /tmp/Xlog%s -config /etc/xpra/xorg.conf I am using Ubuntu 18.10 and X Server 1.20.1 (the latest version in Ubuntu's repositories) I did so but I just get a "XKB: Failed to compile keymap" message followed by a Keyboard initialization failure error and advice to check the log file at "/tmp/Xlog0" for additional information. The problem seems to start at the last 10 or so lines of the log file starting with a "XKB: Could not invoke xkbcomp" error. The only advice I've managed to find about this error is to install xkbcomp (x11-xkb-utils was automatically installed with xorg) and xkeyboard-config (xkb-data was also automatically installed). I would greatly appreciate any help I get with this issue. Thanks! Here are the last 20 or so lines of "/tmp/Xlog0" (you can find the full log here: https://pastebin.com/RNabsEu8 ): [ 17041.103] (II) Initializing extension XFree86-VidModeExtension [ 17041.103] (II) Initializing extension XFree86-DGA [ 17041.103] (II) Initializing extension XFree86-DRI [ 17041.103] (II) Initializing extension DRI2 [ 17041.467] (EE) XKB: Could not invoke xkbcomp [ 17041.472] (EE) XKB: Couldn't compile keymap [ 17041.472] (EE) XKB: Failed to load keymap. Loading default keymap instead. [ 17041.474] (EE) XKB: Could not invoke xkbcomp [ 17041.474] (EE) XKB: Couldn't compile keymap [ 17041.474] XKB: Failed to compile keymap [ 17041.474] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. [ 17041.474] (EE) Fatal server error: [ 17041.474] (EE) Failed to activate virtual core keyboard: 2(EE) [ 17041.475] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 17041.475] (EE) Please also check the log file at "/tmp/Xlog0" for additional information. [ 17041.475] (EE) [ 17041.476] (EE) Server terminated with error (1). Closing log file. If it helps, here are the contents of "/etc/xpra/xorg.conf": # This xorg configuration file is meant to be used by xpra # to start a dummy X11 server. # For details, please see: # https://xpra.org/Xdummy.html Section "ServerFlags" Option "DontVTSwitch" "true" Option "AllowMouseOpenFail" "true" Option "PciForceNone" "true" Option "AllowEmptyInput" "true" Option "AutoEnableDevices" "false" Option "AutoAddDevices" "false" EndSection Section "Device" Identifier "dummy_videocard" Driver "dummy" DacSpeed 600 Option "ConstantDPI" "true" #VideoRam 2048000 #VideoRam 1024000 #VideoRam 384000 VideoRam 256000 #VideoRam 192000 EndSection Section "Monitor" Identifier "dummy_monitor" HorizSync 1.0 - 2000.0 VertRefresh 1.0 - 200.0 #To add your own modes here, use a modeline calculator, like: # cvt: # http://www.x.org/archive/X11R7.5/doc/man/man1/cvt.1.html # xtiming: # http://xtiming.sourceforge.net/cgi-bin/xtiming.pl # gtf: # http://gtf.sourceforge.net/ #This can be used to get a specific DPI, but only for the default resolution: #DisplaySize 508 317 #NOTE: the highest modes will not work without increasing the VideoRam # for the dummy video card. Modeline "8192x4096" 193.35 8192 8224 8952 8984 4096 4196 4200 4301 EndSection Section "Screen" Identifier "dummy_screen" Device "dummy_videocard" Monitor "dummy_monitor" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 8 #requires more ram: #Modes "16000x15000" "15000x15000" "16384x8192" .. Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "3840x2160" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x108$ #Virtual 16384 16384 Virtual 8192 4096 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 #requires more ram: #Modes "16000x15000" "15000x15000" "16384x8192" .. Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "3840x2160" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x108$ #Virtual 16384 16384 Virtual 8192 4096 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 #requires more ram: #Modes "16000x15000" "15000x15000" "16384x8192" .. Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "3840x2160" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x108$ #Virtual 16384 16384 Virtual 8192 4096 EndSubSection SubSection "Display" Viewport 0 0
Re: Xorg server: Page flip failed: Cannot allocate memory
On 2019-04-04 7:32 p.m., KLEIN Nicolas wrote: > Hi > > Since we upgraded to xorg-server version 1.20.1, we keep seeing the following > entries in Xorg.log: > > [ 1133.866] (WW) modeset(0): Page flip failed: Cannot allocate memory > [ 1133.981] (WW) modeset(0): flip queue failed: Cannot allocate memory > [ 1133.981] (WW) modeset(0): Page flip failed: Cannot allocate memory > [ 1133.981] (EE) modeset(0): present flip failed > [ 1134.011] (WW) modeset(0): flip queue failed: Cannot allocate memory > [ 1134.011] (WW) modeset(0): Page flip failed: Cannot allocate memory > [ 1134.011] (EE) modeset(0): present flip failed > > You will find a full Xorg.log output attached. > > This does not happen when running the same application using Xorg-server > version 1.19.3. Can you bisect between 1.19.3 and 1.20.1? > The errors are similar to the ones described in this thread: > > https://bugs.freedesktop.org/show_bug.cgi?id=104598 This was reported against 1.19.6, so probably not the same issue. -- Earthling Michel Dänzer | https://www.amd.com Libre software enthusiast | Mesa and X developer ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s