Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Radeon Mobile HD R5650, can't srart X
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
infant23
n00b
n00b


Joined: 18 Dec 2018
Posts: 3
Location: Kyiv, Ukraine

PostPosted: Tue Dec 18, 2018 10:28 pm    Post subject: [SOLVED] Radeon Mobile HD R5650, can't srart X Reply with quote

Hi all.
Few days ago I have installed Gentoo on my old laptop (Dell N5010).
Now I have working system, but without X.

I have use next resources:


Please help me to startx.

Code:
#uname -a:
Linux version 4.14.83-gentoo (root@localhost) (gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4))
...

Code:
#eselect profile list
...
[16]  default/linux/amd64/17.0/desktop (stable) *
...

Code:
#lspci | grep -i vga
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M]

Code:
#cat make.conf
...
MAKEOPTS="-j5"
XFCE_PLUGINS="battery brightness clock power"
USE="-gnome -kde -minimal -qt4 dbus jpeg lock session sturtup-notification thunar udev X"
INPUT_DEVICES="libinput synaptics"
VIDEO_CARDS="r600 r300 radeon"
...

Code:
#grep -i radeon .config
...
CONFIG_DRM_RADEON=y
# CONFIG_DRM_RADEON_USERPTR is not set
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
CONFIG_FB_RADEON_DEBUG=y
...

Code:
$cat .xinitrc
exec startxfce4

When I try startx then I get a fail:
Code:
#cat Xorg.0.log
...
[    53.134] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    53.134] (--) using VT number 7

[    53.137] (II) [KMS] drm report modesetting isn't supported.
[    53.137] (EE) open /dev/dri/card0: No such file or directory
[    53.137] (WW) Falling back to old probe method for modesetting
[    53.137] (EE) open /dev/dri/card0: No such file or directory
[    53.137] (EE) Screen 0 deleted because of no matching config section.
[    53.137] (II) UnloadModule: "radeon"
[    53.137] (EE) Screen 0 deleted because of no matching config section.
[    53.137] (II) UnloadModule: "modesetting"
[    53.137] (EE) Device(s) detected, but none match those in the config file.
[    53.138] (EE)
Fatal server error:
[    53.138] (EE) no screens found(EE)
...

As I understand I have trouble with Radeon driver. I also tried Gentoo LiveCD and it works nice.
If needs any additional info about my system you can find some files in my Google Drive:https://drive.google.com/open?id=1UUG95Iqjz5x70L9aHjxz_rFdHLIKrsHs
Thanks in advance.


Last edited by infant23 on Thu Dec 20, 2018 8:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Tue Dec 18, 2018 10:38 pm    Post subject: Reply with quote

Some cards won't work without firmware. You have the driver built into kernel but the firmware is not built in. It has to be available before root filesystem is mounted. Or, build AMD driver as a module, then it will load after the root is mounted and firmware will be loaded from /lib/firmware.

Hint: in future use wgetpaste to post big logs.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1422

PostPosted: Tue Dec 18, 2018 10:56 pm    Post subject: Reply with quote

Welcome infant23,


The kernel demands according to dmesg:
Code:
radeon/REDWOOD_pfp.bin


Your .config shows:
Code:
CONFIG_EXTRA_FIRMWARE = ""


So try the following entry:
Code:
CONFIG_EXTRA_FIRMWARE="radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin radeon/REDWOOD_smc.bin radeon/CYPRESS_uvd.bin"


Ma
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
infant23
n00b
n00b


Joined: 18 Dec 2018
Posts: 3
Location: Kyiv, Ukraine

PostPosted: Thu Dec 20, 2018 7:42 am    Post subject: Thanks. My issue is solved. Reply with quote

My issue is solved. I have started XFCE yesterday and can play with the system.
@Jaglover, It was my first time when I compile the Linux kernel and I didn't know about the firmware. Thanks for the explanation and hint about wgetpaste - nice tool, I will use it.
@Marlo, CONFIG_EXTRA_FIRMWARE option helped me. Thanks. But I don't understand why we need to include all those *.bin-files: radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin radeon/REDWOOD_smc.bin radeon/CYPRESS_uvd.bin. Could you please to explain me where did you get this list of firmwares? In the dmesg there was only radeon/REDWOOD_pfp.bin...
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1422

PostPosted: Thu Dec 20, 2018 3:05 pm    Post subject: Re: Thanks. My issue is solved. Reply with quote

infant23 wrote:
Could you please to explain me where did you get this list of firmwares? In the dmesg there was only radeon/REDWOOD_pfp.bin...


On the radeon side it says:
Code:

 Note
radeon/<YOUR-MODEL>.bin should be replaced with the full list (space separated) appearing in front of the chipset's name in the table below (e.g. for Northern Islands TURKS the correct entry into the kernel would be: (radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin)


Your card is a "REDWOOD". Below the "Note" is a table. Scroll down to:
-> Family -> Evergreen -> REDWOOD
and there it is.

And finally. Please go back to the first amount here and change the title. At the beginning of the title, add "[solved]".

Have fun
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
infant23
n00b
n00b


Joined: 18 Dec 2018
Posts: 3
Location: Kyiv, Ukraine

PostPosted: Fri Dec 21, 2018 7:51 am    Post subject: Many thanks Reply with quote

Thank you, I got it. I apologize for my carelessness.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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