You are not logged in.

#1 2018-05-04 17:16:38

cavetroglodyt
Member
Registered: 2018-05-04
Posts: 3

[SOLVED) Problems starting X server

Hello,

I'm new to the forum, as well as Arch Linux, and hope to get some support.

The situation is as follows:

I have a Samsung NP870Z5E Laptop and want to install the latest Arch Linux. What might be very important is that the AMD Radeon™ HD 8870M Graphics Chip in this computer is literally toast and hasn't worked for quite a while. Nonetheless I have followed the wiki installation guide to the letter, so my super slim (and slightly useless Arch) is up and running.
Now in order to get my X server to work I installed xorg-server and xorg-xinit as well as as the xf86-video-intel driver. When I run 'startx' the program terminates terminates with an error and the Xorg.0.log output is as follows

[  3702.718] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[  3702.721] X Protocol Version 11, Revision 0
[  3702.722] Build Operating System: Linux 4.15.6-1-ARCH x86_64 
[  3702.723] Current Operating System: Linux mashedpotato 4.16.6-1-ARCH #1 SMP PREEMPT Mon Apr 30 12:30:03 UTC 2018 x86_64
[  3702.723] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=27b621c6-1a1a-4467-8b9f-b8dd65af2f75 rw quiet
[  3702.725] Build Date: 12 April 2018  05:31:07AM
[  3702.726]  
[  3702.726] Current version of pixman: 0.34.0
[  3702.728] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3702.728] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3702.731] (==) Log file: "/home/pea/.local/share/xorg/Xorg.0.log", Time: Fri May  4 18:05:14 2018
[  3702.731] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3702.731] (==) No Layout section.  Using the first Screen section.
[  3702.731] (==) No screen section available. Using defaults.
[  3702.731] (**) |-->Screen "Default Screen Section" (0)
[  3702.731] (**) |   |-->Monitor "<default monitor>"
[  3702.732] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  3702.732] (==) Automatically adding devices
[  3702.732] (==) Automatically enabling devices
[  3702.732] (==) Automatically adding GPU devices
[  3702.732] (==) Automatically binding GPU devices
[  3702.732] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3702.732] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[  3702.732] 	Entry deleted from font path.
[  3702.732] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF/".
[  3702.732] 	Entry deleted from font path.
[  3702.732] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF/").
[  3702.732] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  3702.732] 	Entry deleted from font path.
[  3702.732] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  3702.732] 	Entry deleted from font path.
[  3702.732] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[  3702.732] 	Entry deleted from font path.
[  3702.732] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[  3702.732] 	Entry deleted from font path.
[  3702.732] (==) FontPath set to:
	
[  3702.732] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3702.732] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3702.732] (II) Loader magic: 0x556b92884d60
[  3702.732] (II) Module ABI versions:
[  3702.732] 	X.Org ANSI C Emulation: 0.4
[  3702.732] 	X.Org Video Driver: 23.0
[  3702.732] 	X.Org XInput driver : 24.1
[  3702.732] 	X.Org Server Extension : 10.0
[  3702.733] (++) using VT number 1

[  3702.736] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c6
[  3702.736] (II) xfree86: Adding drm device (/dev/dri/card1)
[  3702.737] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 11 paused 0
[  3702.737] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3702.738] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[  3702.740] (--) PCI:*(0:0:2:0) 8086:0166:144d:c0e6 rev 9, Mem @ 0xf7800000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[  3702.740] (--) PCI: (0:1:0:0) 1002:6821:144d:c0e6 rev 0, Mem @ 0xe0000000/268435456, 0xf7e00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[  3702.740] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3702.740] (II) LoadModule: "glx"
[  3702.740] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3702.741] (II) Module glx: vendor="X.Org Foundation"
[  3702.741] 	compiled for 1.19.6, module version = 1.0.0
[  3702.741] 	ABI class: X.Org Server Extension, version 10.0
[  3702.741] (==) Matched intel as autoconfigured driver 0
[  3702.741] (==) Matched ati as autoconfigured driver 1
[  3702.741] (==) Matched intel as autoconfigured driver 2
[  3702.741] (==) Matched modesetting as autoconfigured driver 3
[  3702.741] (==) Matched fbdev as autoconfigured driver 4
[  3702.741] (==) Matched vesa as autoconfigured driver 5
[  3702.741] (==) Assigned the driver to the xf86ConfigLayout
[  3702.741] (II) LoadModule: "intel"
[  3702.741] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  3702.741] (II) Module intel: vendor="X.Org Foundation"
[  3702.741] 	compiled for 1.19.6, module version = 2.99.917
[  3702.741] 	Module class: X.Org Video Driver
[  3702.741] 	ABI class: X.Org Video Driver, version 23.0
[  3702.741] (II) LoadModule: "ati"
[  3702.741] (WW) Warning, couldn't open module ati
[  3702.741] (II) UnloadModule: "ati"
[  3702.741] (II) Unloading ati
[  3702.741] (EE) Failed to load module "ati" (module does not exist, 0)
[  3702.741] (II) LoadModule: "modesetting"
[  3702.741] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  3702.741] (II) Module modesetting: vendor="X.Org Foundation"
[  3702.741] 	compiled for 1.19.6, module version = 1.19.6
[  3702.741] 	Module class: X.Org Video Driver
[  3702.741] 	ABI class: X.Org Video Driver, version 23.0
[  3702.741] (II) LoadModule: "fbdev"
[  3702.742] (WW) Warning, couldn't open module fbdev
[  3702.742] (II) UnloadModule: "fbdev"
[  3702.742] (II) Unloading fbdev
[  3702.742] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  3702.742] (II) LoadModule: "vesa"
[  3702.742] (WW) Warning, couldn't open module vesa
[  3702.742] (II) UnloadModule: "vesa"
[  3702.742] (II) Unloading vesa
[  3702.742] (EE) Failed to load module "vesa" (module does not exist, 0)
[  3702.742] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  3702.742] (II) intel: Driver for Intel(R) HD Graphics
[  3702.742] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  3702.742] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  3702.742] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3702.742] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  3702.742] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20171222
[  3702.742] (II) intel(0): SNA compiled from 2.99.917-829-gd7dfab62
[  3702.757] (WW) Falling back to old probe method for modesetting
[  3702.757] (II) modeset(G0): using drv /dev/dri/card1
[  3702.757] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  3702.758] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[  3702.758] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 4 threads
[  3702.758] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  3702.758] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  3702.758] (==) intel(0): RGB weight 888
[  3702.758] (==) intel(0): Default visual is TrueColor
[  3702.759] (II) intel(0): Output eDP1 has no monitor section
[  3702.759] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[  3702.759] (II) intel(0): Enabled output eDP1
[  3702.759] (II) intel(0): Output VGA1 has no monitor section
[  3702.759] (II) intel(0): Enabled output VGA1
[  3702.759] (II) intel(0): Output HDMI1 has no monitor section
[  3702.760] (II) intel(0): Enabled output HDMI1
[  3702.760] (II) intel(0): Output DP1 has no monitor section
[  3702.760] (II) intel(0): Enabled output DP1
[  3702.760] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  3702.760] (II) intel(0): Output VIRTUAL1 has no monitor section
[  3702.760] (II) intel(0): Enabled output VIRTUAL1
[  3702.760] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[  3702.760] (==) intel(0): TearFree disabled
[  3702.760] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[  3702.760] (==) intel(0): DPI set to (96, 96)
[  3702.760] (II) Loading sub module "dri3"
[  3702.760] (II) LoadModule: "dri3"
[  3702.760] (II) Module "dri3" already built-in
[  3702.760] (II) Loading sub module "dri2"
[  3702.760] (II) LoadModule: "dri2"
[  3702.760] (II) Module "dri2" already built-in
[  3702.760] (II) Loading sub module "present"
[  3702.760] (II) LoadModule: "present"
[  3702.760] (II) Module "present" already built-in
[  3702.760] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[  3702.760] (==) modeset(G0): RGB weight 888
[  3702.760] (==) modeset(G0): Default visual is TrueColor
[  3702.760] (II) Loading sub module "glamoregl"
[  3702.760] (II) LoadModule: "glamoregl"
[  3702.761] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  3702.762] (II) Module glamoregl: vendor="X.Org Foundation"
[  3702.762] 	compiled for 1.19.6, module version = 1.0.0
[  3702.762] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3702.762] (II) glamor: OpenGL accelerated X.org driver based.
[  3702.801] (II) glamor: EGL version 1.5 (DRI2):
[  3702.802] (EE) modeset(G0): Failed to create EGL context
[  3702.802] (EE) 
[  3702.802] (EE) Backtrace:
[  3702.802] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x556b925fce89]
[  3702.803] (EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50) [0x7f157a548bdf]
[  3702.803] (EE) 2: /usr/lib/dri/radeonsi_dri.so (_ZNSt6vectorIPvSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x493d4) [0x7f15733ed054]
[  3702.803] (EE) 3: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_virtio_gpu+0x74d1) [0x7f1573226991]
[  3702.803] (EE) 4: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_virtio_gpu+0x74f5) [0x7f15732269f5]
[  3702.804] (EE) 5: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_virtio_gpu+0x66f) [0x7f1573218cef]
[  3702.804] (EE) 6: /usr/lib/libgbm.so.1 (gbm_surface_has_free_buffers+0x980) [0x7f1574c1fe80]
[  3702.804] (EE) 7: /usr/lib/xorg/modules/libglamoregl.so (_init+0x100b) [0x7f1574e30f0b]
[  3702.805] (EE) 8: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x1a6) [0x7f1574e31076]
[  3702.805] (EE) 9: /usr/lib/xorg/modules/drivers/modesetting_drv.so (_init+0x4ff9) [0x7f157686d5d9]
[  3702.805] (EE) 10: /usr/lib/xorg-server/Xorg (InitOutput+0xc22) [0x556b924dd5a2]
[  3702.805] (EE) 11: /usr/lib/xorg-server/Xorg (InitFonts+0x213) [0x556b9249b093]
[  3702.806] (EE) 12: /usr/lib/libc.so.6 (__libc_start_main+0xe7) [0x7f157a19d9a7]
[  3702.806] (EE) 13: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x556b92484f0a]
[  3702.806] (EE) 
[  3702.806] (EE) Segmentation fault at address 0x28
[  3702.806] (EE) 
Fatal server error:
[  3702.806] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  3702.806] (EE) 
[  3702.806] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  3702.806] (EE) Please also check the log file at "/home/pea/.local/share/xorg/Xorg.0.log" for additional information.
[  3702.806] (EE) 
[  3702.826] (EE) Server terminated with error (1). Closing log file.

I had Ubuntu running before and it worked fine, despite broken graphics card. Am I missing something entirely trivially here? If you need other systemspecs, logfiles etc. I'm happy to provide them.

Thx in advance for any help you can offer!

Cheers

Last edited by cavetroglodyt (2018-05-05 08:05:15)

Offline

#2 2018-05-04 19:13:36

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 362

Re: [SOLVED) Problems starting X server

1.  What's the output of

$ lspci | grep -e VGA -e 3D

2.  According to https://wiki.archlinux.org/index.php/Xorg, Xorg will fall back to glamor acceleration if it doesn't find the vesa driver. 

  • If that is not found, it searches for vesa (xf86-video-vesa), the generic driver, which handles a large number of chipsets but does not include any 2D or 3D acceleration.

  • If vesa is not found, Xorg will fall back to kernel mode setting, which includes GLAMOR acceleration (see modesetting(4)).

So you could run

$ pacman -S xf86-video-vesa

and then try again.


"Oh, they have the internet on computers now."

Offline

#3 2018-05-04 19:27:51

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED) Problems starting X server

@murffatksig the xorg.log shows the modesetting and intel drivers load successfully.  One of those loads glamor as a submodule which loads radeonsi_dri.so which seems to be where the issue occurs.

Offline

#4 2018-05-04 19:30:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED) Problems starting X server

You could  simply ignore the ATI card in the first place. You could blacklist radeon and/or create a xorg.conf that will only enumerate your intel card

Offline

#5 2018-05-04 20:01:37

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 362

Re: [SOLVED) Problems starting X server

loqs wrote:

@murffatksig the xorg.log shows the modesetting and intel drivers load successfully.  One of those loads glamor as a submodule which loads radeonsi_dri.so which seems to be where the issue occurs.

Ah, yea, after going back through the log, you're right.  Probably best to create an xorg.conf that only uses the intel card as @V1del says.


"Oh, they have the internet on computers now."

Offline

#6 2018-05-04 21:17:18

cavetroglodyt
Member
Registered: 2018-05-04
Posts: 3

Re: [SOLVED) Problems starting X server

Blacklisting via /etc/modprobe.d/blacklist.conf worked just fine.

Thx both of you for the quick help and have a nice day.

Offline

#7 2018-05-05 00:28:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED) Problems starting X server

No problem. Please mark as [SOLVED] by editing the title in your first post.

https://wiki.archlinux.org/index.php/Co … ow_to_post

Offline

Board footer

Powered by FluxBB