Ask Your Question
1

F25 with broken Xorg on an Intel-only gpu

asked 2017-04-09 18:55:51 -0500

madc0w gravatar image

updated 2017-04-11 11:59:36 -0500

Hi! I'm trying to solve this issue for a long time, but I couldn't figure out a solution that solves the problem. I'm on a Skylake machine with no dedicated GPU - fpaste --sysinfo: link

When I try to login in gnome-xorg I got the following error - tail -n20 ~/.local/share/xorg/Xorg.0.log:

[    20.553]    ABI class: X.Org Video Driver, version 23.0
[    20.553] (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
 [    20.554] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
 [    20.554] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
 [    20.554] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
 [    20.554] (EE) No devices detected.
 [    20.554] (EE) 
 Fatal server error:
 [    20.554] (EE) no screens found(EE) 
 [    20.554] (EE) 
 Please consult the Fedora Project support 
          at http://wiki.x.org
  for help. 
  [    20.554] (EE) Please also check the log file at "/home/adriano/.local/share/xorg/Xorg.0.log" for additional information.
 [    20.554] (EE) 
 [    21.655] (EE) Server terminated with error (1). Closing log file.

clinfo runs with no issues on a multi-user.target, but, at a graphical.target, it raises the following error, although it finishing its execution successfully:

[...]
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  Success (1)
    Platform Name                                 Intel Gen OCL Driver
    Device Name                                   Intel(R) HD Graphics Skylake ULT GT2
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  Success (1)
    Platform Name                                 Intel Gen OCL Driver
    Device Name                                   Intel(R) HD Graphics Skylake ULT GT2
X server found. dri2 connection failed!   
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Intel Gen OCL Driver
    Device Name                                   Intel(R) HD Graphics Skylake ULT GT2

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1

I've already added myself to video group, which owns the following devices:

$ ls -lat /dev/dri/
total 0
drwxr-xr-x. 21 root root      4060 Apr  9 20:22 ..
crw-rw----+  1 root video 226, 128 Apr  9 20:22 renderD128
crw-rw----+  1 root video 226,   0 Apr  9 20:22 card0
drwxr-xr-x.  2 root root

UPDATE: I've just figured out that running Xorg -configure -keeptty leads X to a ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-11 15:27:00 -0500

madc0w gravatar image

updated 2017-04-11 15:30:51 -0500

I could successfully run Gnome Xorg!! I had to remove an old custom file created to get Xorg running smoothly on Skylake IGPs at F22/F23: /usr/share/X11/xorg.conf.d/20-intel.conf and then reinstall libdrm and all xorg stuff: $ sudo dnf reinstall libdrm xorg-*.

However, there are points unresolved which seems unrelated. IMHO, they are not pertinent to the original question.

  • clinfo is still emitting X server found. dri2 connection failed! on Xwayland but it runs smoothly on Xorg.
  • X -configure or X -configure -keeptty are still crashing right after requiring the device /dev/dri/card0
edit flag offensive delete link more

Comments

Maybe Xwayland doesn't implement DRI2 or some part of that interface that clinfo is looking for.

ssieb gravatar imagessieb ( 2017-06-20 14:16:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-04-09 18:55:51 -0500

Seen: 664 times

Last updated: Apr 11 '17