Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X Server error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Thu Aug 24, 2017 3:21 am    Post subject: X Server error Reply with quote

I tried making an X server work with an AMDGPU card (RX 460) and it didn't detect any displays. May I have some help with this?

Have a log.

https://pastebin.com/XBSP8pX0
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Thu Aug 24, 2017 3:36 am    Post subject: Reply with quote

Code:
[  1303.194] (EE) open /dev/dri/card0: No such file or directory


Missing kernel DRM driver.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21362
Location: here

PostPosted: Thu Aug 24, 2017 5:58 am    Post subject: Reply with quote

See here for kernel options
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Thu Aug 24, 2017 5:54 pm    Post subject: Reply with quote

So I've changed all that and recompiled it numerous times, and it still doesn't work. Still has no DRM, but I've turned everything mentioning DRM on in the kernel.

https://pastebin.com/Q5giHp0J
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Thu Aug 24, 2017 6:00 pm    Post subject: Reply with quote

Quote:
Linux GentooBox 4.12.5-gentoo #1 SMP Thu Aug 24 01:17:37 PDT 2017


^^ Is this the time you built your kernel?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Thu Aug 24, 2017 6:12 pm    Post subject: Reply with quote

Frustration does a lot to people
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Thu Aug 24, 2017 6:39 pm    Post subject: Reply with quote

https://drive.google.com/open?id=0B6jm1hOVsUP4bkNuSWRSQnJwWWc

Here is a genkernel log from the compilation if it helps. It is on Google Drive since Paste Bin doesn't allow me to paste files of this size
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Thu Aug 24, 2017 6:53 pm    Post subject: Reply with quote

Code:
zcat /proc/config.gz | wgetpaste

Please post the link.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Thu Aug 24, 2017 7:47 pm    Post subject: Reply with quote

https://paste.pound-python.org/show/JtMuKUYsV2noIuU3h8qW/
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Thu Aug 24, 2017 8:12 pm    Post subject: Reply with quote

That's what your kernel has:
Code:
# CONFIG_DRM_AMDGPU is not set

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Thu Aug 24, 2017 10:57 pm    Post subject: Reply with quote

So I've gone through and ticked all those boxes, but the file still says it isn't there. What selector controls that one variable?
https://paste.pound-python.org/show/f9nehObpQWZNdU0GnKRj/
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 618

PostPosted: Thu Aug 24, 2017 11:49 pm    Post subject: Reply with quote

I believe it's:
Code:
Device Drivers -> Graphics Support -> AMD GPU


If you are in 'make menuconfig', you can hit '/' and enter 'AMDGPU', it will guide you.

HTH
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 618

PostPosted: Thu Aug 24, 2017 11:51 pm    Post subject: Reply with quote

Make sure the date in 'uname -a' matches your expectations for when you built the kernel.
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Fri Aug 25, 2017 1:13 am    Post subject: Reply with quote

Ticked that one before. Still not working. Tag is still not set

Date was set properly this time too. Again, no cigar.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2546

PostPosted: Fri Aug 25, 2017 1:28 am    Post subject: Reply with quote

Are you manually configuring the kernel then running genkernel or using genkernl's manual config? It makes a difference. Genkernel will clobber your custom config unless you tell it not to.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 618

PostPosted: Fri Aug 25, 2017 2:40 am    Post subject: Reply with quote

The Doctor wrote:
Are you manually configuring the kernel then running genkernel or using genkernl's manual config? It makes a difference. Genkernel will clobber your custom config unless you tell it not to.


+1 What he said.

genkernel keeps the .config settings under /etc/kernels/

If you have a .config file sitting in the /usr/src/linux/ directory, it will usually back that file up and use the one from /etc/kernels/ unless you tell it otherwise. I typically don't tell it otherwise. If you maintain your own .config files it can take some getting used to.

I have done this on occasion:
Code:
# cd /usr/src/linux
# [ -f .config ] && mv .config $(mktemp .config-XXX.bak)
# zcat /proc/config.gz > .config
# make oldconfig
# # echo assuming that all worked, then ....
# cat .config > /etc/kernels/kernel-config-$(arch)-$(uname -r)

From then on when you want to change the kernel, genkernel --menuconfig, let it do it's thing with the /etc/kernels/ file.

HTH
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 17

PostPosted: Fri Aug 25, 2017 4:48 am    Post subject: Reply with quote

To me it seems stupid that it does that by default

Anyway. It works now. Thank you so much!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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