#StackBounty: #hard-drive #partitioning #ssd #arch-linux Partioning a configuration SSD + HDD

Bounty: 50

I’ve tested Manjaro for a few months and now want to test Arch. However, the same problem as the one I got into when installing Manjaro showed up: how should I partition my disks? I have a 112GB SSD and a 1TB HDD, and my system supports UEFI.

From my basic understanding on how partition are used, I had made the following setup:

On /dev/sda (SSD):

  1. /dev/sda1 mounted on /boot, vfat FS, 247MB (48 used)
  2. /dev/sda2 mounted on /, ext4 FS, 110GB (77G used)

On /dev/sdb (HDD):

  1. /dev/sdb1 mounted on /tmp, ext4 FS, 16GB (49M used)
  2. /dev/sdb2 is my swap, 8GB
  3. /dev/sdb3 mounted on /var, ext4 FS, 16GB (9.4GB used)
  4. /dev/sdb4 mounted on /home, ext4 FS, 878GB (260GB used)

This configuration has run quite well, even though there were some problems:

  1. My /var is too small, which got me errors because of pacman cache
  2. Since the SWAP is rarely used and that SSD aren’t anymore as “fragile” as they used to be, wouldn’t it be a good idea to put the SWAP on the SSD?
  3. What if I want to replace my SSD for a bigger one? Wouldn’t it break the system if /etc is on the SSD?
  4. I never got the confirmation that this was optimal (surely because it isn’t).

I looked for answers and found some posts (on reddit especially) but most of them are several years old. I also looked at the Arch wiki, but I’ve found what I want neither on the installation page nor on the SSD page.

What would be your thoughts about it? Would you make a more complex partition scheme (specifying where /etc should be mounted, etc…)? Are there some basic common mistakes to avoid?


Get this bounty!!!

#StackBounty: #arch-linux #intel-graphics How to fix broken VDPAU?

Bounty: 50

The symptoms:

  • When fullscreening VLC (cvlc) it reports

    vdpau_display vout display error: output surface creation failure: VDP_STATUS_INVALID_SIZE

    repeatedly and the screen goes black.

  • When fullscreening mplayer it reports

    Error when calling vdp_output_surface_create: VDP_STATUS_INVALID_SIZE

    and doesn’t fullscreen properly.

This happened as I was trying to get rid of screen tearing, and I have not been able to revert it to the previously “working” (but tearing) state.

mpv seems to be the only application which can still play fullscreen video.

I’ve tried to follow the Hardware video acceleration guide, so libvdpau-va-gl, libva-intel-driver and mesa are installed. I’ve tried export LIBVA_DRIVER_NAME=i965 VDPAU_DRIVER=va_gl before running cvlc with no success. I’ve rebooted repeatedly.

If I remove libvdpau-va-gl both players can play videos in fullscreen reasonably tearing-free, but at least VLC reports

Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory


VA-API info:

$ vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 1.8.3
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice

The VDPAU info seems strangely empty:

$ vdpauinfo 
display: :0   screen: 0
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
API version: 1
Information string: OpenGL/VAAPI backend for VDPAU

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
422     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
444     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                   --- not supported ---
MPEG2_MAIN                     --- not supported ---
H264_BASELINE                  51 16384  2048  2048
H264_MAIN                      51 16384  2048  2048
H264_HIGH                      51 16384  2048  2048
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE      51 16384  2048  2048
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    -  
R8G8B8A8         16384 16384    -  
R10G10B10A2      16384 16384    -  
B10G10R10A2      16384 16384    -  
A8               16384 16384    -  

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  -
SHARPNESS                        -
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              -  
VIDEO_SURFACE_HEIGHT             -  
CHROMA_TYPE                      -  
LAYERS                           -  

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 -  
CSC_MATRIX                       -  
NOISE_REDUCTION_LEVEL            -  
SHARPNESS_LEVEL                  -  
LUMA_KEY_MIN_LUMA                -  
LUMA_KEY_MAX_LUMA                -  


Get this bounty!!!

#StackBounty: #linux #arch-linux #udev #wacom udev rule for Wacom pad not working

Bounty: 50

I have the following script to define the button mappings of my Wacom Intuos S 2:

/usr/local/bin/wacom_intuos_s_2_pad_button_mapping.sh

#!/bin/bash

sleep 1 # wait for device to be ready
xsetwacom set 'Wacom Intuos S 2 Pad pad' Button 1 'key -'
xsetwacom set 'Wacom Intuos S 2 Pad pad' Button 3 'key +'
xsetwacom set 'Wacom Intuos S 2 Pad pad' Button 8 'key +Ctrl z -Ctrl'
xsetwacom set 'Wacom Intuos S 2 Pad pad' Button 9 'key +Ctrl +Shift z -Ctrl -Shift'

This script works fine if I run it manually.

My goal is to run this script automatically whenever the pad is plugged in. I tried that with the following udev rule:

/etc/udev/rules.d/10-wacom_intuos_s_2_pad.rules

ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="033b", RUN+="/usr/local/bin/wacom_intuos_s_2_pad_button_mapping.sh"

However, the script is not executed when I plug in the pad.
(I have placed a line at the beginning of the script to write test output to a file. But since nothing is written to that file, I assume that the script is not executed at all.)


Im running Arch Linux (5.5.10-arch1-1)

$ lsusb
...
Bus 004 Device 015: ID 056a:033b Wacom Co., Ltd CTL-490 [Intuos Draw (S)]
...
$ udevadm info -a -n hidraw0
...
  looking at parent device '/devices/pci0000:00/0000:00:10.0/usb4/4-2':
    KERNELS=="4-2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{authorized}=="1"
    ATTRS{bcdDevice}=="0100"
    ATTRS{bmAttributes}=="80"
    ATTRS{bMaxPower}=="498mA"
    ATTRS{manufacturer}=="Wacom Co.,Ltd."
    ATTRS{quirks}=="0x0"
    ATTRS{maxchild}=="0"
    ATTRS{bNumInterfaces}==" 3"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{devpath}=="2"
    ATTRS{ltm_capable}=="no"
    ATTRS{busnum}=="4"
    ATTRS{devnum}=="15"
    ATTRS{tx_lanes}=="1"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{speed}=="12"
    ATTRS{version}==" 2.00"
    ATTRS{product}=="Intuos PS"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{idVendor}=="056a"
    ATTRS{configuration}==""
    ATTRS{devspec}=="(null)"
    ATTRS{urbnum}=="174"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{removable}=="unknown"
    ATTRS{rx_lanes}=="1"
    ATTRS{idProduct}=="033b"
...
$ udevadm test --action="add" /devices/pci0000:00/0000:00:10.0/usb4/4-2
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

Load module index
Parsed configuration file /usr/lib/systemd/network/99-default.link
Created link configuration context.
Reading rules file: /usr/lib/udev/rules.d/10-dm.rules
Reading rules file: /etc/udev/rules.d/10-wacom_intuos_s_2_pad.rules
...
Reading rules file: /usr/lib/udev/rules.d/65-libwacom.rules
...
Reading rules file: /usr/lib/udev/rules.d/wacom.rules
Invalid inotify descriptor.
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb4/4-2
DEVNAME=/dev/bus/usb/004/015
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=56a/33b/100
TYPE=0/0/0
BUSNUM=004
DEVNUM=015
MAJOR=189
MINOR=398
ACTION=add
SUBSYSTEM=usb
ID_VENDOR=Wacom_Co._Ltd.
ID_VENDOR_ENC=Wacomx20Co.x2cLtd.
ID_VENDOR_ID=056a
ID_MODEL=Intuos_PS
ID_MODEL_ENC=Intuosx20PS
ID_MODEL_ID=033b
ID_REVISION=0100
ID_SERIAL=Wacom_Co._Ltd._Intuos_PS
ID_BUS=usb
ID_USB_INTERFACES=:030000:030102:
ID_VENDOR_FROM_DATABASE=Wacom Co., Ltd
ID_MODEL_FROM_DATABASE=CTL-490 [Intuos Draw (S)]
ID_PATH=pci-0000:00:10.0-usb-0:2
ID_PATH_TAG=pci-0000_00_10_0-usb-0_2
USEC_INITIALIZED=4102997566
run: '/usr/local/bin/wacom_intuos_s_2_pad_button_mapping.sh'
Unload module index
Unloaded link configuration context.
$ journalctl -xe
Mar 22 17:38:55 scriptim systemd-udevd[5927]: 1-1: Process '/usr/local/bin/wacom_intuos_s_2_pad_button_mapping.sh' failed with exit code 255.


Get this bounty!!!

#StackBounty: #arch-linux #x11 #arm X11 crashing on login (Arch ARM)

Bounty: 50

I am using Arch Linux on a Chromebook C201 (ARM). Since I recently upgraded the system, the desktop environment seems to be crashing shortly after I login (before the upgrade it was working fine). I have both LXDE and MATE installed and I am seeing similar crashes on both. The two DEs are using different Window Managers (Openbox and marco), so I suspect there may be an issue with X server.

When the system crashes, the screen freezes and the desktop completely locks up. There is no response to mouse or keyboard input and I am unable to use CTL-ALT-F2 etc. to switch to a console tty. After a few minutes it dumps me back in the lightdm login screen.

I have found the following errors (which seem to be relevant) in ~/.cache/lxsession/LXDE/run.log:

** (lxpanel:524): WARNING **: 21:18:33.907: The directory '~/Templates' doesn't exist, ignoring it

** (pcmanfm:525): WARNING **: 21:18:33.907: The directory '~/Templates' doesn't exist, ignoring it
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"

(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.467: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.467: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.476: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (lxpanel:524): WARNING **: 21:18:34.544: Battery entry BAT0 not found, using sbs-20-000b

(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.547: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.547: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (lxpanel:524): WARNING **: 21:18:34.736: launchbar: desktop entry does not exist

(nm-applet:541): libnotify-WARNING **: 21:18:38.692: Failed to connect to proxy

(nm-applet:541): nm-applet-WARNING **: 21:18:38.698: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
lxterminal

(lxpanel:524): Wnck-WARNING **: 21:18:40.000: Unhandled action type _OB_WM_ACTION_UNDECORATE

(lxpanel:524): Wnck-WARNING **: 21:19:12.727: Unhandled action type _OB_WM_ACTION_UNDECORATE

(lxpanel:524): Wnck-WARNING **: 21:19:12.861: Unhandled action type _OB_WM_ACTION_UNDECORATE
/usr/lib/firefox/firefox 

(lxpanel:524): Wnck-WARNING **: 21:19:36.058: Unhandled action type _OB_WM_ACTION_UNDECORATE
(END)

The equivalent errors for MATE (from ~/.xsession-errors) are:

mate-session[1216]: WARNING: Unable to find provider '' of required component 'dock'
Window manager warning: Log level 128: unsetenv() is not thread-safe and should not be used after threads are created

(caja:1299): Gtk-WARNING **: 21:22:12.818: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client

(mate-power-manager:1337): Gdk-CRITICAL **: 21:22:14.720: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Gdk-Message: 21:25:19.408: mate-power-manager: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.408: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.409: mate-session: Fatal IO error 104 (Connection reset by peer) on X server :0.

Gdk-Message: 21:25:19.409: marco: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.415: caja: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.413: polkit-mate-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.409: mate-maximus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.408: mate-volume-control-status-icon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.408: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.409: mate-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.415: mate-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 21:25:19.423: mate-panel: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Contents of Xorg.0.log:

[    10.124] 
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[    10.124] Build Operating System: Linux Arch Linux
[    10.124] Current Operating System: Linux leeLibrebook 5.5.6-1-ARCH #1 SMP PREEMPT Wed Feb 26 00:56:53 UTC 2020 armv7l
[    10.124] Kernel command line: cros_secure console=tty0 init=/sbin/init root=PARTUUID=1b19e700-f9cb-f247-bc7f-207dece4cdb7/PARTNROFF=1 rootwait rw noinitrd 
[    10.124] Build Date: 16 January 2020  05:49:11PM
[    10.124]  
[    10.124] Current version of pixman: 0.38.4
[    10.124]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    10.124] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.124] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 17 21:57:41 2020
[    10.125] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.125] (==) No Layout section.  Using the first Screen section.
[    10.125] (==) No screen section available. Using defaults.
[    10.125] (**) |-->Screen "Default Screen Section" (0)
[    10.125] (**) |   |-->Monitor "<default monitor>"
[    10.125] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    10.125] (==) Automatically adding devices
[    10.125] (==) Automatically enabling devices
[    10.125] (==) Automatically adding GPU devices
[    10.125] (==) Automatically binding GPU devices
[    10.125] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.126] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    10.126]    Entry deleted from font path.
[    10.126] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    10.126]    Entry deleted from font path.
[    10.126] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    10.126]    Entry deleted from font path.
[    10.126] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    10.126]    Entry deleted from font path.
[    10.126] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    10.126]    Entry deleted from font path.
[    10.126] (==) FontPath set to:
    /usr/share/fonts/TTF
[    10.126] (==) ModulePath set to "/usr/lib/xorg/modules"
[    10.126] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.126] (II) Module ABI versions:
[    10.126]    X.Org ANSI C Emulation: 0.4
[    10.126]    X.Org Video Driver: 24.1
[    10.126]    X.Org XInput driver : 24.1
[    10.126]    X.Org Server Extension : 10.0
[    10.127] (++) using VT number 7

[    10.127] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.129] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.143] (II) xfree86: Adding drm device (/dev/dri/card1)
[    10.144] (II) no primary bus or device found
[    10.144]    falling back to /sys/devices/platform/display-subsystem/drm/card0
[    10.144] (II) LoadModule: "glx"
[    10.144] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    10.148] (II) Module glx: vendor="X.Org Foundation"
[    10.148]    compiled for 1.20.7, module version = 1.0.0
[    10.148]    ABI class: X.Org Server Extension, version 10.0
[    10.148] (==) Matched modesetting as autoconfigured driver 0
[    10.148] (==) Matched fbdev as autoconfigured driver 1
[    10.148] (==) Assigned the driver to the xf86ConfigLayout
[    10.148] (II) LoadModule: "modesetting"
[    10.148] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    10.149] (II) Module modesetting: vendor="X.Org Foundation"
[    10.149]    compiled for 1.20.7, module version = 1.20.7
[    10.149]    Module class: X.Org Video Driver
[    10.149]    ABI class: X.Org Video Driver, version 24.1
[    10.149] (II) LoadModule: "fbdev"
[    10.150] (WW) Warning, couldn't open module fbdev
[    10.150] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    10.150] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    10.160] (II) modeset(0): using drv /dev/dri/card0
[    10.160] (II) modeset(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[    10.160] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    10.160] (==) modeset(0): RGB weight 888
[    10.160] (==) modeset(0): Default visual is TrueColor
[    10.160] (II) Loading sub module "glamoregl"
[    10.160] (II) LoadModule: "glamoregl"
[    10.161] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    10.173] (II) Module glamoregl: vendor="X.Org Foundation"
[    10.173]    compiled for 1.20.7, module version = 1.0.1
[    10.173]    ABI class: X.Org ANSI C Emulation, version 0.4
[    10.193] (EE) 
[    10.193] (EE) Backtrace:
[    10.193] (EE) 
[    10.193] (EE) Segmentation fault at address 0xdda8
[    10.193] (EE) 
Fatal server error:
[    10.193] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    10.193] (EE) 
[    10.193] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[    10.193] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    10.193] (EE) 
[    10.200] (EE) Server terminated with error (1). Closing log file.

Does anyone have any idea what might be causing this? I have run memtester (as suggested in the comments) and it didn’t identify any issues with the RAM. The system seems perfectly stable in a console terminal.

It’s possible the issue is just a bad package from Arch ARM, which has broken the system during the last update. Does anyone have any thoughts on what package is likely to be broken? (if so, I’ll try rolling back)


Get this bounty!!!

#StackBounty: #openvpn #arch-linux Connect to OpenVPN server via a HTTP proxy

Bounty: 100

I’ve read this question and want to do something slightly different:

How to use OpenVPN behind a HTTP and HTTPS proxy?

I have a few local services that I want to connect to the internet through OpenVPN. I don’t want to send my entire stack through there so the obvious way seems to be to run an OpenVPN server that can be connected to as though it’s a HTTP proxy as such:

Service (machine 1) => HTTP proxy (machine 2) => OpenVPN Client (machine 2) => ProntonVPN => Internet

How would I go about doing this? Every guide I’ve found has had the OpenVPN and HTTP proxy switched.

If it’s of any relevance, every machine concerned is running Arch.


Get this bounty!!!

#StackBounty: #arch-linux #xorg #mouse Getting thumb buttons working | Zowie ec2-b

Bounty: 50

I’m using steam to play CS:GO on Arch Linux. So far everything works but mouse thumb buttons. I tried to map them in game, then I realized game does not identify those keys at all. I went through Thumb Buttons – forward and back but I think the issue here is evdev is not identifying thumb buttons events as buttons. (I’m using Arch Linux + bspwm + sxhkd setup)

xev output for forward thumb button

LeaveNotify event, serial 33, synthetic NO, window 0x4c00001,
    root 0x1e6, subw 0x0, time 4046616, (2,420), root:(974,442),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

EnterNotify event, serial 33, synthetic NO, window 0x4c00001,
    root 0x1e6, subw 0x0, time 4046777, (2,420), root:(974,442),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  4294967270 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

xev output for back thumb button

LeaveNotify event, serial 33, synthetic NO, window 0x4a00001,
    root 0x1e6, subw 0x0, time 3944070, (7,455), root:(979,477),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

EnterNotify event, serial 33, synthetic NO, window 0x4a00001,
    root 0x1e6, subw 0x0, time 3944181, (7,455), root:(979,477),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  4294967270 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  

I tried following configurations to xorg too.

Section "InputDevice"
  Identifier      "Evdev Mouse"
  Driver          "evdev"
  Option          "Name" "Kingsis Peripherals ZOWIE Gaming mouse"
  Option          "evBits"  "+1-2"
  Option          "keyBits" "~272-287"
  Option          "relBits" "~0-2 ~6 ~8"
  Option          "Pass"    "3"
  Option          "CorePointer"
EndSection

Section "ServerLayout"
  Identifier     "Default Layout"
  InputDevice    "Evdev Mouse" "CorePointer"
EndSection

I tried killing sxhkd

According to solution in this question, keys could be grabbed globally. only potential application would be sxhkd so I killed the process and tried thumb buttons on xev window but it gave the same results mentioned above.

How do I get thumb buttons working?


Get this bounty!!!

#StackBounty: #bash #ubuntu #ssh #arch-linux #vim Why can't I use tab for autocompletion in neovim over SSH?

Bounty: 50

When used locally on arch I can easily use tab for auto completion in vim when e.g. filling in a path with deoplete. If I SSH to this computer from my laptop then tab still works for completion. But if I SSH from this computer to an Ubuntu 18.04 (or any version I think) machine then when I type tab it simply inserts a tab. What is causing this issue and how can I fix it so I can use tab over SSH when connected to an Ubuntu server?

All machines I mentioned are also running the exact same vimrc and are all using neovim.


Get this bounty!!!

#StackBounty: #bash #ubuntu #ssh #arch-linux #vim Why can't I use tab for autocompletion in neovim over SSH?

Bounty: 50

When used locally on arch I can easily use tab for auto completion in vim when e.g. filling in a path with deoplete. If I SSH to this computer from my laptop then tab still works for completion. But if I SSH from this computer to an Ubuntu 18.04 (or any version I think) machine then when I type tab it simply inserts a tab. What is causing this issue and how can I fix it so I can use tab over SSH when connected to an Ubuntu server?

All machines I mentioned are also running the exact same vimrc and are all using neovim.


Get this bounty!!!

#StackBounty: #bash #ubuntu #ssh #arch-linux #vim Why can't I use tab for autocompletion in neovim over SSH?

Bounty: 50

When used locally on arch I can easily use tab for auto completion in vim when e.g. filling in a path with deoplete. If I SSH to this computer from my laptop then tab still works for completion. But if I SSH from this computer to an Ubuntu 18.04 (or any version I think) machine then when I type tab it simply inserts a tab. What is causing this issue and how can I fix it so I can use tab over SSH when connected to an Ubuntu server?

All machines I mentioned are also running the exact same vimrc and are all using neovim.


Get this bounty!!!

#StackBounty: #bash #ubuntu #ssh #arch-linux #vim Why can't I use tab for autocompletion in neovim over SSH?

Bounty: 50

When used locally on arch I can easily use tab for auto completion in vim when e.g. filling in a path with deoplete. If I SSH to this computer from my laptop then tab still works for completion. But if I SSH from this computer to an Ubuntu 18.04 (or any version I think) machine then when I type tab it simply inserts a tab. What is causing this issue and how can I fix it so I can use tab over SSH when connected to an Ubuntu server?

All machines I mentioned are also running the exact same vimrc and are all using neovim.


Get this bounty!!!