View previous topic :: View next topic |
Author |
Message |
Info Teddy n00b
Joined: 01 Apr 2017 Posts: 28
|
Posted: Fri Apr 07, 2017 2:09 am Post subject: [SOLVED] startx fails with no screens found |
|
|
startx simply gives an error of "no screens found".
I have tried messing with xorg.conf, but to no avail.
Here is my Xorg.0.log and my xorg.conf. Apologies if my links lead to a 404, I don't have a clipboard in a TTY so copying links is a pain.
Last edited by Info Teddy on Sat Apr 08, 2017 11:54 pm; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Fri Apr 07, 2017 2:42 am Post subject: |
|
|
This is the hint:
Code: | [ 14228.411] (II) [KMS] drm report modesetting isn't supported.
|
Make sure you have Radeon DRM support enabled in your kernel and don't disable KMS which is an option in the kernel options)
Also make sure you didn't disable it in your boot command line. Ensure "nomodeset" does not exist. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Info Teddy n00b
Joined: 01 Apr 2017 Posts: 28
|
Posted: Fri Apr 07, 2017 3:01 am Post subject: |
|
|
eccerr0r wrote: |
Make sure you have Radeon DRM support enabled in your kernel and don't disable KMS which is an option in the kernel options)
Also make sure you didn't disable it in your boot command line. Ensure "nomodeset" does not exist. |
How do I check those? The wiki articles point to menu options that don't exist, and I couldn't really find out how to check if I disabled it in my boot command line or not. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Fri Apr 07, 2017 4:46 am Post subject: |
|
|
Woah... you're right. I guess I have to update my options when I can figure this out...
4.9.16-r1 seems to have made all the options disappear...
Anyway, do you have CONFIG_RADEON or CONFIG_AMDGPU set? Which GPU do you have?
When you boot, did penguins show up (if you configured it) or did your font shrink very small (which would mean either fbcon (wrong) or KMS driver (right) got enabled...) ? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Info Teddy n00b
Joined: 01 Apr 2017 Posts: 28
|
Posted: Fri Apr 07, 2017 10:03 pm Post subject: |
|
|
eccerr0r wrote: |
Anyway, do you have CONFIG_RADEON or CONFIG_AMDGPU set? Which GPU do you have?
When you boot, did penguins show up (if you configured it) or did your font shrink very small (which would mean either fbcon (wrong) or KMS driver (right) got enabled...) ? | CONFIG_RADEON is an empty string, and CONFIG_AMDGPU is not set. Also, the font does not shrink on boot-up, and the entire thing seems to be a small resolution upscaled to 1920x1080. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Sat Apr 08, 2017 12:59 am Post subject: |
|
|
Hmm... not sure if you're using grub2, which is yet another reason for small text unrelated to the issue at hand.
Normally Linux starts in 80x25 mode, if grub leaves you in that mode which may not be the case for EFI machines. Then KMS/FBCON will switch to a smaller text mode to fit more characters on the screen.
In any case, you need one of those set to Y depending on what video card you have... This should fix your problem.
I just tried 4.9.16 with my RadeonHD 5770, and DRI seems to work with no other suboptions for the CONFIG_RADEON ... that wiki needs to be changed I suppose, once everyone switches to the 4.9.* kernel...
My card is not a SI or CIK card... you may need those options, I'm not familiar with your card.
This wiki is outdated, but it's for anything older than a 6000 series card: https://wiki.gentoo.org/wiki/Radeon
This wiki looks like it's up to date, but this is for a 6000 series card or newer: https://wiki.gentoo.org/wiki/AMDGPU - you could just select "Radeon" instead of "AMDGPU" and do similar steps if you have a pre-6000 series card like me... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Info Teddy n00b
Joined: 01 Apr 2017 Posts: 28
|
Posted: Sat Apr 08, 2017 4:13 am Post subject: |
|
|
Yes, I am using GRUB2. I do not have an EFI system, I only have BIOS.
Also, in the wiki article for AMDGPU that you linked, you said that it's for 6000 series cards or newer - yet I don't see any 6000 cards in the Feature support section of that article, and the wiki says if it's not in the Feature support article it's not supported. I have an AMD Radeon HD 6530D card.
Anyways, I've found the right kernel options for KMS. Rebuilt, reconfigured GRUB, rebooted, and I still seem to be in 80x25 text mode, and X still seems to not be working. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Sat Apr 08, 2017 9:13 am Post subject: |
|
|
Info Teddy,
wgetpaste is your friend.
Put /var/log/Xorg.0.log
your kernel .config
and the output of dmesg onto a pastebin site.
They are all too big to fit in a forum post.
Post the URLs you get back.
Post your output too. That can go here or to a pastebin. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Sat Apr 08, 2017 9:52 am Post subject: |
|
|
Ah ... looks like the 6000s are mostly either NI or Evergreen so you should be using the "CONFIG_RADEON=Y" (or M) and not "AMDGPU" drivers. The cutoff is actually 7000. I didn't read the docs and ended up setting both to "M" and it picked up radeon automagically.
However you should follow the configuration for the 4.9.x kernel as the options disappeared.
NeddySeagoon wrote: | and the output of dmesg onto a pastebin site.
|
Yes this would be quite interesting to see if the DRM driver actually detected your GPU upon startup.
You should be seeing something like this in your dmesg:
Code: | [ 4.121102] [drm] radeon kernel modesetting enabled.
[ 4.121628] [drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8 0x1092:0xC013 0x00).
|
Of course this is from my machine which is a Juniper. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Info Teddy n00b
Joined: 01 Apr 2017 Posts: 28
|
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Sat Apr 08, 2017 4:33 pm Post subject: |
|
|
Code: |
[ 1.030774] radeon 0000:00:01.0: Direct firmware load for radeon/SUMO_pfp.bin failed with error -2
[ 1.030885] r600_cp: Failed to load firmware "radeon/SUMO_pfp.bin"
[ 1.030959] [drm:evergreen_init] *ERROR* Failed to load firmware!
[ 1.031031] radeon 0000:00:01.0: Fatal error during GPU init
|
Try emerge linux-firmware ?
I have sys-kernel/linux-firmware-20161205 installed, which should include that file. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Info Teddy n00b
Joined: 01 Apr 2017 Posts: 28
|
Posted: Sat Apr 08, 2017 5:03 pm Post subject: |
|
|
equery y sys-kernel/linux-firmware says I have sys-kernel/linux-firmware-20161205 installed as well.
It could also be the fact that I have an APU and not a GPU, as well. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Sat Apr 08, 2017 8:13 pm Post subject: |
|
|
Weird. You are building these as modules right? Actually no, you're not... You should build as modules if you can.
If not, you'll need to embedding your firmware:
https://forums.gentoo.org/viewtopic-t-1011578-start-0.html _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Info Teddy n00b
Joined: 01 Apr 2017 Posts: 28
|
Posted: Sat Apr 08, 2017 11:54 pm Post subject: |
|
|
eccerr0r wrote: | You should build as modules if you can. | Turns out building the Radeon support as a module worked. Thanks for the help! |
|
Back to top |
|
|
|