You are not logged in.

#1 2018-02-14 07:42:08

phil5
Member
Registered: 2018-02-14
Posts: 17

i3 display error on new Arch install

Hey all. First post.

I have just installed Arch Linux on a x120e notebook and i3 seems to not display correctly.

I have followed the official wiki pretty closely. I edited ~/.xinitrc and added "exec i3". I start i3 by running startx/xinit. I get:

https://i.imgur.com/OzVXVYw.jpg

i3 log:

02/14/2018 01:16:42 AM - i3 4.14.1 (2017-09-24) starting
02/14/2018 01:16:42 AM - Parsing configfile /etc/i3/config
02/14/2018 01:16:42 AM - deciding for version 4 due to this line: # i3 config file (v4)
02/14/2018 01:16:42 AM - [libi3] ../i3-4.14.1/../i3-4.14.1/libi3/font.c Using Pango font monospace, size 8
02/14/2018 01:16:42 AM - Used number 1 for workspace with name 1
02/14/2018 01:16:42 AM - This is not an in-place restart, copying root window contents to a pixmap
02/14/2018 01:16:42 AM - auto-starting i3-config-wizard
02/14/2018 01:16:42 AM - startup id = i3/i3-config-wizard/346-0-arch1_TIME0
02/14/2018 01:16:42 AM - executing: i3-config-wizard
02/14/2018 01:16:42 AM - Starting bar process: i3bar --bar_id=bar-0 --socket="/run/user/0/i3/ipc-socket.346"
02/14/2018 01:16:42 AM - executing: i3bar --bar_id=bar-0 --socket="/run/user/0/i3/ipc-socket.346"
02/14/2018 01:16:42 AM - Not a managed window, ignoring UnmapNotify event
02/14/2018 01:16:42 AM - IPC: looking for config for bar ID "bar-0"
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b393ce0, ws = 0x55e81b393ce0
02/14/2018 01:16:42 AM - _NET_WM_NAME changed to "i3: first configuration"
02/14/2018 01:16:42 AM - Checking window 0x00800001 (class (null))
02/14/2018 01:16:42 AM - dock status does not match
02/14/2018 01:16:42 AM - Checking window 0x00800001 (class (null))
02/14/2018 01:16:42 AM - dock status does not match
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b393ce0, ws = 0x55e81b393ce0
02/14/2018 01:16:42 AM - This window is a dialog window, setting floating
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b393ce0, ws = 0x55e81b393ce0
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b393ce0, ws = 0x55e81b393ce0
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b38fdb0, ws = 0x55e81b38fdb0
02/14/2018 01:16:42 AM - WM_CLASS changed to i3bar (instance), i3bar (class)
02/14/2018 01:16:42 AM - WM_NAME changed to "i3bar for output LVDS"
02/14/2018 01:16:42 AM - Using legacy window title. Note that in order to get Unicode window titles in i3, the application has to set _NET_WM_NAME (UTF-8)
02/14/2018 01:16:42 AM - This window is of type dock
02/14/2018 01:16:42 AM - Checking window 0x00a00003 (class i3bar)
02/14/2018 01:16:42 AM - dock status does not match
02/14/2018 01:16:42 AM - Checking window 0x00a00003 (class i3bar)
02/14/2018 01:16:42 AM - dock status matches
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b393ce0, ws = 0x55e81b393ce0
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b38fdb0, ws = 0x55e81b38fdb0
02/14/2018 01:16:42 AM - ClientMessage for window 0x000004c8
02/14/2018 01:16:42 AM - workspace visible? fs = 0x55e81b393ce0, ws = 0x55e81b393ce0
i3status: trying to auto-detect output_format setting
i3status: auto-detected "i3bar"
02/14/2018 01:17:42 AM - Not a managed window, ignoring UnmapNotify event
Exiting due to signal.

Is this a video driver issue? Otherwise, Xorg seems to display correctly.

Thanks for your help.

Edit:

Xorg.0.log
https://gist.github.com/anonymous/00231 … 8e296ae0d9

.xinitrc

exec i3

i3 config (vanilla, copied from /etc/i3/config)
https://gist.github.com/anonymous/29fb6 … d85806d8cc

I copied the default i3 config to ~/.config/i3/config because there was none.

Result is the same as in the screenshot above except there is no window in the middle.

Last edited by phil5 (2018-02-14 18:58:58)

Offline

#2 2018-02-14 07:49:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: i3 display error on new Arch install

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

And post your Xorg.log, and full .xinitrc and i3 config.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-02-14 18:59:54

phil5
Member
Registered: 2018-02-14
Posts: 17

Re: i3 display error on new Arch install

jasonwryan wrote:

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

And post your Xorg.log, and full .xinitrc and i3 config.

Thanks.

I updated the OP with the information above.

Offline

#4 2018-02-14 20:06:57

phil5
Member
Registered: 2018-02-14
Posts: 17

Re: i3 display error on new Arch install

I have installed modules fbdev and vesa (see EE tags in Xorg log) but result is the same.

In the meantime, I have installed openbox and while I get a menu on right-click, the items are invisible (but clickable). They yield dialog boxes with invalid (square) characters.

So I suspect characters in general do not display properly, because I get the same type of coloured boxes in i3.

Offline

#5 2018-02-14 20:13:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: i3 display error on new Arch install

Your xinitrc is incomplete: read the wiki page and source the necessary files to ensure your session is not broken.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2018-02-14 20:19:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,529
Website

Re: i3 display error on new Arch install

fbdev and vesa are not necessary, you may want to remove them again.  The errors for those in the Xorg log are to be expected - they're not a problem as long as you have a proper video driver installed, which you seem to.

This sounds primarily like an issue with fonts.  But first to cover another simple point, can you post the output of the following:

lspci | grep -e VGA -e 3D

On fonts issues, I'm not the most well versed to help, but the following check might be a good start:

pacman -Qs freetype

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2018-02-14 20:28:14

phil5
Member
Registered: 2018-02-14
Posts: 17

Re: i3 display error on new Arch install

Trilby wrote:

fbdev and vesa are not necessary, you may want to remove them again.  The errors for those in the Xorg log are to be expected - they're not a problem as long as you have a proper video driver installed, which you seem to.

This sounds primarily like an issue with fonts.  But first to cover another simple point, can you post the output of the following:

lspci | grep -e VGA -e 3D

On fonts issues, I'm not the most well versed to help, but the following check might be a good start:

pacman -Qs freetype

Respectively:

# lspci | grep -e VGA -e 3D
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310]
# pacman -Qs freetype
local/freetype2 2.9-2
    Font rasterization library
local/libxft 2.3.2-1
    FreeType-based font drawing library for X

Offline

#8 2018-02-14 20:42:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,529
Website

Re: i3 display error on new Arch install

That all looks good.  This is a bit of a wild guess, but could there be a locale issue:

locale -a
localectl

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2018-02-14 20:47:05

phil5
Member
Registered: 2018-02-14
Posts: 17

Re: i3 display error on new Arch install

# locale -a
C
en_US.utf8
POSIX
# localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a

Offline

#10 2018-02-14 23:12:21

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: i3 display error on new Arch install

fc-match monospace

Offline

#11 2018-02-14 23:19:14

phil5
Member
Registered: 2018-02-14
Posts: 17

Re: i3 display error on new Arch install

seth wrote:
fc-match monospace

I get nothing. With '-s' I get

No fonts installed on the system

Offline

#12 2018-02-14 23:23:07

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: i3 display error on new Arch install

"surprise" - how do you intend to see any text if you've no fonts installed?

Pick one:
https://www.archlinux.org/packages/?sor … ilib&q=ttf

ensure it has a monospace variant.

Offline

#13 2018-02-14 23:39:12

phil5
Member
Registered: 2018-02-14
Posts: 17

Re: i3 display error on new Arch install

seth wrote:

"surprise" - how do you intend to see any text if you've no fonts installed?

Pick one:
https://www.archlinux.org/packages/?sor … ilib&q=ttf

ensure it has a monospace variant.

Ah...

I figured there was a default font or something, since Xorg worked and the installation guide never mentions fonts except in the "eye candy" General recommendations section.

I installed ttf-dejavu. Openbox seems to work now. Still not sure about i3 but I will figure it out.

Thanks everyone.

Offline

Board footer

Powered by FluxBB