swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.66k stars 1.11k forks source link

RX Vega 64, sway runs in Gnome, not in TTY #2444

Closed kminehart closed 6 years ago

kminehart commented 6 years ago

Hi there.

I'm having trouble running Sway on Arch Linux using AMD open source drivers amdgpu.

kminehart-linux-desktop ~ » sway -v                                                                                                130 ↵
sway version 0.15.2

kminehart-linux-desktop ~ » lspci | grep VGA
0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] (rev c1)
kminehart-linux-desktop ~ » uname -a
Linux kminehart-linux-desktop 4.17.12-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 3 07:16:41 UTC 2018 x86_64 GNU/Linux

Log when running on Gnome (works):

kminehart-linux-desktop ~ » sway -V
08/09/18 15:22:25 - [main.c:250] Linux kminehart-linux-desktop 4.17.12-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 3 07:16:41 UTC 2018 x86_64 GNU/Linux
08/09/18 15:22:25 - [main.c:222] Contents of /etc/os-release:
08/09/18 15:22:25 - [main.c:229] NAME="Arch Linux"
08/09/18 15:22:25 - [main.c:229] PRETTY_NAME="Arch Linux"
08/09/18 15:22:25 - [main.c:229] ID=arch
08/09/18 15:22:25 - [main.c:229] ID_LIKE=archlinux
08/09/18 15:22:25 - [main.c:229] ANSI_COLOR="0;36"
08/09/18 15:22:25 - [main.c:229] HOME_URL="https://www.archlinux.org/"
08/09/18 15:22:25 - [main.c:229] SUPPORT_URL="https://bbs.archlinux.org/"
08/09/18 15:22:25 - [main.c:229] BUG_REPORT_URL="https://bugs.archlinux.org/"
08/09/18 15:22:25 - [main.c:207] PATH=/opt/google-cloud-sdk/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/kminehart/go/bin:/home/kminehart/.bin:/opt/google-cloud-sdk/bin
08/09/18 15:22:25 - [main.c:207] LD_LOAD_PATH=(null)
08/09/18 15:22:25 - [main.c:207] LD_PRELOAD_PATH=(null)
08/09/18 15:22:25 - [main.c:207] LD_LIBRARY_PATH=(null)
08/09/18 15:22:25 - [main.c:207] SWAY_CURSOR_THEME=(null)
08/09/18 15:22:25 - [main.c:207] SWAY_CURSOR_SIZE=(null)
08/09/18 15:22:25 - [main.c:207] SWAYSOCK=(null)
08/09/18 15:22:25 - [main.c:207] WLC_DRM_DEVICE=(null)
08/09/18 15:22:25 - [main.c:207] WLC_SHM=(null)
08/09/18 15:22:25 - [main.c:207] WLC_OUTPUTS=(null)
08/09/18 15:22:25 - [main.c:207] WLC_XWAYLAND=(null)
08/09/18 15:22:25 - [main.c:207] WLC_LIBINPUT=(null)
08/09/18 15:22:25 - [main.c:207] WLC_REPEAT_DELAY=(null)
08/09/18 15:22:25 - [main.c:207] WLC_REPEAT_RATE=(null)
08/09/18 15:22:25 - [main.c:207] XKB_DEFAULT_RULES=(null)
08/09/18 15:22:25 - [main.c:207] XKB_DEFAULT_MODEL=(null)
08/09/18 15:22:25 - [main.c:207] XKB_DEFAULT_LAYOUT=(null)
08/09/18 15:22:25 - [main.c:207] XKB_DEFAULT_VARIANT=(null)
08/09/18 15:22:25 - [main.c:207] XKB_DEFAULT_OPTIONS=(null)
08/09/18 15:22:25 - [main.c:466] Starting sway version 0.15.2

08/09/18 15:22:25 - [config.c:475] Loading config from /etc/sway/security.d/00-defaults
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit * fullscreen keyboard mouse'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaylock lock'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaybg background'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaygrab screenshot'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaybar panel'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaymsg {'
08/09/18 15:22:25 - [commands.c:519] handling config command '* enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'events {'
08/09/18 15:22:25 - [commands.c:519] handling config command '* disabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaybar {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bar-config enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'outputs enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'workspaces enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'command enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'events {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'workspace enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'mode enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaygrab {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'outputs enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'tree enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaylock {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'outputs enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'commands {'
08/09/18 15:22:25 - [commands.c:623] Set command policy for * to -1
08/09/18 15:22:25 - [commands.c:623] Set command policy for fullscreen to 10
08/09/18 15:22:25 - [commands.c:623] Set command policy for bindsym to 1
08/09/18 15:22:25 - [commands.c:623] Set command policy for exit to 2
08/09/18 15:22:25 - [commands.c:623] Set command policy for kill to 2
08/09/18 15:22:25 - [config.c:475] Loading config from /home/kminehart/.config/sway/config
08/09/18 15:22:25 - [commands.c:519] handling config command 'set $mod Mod1'
08/09/18 15:22:25 - [commands.c:519] handling config command 'set $left h'
08/09/18 15:22:25 - [commands.c:519] handling config command 'set $down j'
08/09/18 15:22:25 - [commands.c:519] handling config command 'set $up k'
08/09/18 15:22:25 - [commands.c:519] handling config command 'set $right l'
08/09/18 15:22:25 - [commands.c:519] handling config command 'set $term gnome-terminal'
08/09/18 15:22:25 - [commands.c:519] handling config command 'set $menu dmenu_path | dmenu | xargs swaymsg exec'
08/09/18 15:22:25 - [commands.c:519] handling config command 'output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Return exec $term'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+q kill'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+d exec $menu'
08/09/18 15:22:25 - [commands.c:519] handling config command 'floating_modifier $mod normal'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+c reload'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit''
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+$left focus left'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+$down focus down'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+$up focus up'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+$right focus right'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Left focus left'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Down focus down'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Up focus up'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Right focus right'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+$left move left'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+$down move down'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+$up move up'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+$right move right'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+Left move left'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+Down move down'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+Up move up'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+Right move right'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+1 workspace 1'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+2 workspace 2'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+3 workspace 3'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+4 workspace 4'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+5 workspace 5'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+6 workspace 6'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+7 workspace 7'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+8 workspace 8'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+9 workspace 9'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+0 workspace 10'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+1 move container to workspace 1'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+2 move container to workspace 2'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+3 move container to workspace 3'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+4 move container to workspace 4'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+5 move container to workspace 5'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+6 move container to workspace 6'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+7 move container to workspace 7'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+8 move container to workspace 8'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+9 move container to workspace 9'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+0 move container to workspace 10'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+b splith'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+v splitv'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+s layout stacking'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+w layout tabbed'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+e layout toggle split'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+f fullscreen'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+space floating toggle'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+space focus mode_toggle'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+a focus parent'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+Shift+minus move scratchpad'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+minus scratchpad show'
08/09/18 15:22:25 - [commands.c:519] handling config command 'mode "resize" {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $left resize shrink width 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $down resize grow height 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $up resize shrink height 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $right resize grow width 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym Left resize shrink width 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym Down resize grow height 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym Up resize shrink height 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym Right resize grow width 10px'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym Return mode "default"'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym Escape mode "default"'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bindsym $mod+r mode "resize"'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bar {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'position top'
08/09/18 15:22:25 - [commands.c:519] handling config command 'colors {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'statusline #ffffff'
08/09/18 15:22:25 - [commands.c:519] handling config command 'background #323232'
08/09/18 15:22:25 - [commands.c:519] handling config command 'inactive_workspace #32323200 #32323200 #5c5c5c'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'include /etc/sway/security.d/*'
08/09/18 15:22:25 - [config.c:475] Loading config from /etc/sway/security.d/00-defaults
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit * fullscreen keyboard mouse'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaylock lock'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaybg background'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaygrab screenshot'
08/09/18 15:22:25 - [commands.c:519] handling config command 'permit /usr/bin/swaybar panel'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaymsg {'
08/09/18 15:22:25 - [commands.c:519] handling config command '* enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'events {'
08/09/18 15:22:25 - [commands.c:519] handling config command '* disabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaybar {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'bar-config enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'outputs enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'workspaces enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'command enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'events {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'workspace enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'mode enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaygrab {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'outputs enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command 'tree enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'ipc /usr/bin/swaylock {'
08/09/18 15:22:25 - [commands.c:519] handling config command 'outputs enabled'
08/09/18 15:22:25 - [commands.c:519] handling config command '}'
08/09/18 15:22:25 - [commands.c:519] handling config command 'commands {'
08/09/18 15:22:25 - [commands.c:623] Set command policy for * to -1
08/09/18 15:22:25 - [commands.c:623] Set command policy for fullscreen to 10
08/09/18 15:22:25 - [commands.c:623] Set command policy for bindsym to 1
08/09/18 15:22:25 - [commands.c:623] Set command policy for exit to 2
08/09/18 15:22:25 - [commands.c:623] Set command policy for kill to 2
08/09/18 15:22:25 - [commands.c:519] handling config command 'include /etc/sway/config.d/*'
08/09/18 15:22:25 - [main.c:71] Using output 0 of 1

And the debug log when running from a TTY:

https://gist.github.com/kminehart/6c55858a277bafbd79f2f02effe4dd38

.config/sway/config:

# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.

### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod1
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term gnome-terminal
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
set $menu dmenu_path | dmenu | xargs swaymsg exec

### Output configuration
#
# Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/)
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs

### Idle configuration
#
# Example configuration:
#
#exec swayidle \
#    timeout 300 'swaylock -c 000000' \
#    timeout 600 'swaymsg "output * dpms off"' \
#       resume 'swaymsg "output * dpms on"' \
#    before-sleep 'swaylock -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 600 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.

### Input configuration
#
# Example configuration:
#
#   input "2:14:SynPS/2_Synaptics_TouchPad" {
#       dwt enabled
#       tap enabled
#       natural_scroll enabled
#       middle_emulation enabled
#   }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.

### Key bindings
#
# Basics:
#
    # start a terminal
    bindsym $mod+Return exec $term

    # kill focused window
    bindsym $mod+Shift+q kill

    # start your launcher
    bindsym $mod+d exec $menu

    # Drag floating windows by holding down $mod and left mouse button.
    # Resize them with right mouse button + $mod.
    # Despite the name, also works for non-floating windows.
    # Change normal to inverse to use left mouse button for resizing and right
    # mouse button for dragging.
    floating_modifier $mod normal

    # reload the configuration file
    bindsym $mod+Shift+c reload

    # exit sway (logs you out of your Wayland session)
    bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
#
# Moving around:
#
    # Move your focus around
    bindsym $mod+$left focus left
    bindsym $mod+$down focus down
    bindsym $mod+$up focus up
    bindsym $mod+$right focus right
    # or use $mod+[up|down|left|right]
    bindsym $mod+Left focus left
    bindsym $mod+Down focus down
    bindsym $mod+Up focus up
    bindsym $mod+Right focus right

    # _move_ the focused window with the same, but add Shift
    bindsym $mod+Shift+$left move left
    bindsym $mod+Shift+$down move down
    bindsym $mod+Shift+$up move up
    bindsym $mod+Shift+$right move right
    # ditto, with arrow keys
    bindsym $mod+Shift+Left move left
    bindsym $mod+Shift+Down move down
    bindsym $mod+Shift+Up move up
    bindsym $mod+Shift+Right move right
#
# Workspaces:
#
    # switch to workspace
    bindsym $mod+1 workspace 1
    bindsym $mod+2 workspace 2
    bindsym $mod+3 workspace 3
    bindsym $mod+4 workspace 4
    bindsym $mod+5 workspace 5
    bindsym $mod+6 workspace 6
    bindsym $mod+7 workspace 7
    bindsym $mod+8 workspace 8
    bindsym $mod+9 workspace 9
    bindsym $mod+0 workspace 10
    # move focused container to workspace
    bindsym $mod+Shift+1 move container to workspace 1
    bindsym $mod+Shift+2 move container to workspace 2
    bindsym $mod+Shift+3 move container to workspace 3
    bindsym $mod+Shift+4 move container to workspace 4
    bindsym $mod+Shift+5 move container to workspace 5
    bindsym $mod+Shift+6 move container to workspace 6
    bindsym $mod+Shift+7 move container to workspace 7
    bindsym $mod+Shift+8 move container to workspace 8
    bindsym $mod+Shift+9 move container to workspace 9
    bindsym $mod+Shift+0 move container to workspace 10
    # Note: workspaces can have any name you want, not just numbers.
    # We just use 1-10 as the default.
#
# Layout stuff:
#
    # You can "split" the current object of your focus with
    # $mod+b or $mod+v, for horizontal and vertical splits
    # respectively.
    bindsym $mod+b splith
    bindsym $mod+v splitv

    # Switch the current container between different layout styles
    bindsym $mod+s layout stacking
    bindsym $mod+w layout tabbed
    bindsym $mod+e layout toggle split

    # Make the current focus fullscreen
    bindsym $mod+f fullscreen

    # Toggle the current focus between tiling and floating mode
    bindsym $mod+Shift+space floating toggle

    # Swap focus between the tiling area and the floating area
    bindsym $mod+space focus mode_toggle

    # move focus to the parent container
    bindsym $mod+a focus parent
#
# Scratchpad:
#
    # Sway has a "scratchpad", which is a bag of holding for windows.
    # You can send windows there and get them back later.

    # Move the currently focused window to the scratchpad
    bindsym $mod+Shift+minus move scratchpad

    # Show the next scratchpad window or hide the focused scratchpad window.
    # If there are multiple scratchpad windows, this command cycles through them.
    bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
    # left will shrink the containers width
    # right will grow the containers width
    # up will shrink the containers height
    # down will grow the containers height
    bindsym $left resize shrink width 10px
    bindsym $down resize grow height 10px
    bindsym $up resize shrink height 10px
    bindsym $right resize grow width 10px

    # ditto, with arrow keys
    bindsym Left resize shrink width 10px
    bindsym Down resize grow height 10px
    bindsym Up resize shrink height 10px
    bindsym Right resize grow width 10px

    # return to default mode
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"

#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
    position top
    colors {
        statusline #ffffff
        background #323232
        inactive_workspace #32323200 #32323200 #5c5c5c
    }
}

include /etc/sway/security.d/*
include /etc/sway/config.d/*

Let me know if there's any other information I can provide. I've noticed a general slowness on my Vega card in general; honestly it feels less performant than the RX 470 that I had before this. I'm wondering if I have the drivers set up properly... I can't imagine what I'd be missing though.

kminehart-linux-desktop ~ » pacman -Q | grep -i amd                                                                                130 ↵
xf86-video-amdgpu 18.0.1-2

I'm trying right now to install the AUR package for mesa-git and hoping that helps, but that is taking a while (and has failed several times before for me).

Thanks!

ddevault commented 6 years ago

Can you try alpha.5?

kminehart commented 6 years ago
kminehart-linux-desktop ~/.sway ‹0cd418ba› » sway -v
sway version 1.0-alpha.5 (Aug  9 2018, branch 'HEAD')

Well, there we go, that did it. I tried using sway-git on the AUR yesterday and that didn't seem to work, I'm assuming it's because that's using the master branch?

Thanks for the quick response!

ddevault commented 6 years ago

No, sway-git is using the legacy 0.15 branch.