Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Intel DRI device under 5.6.13-gentoo available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
happosai
n00b
n00b


Joined: 17 Aug 2005
Posts: 43

PostPosted: Wed May 20, 2020 7:39 am    Post subject: No Intel DRI device under 5.6.13-gentoo available Reply with quote

Hi!

I am running Gentoo Linux on a small Asus Beelink device, which uses an Intel Atom x5-Z8350 CPU as small media box with Kodi.

It's been running since a long time under kernel version 4.19.82-gentoo without any problems: X11 works using the builtin GPU of the CPU and so does Kodi.

Now I tried to update my kernel version to 5.6.13-gentoo, using the working 4.19.82-gentoo kernel configuration as starting point for it, and this is really annoying me since days: the kernel runs and boots, but it does now not provide a /dev/dri/card0 interface and therefore X11 is unable to start at all.

I've been looking at the Wiki page https://wiki.gentoo.org/wiki/Intel and tried to implement that, sadly it did not lead to a working kernel.

Tried modesetting as well as old drivers - no chance.

Is the kernel version 5.6.13 having some known issues with the builtin graphics of this CPU, or what else could I do to get this kernel finally in a working condition?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed May 20, 2020 10:09 am    Post subject: Reply with quote

I would start with comparing dmesg. You could also post your kernel config, more eyes looking at it may help.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
happosai
n00b
n00b


Joined: 17 Aug 2005
Posts: 43

PostPosted: Wed May 20, 2020 10:23 am    Post subject: Reply with quote

Sure thing, the issue is that the 5.6.13 kernel has no boot lines of the DRI interface; the older kernel does.

So here we go...

4.19.82-gentoo kernel config: https://pastebin.com/D7ygus4K
5.6.13-gentoo kernel config: https://pastebin.com/baz2SKmA

Boot log 4.19.82: https://pastebin.com/EHH5g0tx
Boot log 5.6.13: https://pastebin.com/8FZ2h7fw

The difference between 4.19.82 and 5.6.13 is that in 4.19.82 inteldrmfb is taking over the console, which does not happen in 5.6.13. The I915 kernel driver is just not initializing/firing up under 5.6.13 at all.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed May 20, 2020 9:28 pm    Post subject: Reply with quote

What is the PCI ID of your graphics? There is an option in kernel to force loading i915 even if the PCI ID does not match the list of supported devices, have you tried turning it on?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5370
Location: Bavaria

PostPosted: Wed May 20, 2020 10:14 pm    Post subject: Reply with quote

Just a guess: Does your small media box boot with UEFI ? If yes, you could try this:
Code:
CONFIG_FB_EFI=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set

(all other settings in your kernel 5.6.13 seems to be ok)
Back to top
View user's profile Send private message
happosai
n00b
n00b


Joined: 17 Aug 2005
Posts: 43

PostPosted: Thu May 21, 2020 8:25 pm    Post subject: Reply with quote

Hi, I have added the EFI FB device. No change.

Kernel config 5.6.13-gentoo: https://pastebin.com/YsJU5C9h
Boot log: https://pastebin.com/9gxR86ju

PCI ID is 00:02.0:

musicbox ~ # lspci
00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 36)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers (rev 36)

Tried to load I915 as module with force_probe parameter - no improvement.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu May 21, 2020 8:31 pm    Post subject: Reply with quote

Code:
CONFIG_DRM_I915_FORCE_PROBE=""

It is still unset in your config, although force_probe is probably the same.
PCI ID is something like this 8086:5912 (it is my Intel graphics).
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
happosai
n00b
n00b


Joined: 17 Aug 2005
Posts: 43

PostPosted: Thu May 21, 2020 8:56 pm    Post subject: Reply with quote

I used another kernel version for the test where I915 was a module; but now the in kernel version as well.

musicbox# lspci
00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 36)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers (rev 36)


PCI ID is here: 00:02.0 0300: 8086:22b0 (rev 36)

Kernel 5.6.13 again.

No change.

Kernel config: https://pastebin.com/KD9V1XjJ
Boot log: https://pastebin.com/TusfCS1Z
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5370
Location: Bavaria

PostPosted: Thu May 21, 2020 9:18 pm    Post subject: Reply with quote

happosai wrote:
Hi, I have added the EFI FB device. No change.

Kernel config 5.6.13-gentoo: https://pastebin.com/YsJU5C9h
Boot log: https://pastebin.com/9gxR86ju

Are you really sure, you have installed the correct kernel ?
(i am not a kernel expert, but for me this bootlog cant come from a kernel with this config)
Back to top
View user's profile Send private message
happosai
n00b
n00b


Joined: 17 Aug 2005
Posts: 43

PostPosted: Fri May 22, 2020 7:27 am    Post subject: Reply with quote

Yes, I am sure about that. What makes you think different?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri May 22, 2020 10:20 am    Post subject: Reply with quote

Your PCI ID is certainly listed as supported. This seems to be some SoC? You should enable correct platform support under PINCTRL and GPIO. If I had this issue I also would try the 5.7 kernel. And the latest 5.6. Sometimes there are regressions.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum