copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.8k stars 1.4k forks source link

Xorg unable to start in the Archlinux profile under Google Chrome 41 #46

Closed jmurth1234 closed 9 years ago

jmurth1234 commented 9 years ago

Odd issue in Chrome 41 - startx fails under the arch linux profile. Starting X works fine under firefox. Error log is as follows:

[  1558.254] 
X.Org X Server 1.17.1
Release Date: 2015-02-10
[  1558.301] X Protocol Version 11, Revision 0
[  1558.318] Build Operating System: Linux 3.18.6-1-ARCH i686 
[  1558.360] Current Operating System: Linux nyu 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:59:29 CET 2015 i686
[  1558.378] Kernel command line: BOOT_IMAGE=../vmlinuz-linux apm=off vga=0x343 video=vesafb:ypan,vremap:8 root=host9p rootfstype=9p rootflags=trans=virtio  quiet initrd=../initramfs-linux.img
[  1558.456] Build Date: 14 March 2015  06:47:44PM
[  1558.466]  
[  1558.487] Current version of pixman: 0.32.6
[  1558.546]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  1558.568] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1558.948] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 19 15:13:07 2015
[  1560.793] (==) Using config file: "/etc/X11/xorg.conf"
[  1560.832] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1560.990] (==) ServerLayout "X.org Configured"
[  1560.997] (**) |-->Screen "Screen0" (0)
[  1561.005] (**) |   |-->Monitor "Monitor0"
[  1561.057] (**) |   |-->Device "Card0"
[  1561.061] (**) |-->Input Device "Mouse0"
[  1561.063] (**) |-->Input Device "Keyboard0"
[  1561.072] (==) Automatically adding devices
[  1561.074] (==) Automatically enabling devices
[  1561.077] (==) Automatically adding GPU devices
[  1561.254] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
[  1561.260]    Entry deleted from font path.
[  1561.268]    (Run 'mkfontdir' on "/usr/share/fonts/OTF/").
[  1561.294] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/Type1/".
[  1561.302]    Entry deleted from font path.
[  1561.307]    (Run 'mkfontdir' on "/usr/share/fonts/Type1/").
[  1561.356] (**) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/,
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[  1561.360] (**) ModulePath set to "/usr/lib/xorg/modules"
[  1561.364] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1561.372] (WW) Disabling Mouse0
[  1561.374] (WW) Disabling Keyboard0
[  1561.383] (II) Loader magic: 0x829e700
[  1561.385] (II) Module ABI versions:
[  1561.387]    X.Org ANSI C Emulation: 0.4
[  1561.390]    X.Org Video Driver: 19.0
[  1561.393]    X.Org XInput driver : 21.0
[  1561.394]    X.Org Server Extension : 9.0
[  1563.042] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  1563.137] (--) PCI:*(0:0:18:0) 10de:0a20:0000:0000 rev 162
[  1563.174] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1563.221] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  1563.227] (II) LoadModule: "glx"
[  1563.400] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1566.921] (II) Module glx: vendor="X.Org Foundation"
[  1566.927]    compiled for 1.17.1, module version = 1.0.0
[  1566.931]    ABI class: X.Org Server Extension, version 9.0
[  1566.933] (==) AIGLX enabled
[  1566.940] (II) LoadModule: "fbdev"
[  1567.128] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  1567.263] (II) Module fbdev: vendor="X.Org Foundation"
[  1567.266]    compiled for 1.17.0, module version = 0.4.4
[  1567.269]    Module class: X.Org Video Driver
[  1567.271]    ABI class: X.Org Video Driver, version 19.0
[  1567.277] (II) FBDEV: driver for framebuffer: fbdev
[  1567.282] (++) using VT number 1

[  1567.284] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  1567.291] (II) Loading sub module "fbdevhw"
[  1567.298] (II) LoadModule: "fbdevhw"
[  1567.442] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  1567.570] (II) Module fbdevhw: vendor="X.Org Foundation"
[  1567.576]    compiled for 1.17.1, module version = 0.0.2
[  1567.580]    ABI class: X.Org Video Driver, version 19.0
[  1567.591] (**) FBDEV(0): claimed PCI slot 0@0:18:0
[  1567.599] (II) FBDEV(0): using default device
[  1567.607] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[  1567.611] (==) FBDEV(0): RGB weight 888
[  1567.613] (==) FBDEV(0): Default visual is TrueColor
[  1567.619] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  1567.622] (II) FBDEV(0): hardware: VESA VGA (video memory: 8192kB)
[  1567.625] (II) FBDEV(0): checking modes against framebuffer device...
[  1567.628] (II) FBDEV(0): checking modes against monitor...
[  1567.631] (--) FBDEV(0): Virtual size is 800x600 (pitch 800)
[  1567.637] (**) FBDEV(0):  Built-in mode "current": 48.0 MHz, 46.9 kHz, 75.1 Hz
[  1567.644] (II) FBDEV(0): Modeline "current"x0.0   48.00  800 832 928 1024  600 604 608 624 -hsync -vsync -csync (46.9 kHz b)
[  1567.649] (==) FBDEV(0): DPI set to (96, 96)
[  1567.651] (II) Loading sub module "fb"
[  1567.653] (II) LoadModule: "fb"
[  1567.813] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1568.323] (II) Module fb: vendor="X.Org Foundation"
[  1568.326]    compiled for 1.17.1, module version = 1.0.0
[  1568.328]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1568.331] (**) FBDEV(0): using shadow framebuffer
[  1568.335] (II) Loading sub module "shadow"
[  1568.338] (II) LoadModule: "shadow"
[  1568.480] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  1568.628] (II) Module shadow: vendor="X.Org Foundation"
[  1568.634]    compiled for 1.17.1, module version = 1.1.0
[  1568.636]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1568.639] (==) Depth 24 pixmap format is 32 bpp
[  1568.651] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[  1568.774] (==) FBDEV(0): Backing store enabled
[  1568.843] (==) FBDEV(0): DPMS enabled
[  1568.860] (==) RandR enabled
[  1572.702] (II) AIGLX: Screen 0 is not DRI2 capable
[  1572.708] (EE) AIGLX: reverting to software rendering
[  1596.285] (II) AIGLX: Loaded and initialized swrast
[  1596.287] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  1604.800] (EE) 
Fatal server error:
[  1604.806] (EE) could not open default font 'fixed'(EE) 
[  1604.818] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  1604.829] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1604.835] (EE) 
[  1605.980] (EE) Server terminated with error (1). Closing log file.
copy commented 9 years ago

Thanks for the report.

It seems to be a problem with the font file, /usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz. It's double-gzipped in the VM, I'll see how to fix this.

copy commented 9 years ago

It's a bug in Chromium: https://code.google.com/p/chromium/issues/detail?id=268085

I fixed it by disabling gzipping of already gzipped files on the server, which is a good idea anyway.