Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Xorg startx no device detected with AMD/ATI MULLINS
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
rotsen
n00b
n00b


Joined: 03 Aug 2014
Posts: 7

PostPosted: Sun Aug 03, 2014 6:48 pm    Post subject: [Solved] Xorg startx no device detected with AMD/ATI MULLINS Reply with quote

Hi,

I have just installed gentoo in my new laptop.

Now im trying to configure Xorg so i can continue to install gnome.

the problem is that when i try startx it shows an error that said "No screens found"

The output of lspci -k shows no kernel driver nor kernel moduel for vga controller.

My graphic card is a Mullins [Radeon APU A4-6000 with R2 Graphics] (rev 5)

I have followed all instructions in the Xorg configuration wiki (https://wiki.gentoo.org/wiki/Xorg/Configuration and https://wiki.gentoo.org/wiki/Radeon#Firmware)

but i get always the same output.

when i try X -configure it said at the end:

List of video drivers:
radeon
ati


No devices to configure. Configuration failed.



If someone could help me, please :?:


Last edited by rotsen on Tue Aug 05, 2014 7:00 am; edited 2 times in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Sun Aug 03, 2014 7:00 pm    Post subject: Reply with quote

Welcome!

You should examine your Xorg log for first clues.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rotsen
n00b
n00b


Joined: 03 Aug 2014
Posts: 7

PostPosted: Sun Aug 03, 2014 7:09 pm    Post subject: Reply with quote

Jaglover wrote:
Welcome!

You should examine your Xorg log for first clues.


Hi, how do i do that? you mean like this:

nano /etc/log/Xorg.0.log :?:

I have done it but i don't know how to copy the text here as i have not yet the desktop enviroment
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Sun Aug 03, 2014 7:18 pm    Post subject: Reply with quote

Default viewer app is usually less.
You can post the link to the log using wgetpaste.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rotsen
n00b
n00b


Joined: 03 Aug 2014
Posts: 7

PostPosted: Sun Aug 03, 2014 7:54 pm    Post subject: Reply with quote

Ok, here is my Xorg.0.log: http://bpaste.net/show/551508/

And just in case it helps, here is my kernel .config: http://bpaste.net/show/551523/

I hope this helps, i dont know if it is a problem with MULLINS firmwares or something like that
because i had to emerge radeon-ucode-20140430 which is not stable yet, but it is the one that has the mullins files
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Sun Aug 03, 2014 8:12 pm    Post subject: Reply with quote

I have absolutely no late experience with ATI, but the information you provided in previous post should suffice to find out what's wrong. Methinks the snippet below contains some incorrect options enabled.
Code:
#
# Graphics support
#
CONFIG_AGP=m
CONFIG_AGP_AMD64=m
CONFIG_AGP_INTEL=m
CONFIG_AGP_SIS=m
CONFIG_AGP_VIA=m
CONFIG_INTEL_GTT=m
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m

#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
CONFIG_DRM_TDFX=m
CONFIG_DRM_R128=m
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I810=m
CONFIG_DRM_I915=m
# CONFIG_DRM_I915_KMS is not set
CONFIG_DRM_I915_FBDEV=y
# CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
# CONFIG_DRM_I915_UMS is not set
CONFIG_DRM_MGA=m
CONFIG_DRM_SIS=m
CONFIG_DRM_VIA=m
CONFIG_DRM_SAVAGE=m
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_HDMI=y
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
CONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SM501 is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_GOLDFISH is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_EXYNOS_VIDEO is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_PLATFORM is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=m
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3630A is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LP855X is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set

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


Joined: 03 Aug 2014
Posts: 7

PostPosted: Sun Aug 03, 2014 8:20 pm    Post subject: Reply with quote

well, i'll see what can i change.

thanks anyway.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sun Aug 03, 2014 9:40 pm    Post subject: Reply with quote

Nothing seems to be obviously wrong with these kernel options (except maybe for CONFIG_VGA_SWITCHEROO - no real experience with laptops, so not sure).

Mind posting full 'lspci -k'.
Also, in case of muxless laptops both video cards need to be set up.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Sun Aug 03, 2014 9:42 pm    Post subject: Reply with quote

Just one more question, is it UEFI?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Mon Aug 04, 2014 1:45 am    Post subject: Reply with quote

Jaglover wrote:
Just one more question, is it UEFI?

...and why would that make any any difference for xserver ?
Back to top
View user's profile Send private message
rotsen
n00b
n00b


Joined: 03 Aug 2014
Posts: 7

PostPosted: Mon Aug 04, 2014 4:04 am    Post subject: Reply with quote

VoidMage wrote:
Nothing seems to be obviously wrong with these kernel options (except maybe for CONFIG_VGA_SWITCHEROO - no real experience with laptops, so not sure).

Mind posting full 'lspci -k'.
Also, in case of muxless laptops both video cards need to be set up.


Here is my output for lspci -k : http://bpaste.net/show/553532/
Back to top
View user's profile Send private message
rotsen
n00b
n00b


Joined: 03 Aug 2014
Posts: 7

PostPosted: Mon Aug 04, 2014 4:06 am    Post subject: Reply with quote

Jaglover wrote:
Just one more question, is it UEFI?


My laptop has UEFI, but i have installed rEFInd to boot gentoo
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6965

PostPosted: Mon Aug 04, 2014 9:38 am    Post subject: Reply with quote

I know nothing about radeon but wiki have a little 1 part

MULLINS radeon/MULLINS_ce.bin radeon/MULLINS_me.bin radeon/MULLINS_mec.bin radeon/MULLINS_pfp.bin radeon/MULLINS_rlc.bin radeon/MULLINS_sdma.bin radeon/BONAIRE_uvd.bin radeon/BONAIRE_vce.bin1
1) Only for kernel 3.15 and newer

# Linux/x86 3.14.14-gentoo Kernel Configuration

Because your xorg.log shown the drivers are working, just they don't know your graphic chip.

Can't it just be because your model is too recent and need that bonaire_vce firmware?
Back to top
View user's profile Send private message
rotsen
n00b
n00b


Joined: 03 Aug 2014
Posts: 7

PostPosted: Tue Aug 05, 2014 6:56 am    Post subject: Reply with quote

Hi, thank you all. I solved my problem following an alternative option.

Here is what I did, in case someone has a similar problem.

I'm not sure, but I think the problem was that xorg-x11and radeon open source graphic drivers (radeon-ucode) do not give support to my video card yet (Mullins [Radeon APU A4-6000 with R2 Graphics]).

So I use instead the proprietary graphics driver for AMD/ATI graphic cards (ati-drivers). I came with this idea reading the wiki https://wiki.gentoo.org/wiki/ATI_FAQ. In packages sections it says:
"There are two ways of getting drivers for your AMD/ATI card:
The xorg-x11 ebuild provides the X11 implementation
The ati-drivers ebuild provides the AMD closed source X drivers and kernel modules"

This drivers can be downloaded with -> emerge x11-drivers/ati-drivers

Basically, I followed the gentoo wiki for this drivers: http://wiki.gentoo.org/wiki/Fglrx.

I modified my kernel configuration as the wiki says, but I kept "Support for frame buffer devices" for EFI, because my system needs it.

I use VIDEO_CARDS="fglrx" in make make.conf instead of radeon.

I also had to do -> emerge --ask --changed-use --deep @world
so the this change takes effect.

I changed opengl to ati -> eselect opengl set ati

With this changes, after rebooting, lspci -k showed a driver in use for my VGA controller. (output for lspci -k: http://bpaste.net/show/559808/)

but startx didn't work yet, nor X -configure. I had no /etc/X11/xorg.conf file.

In this forum (https://forums.gentoo.org/viewtopic-p-7400572.html) someone says that maybe I needed to write a stub xorg.conf by hand. So I did it and then it just works.

/etc/X11/xorg.conf

Code:
Section "Device"
        Identifier "ATI Binary Blob"
        Driver "fglrx"
EndSection
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