Ask Your Question

madc0w's profile - activity

2018-08-03 11:45:41 -0500 received badge  Famous Question (source)
2018-03-27 14:40:53 -0500 received badge  Notable Question (source)
2017-06-20 14:12:35 -0500 received badge  Popular Question (source)
2017-04-11 15:32:57 -0500 received badge  Scholar (source)
2017-04-11 15:27:00 -0500 answered a question F25 with broken Xorg on an Intel-only gpu

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
2017-04-09 21:17:56 -0500 received badge  Student (source)
2017-04-09 19:09:10 -0500 received badge  Editor (source)
2017-04-09 18:55:51 -0500 asked a question F25 with broken Xorg on an Intel-only gpu

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)

2016-12-14 14:39:03 -0500 received badge  Teacher (source)
2016-12-13 17:13:10 -0500 answered a question Fedora 25: ath10k firmware not found

Unfortunately there is no ath10k Free Firmware that works. I got the solution on this question

which is basically

cd /usr/share

git clone https://github.com/kvalo/ath10k-firmware

cp -r ath10k-firmware /usr/lib/firmware/ath10k