Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Loading Radeon drivers at boot
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
skiwarz
Apprentice
Apprentice


Joined: 23 Feb 2014
Posts: 263

PostPosted: Sun Feb 23, 2014 9:35 am    Post subject: Loading Radeon drivers at boot Reply with quote

In an effort to increase my console text size, I started messing around with the graphics drivers enabled in the kernel. Now, when I boot, i get a message that says:
Code:
switching to clocksource tsc
and then the machine proceeds to hang for about 2 minutes. After that, the text resizes and everything continues as it should.
I have every radeon, ati, or amd option in the kernel enabled (I use menuconfig) and built-in, not modules. grep-ing dmesg gives me this:
Code:
[    0.798845] [drm] radeon kernel modesetting enabled.
[    0.799615] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
[    0.799689] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
[    0.802428] [drm] radeon: 512M of VRAM memory ready
[    0.802482] [drm] radeon: 512M of GTT memory ready.
[   60.896092] radeon 0000:01:00.0: radeon_uvd: Can't load firmware "radeon/RV710_uvd.bin"
[   60.896748] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[  121.056105] r600_cp: Failed to load firmware "radeon/R700_rlc.bin"
[  121.056221] radeon 0000:01:00.0: disabling GPU acceleration
[  121.072793] radeon 0000:01:00.0: ffff880122a93c00 unpin not necessary
[  121.072846] radeon 0000:01:00.0: ffff880122a93c00 unpin not necessary
[  121.074395] [drm] radeon: power management initialized
[  121.118237] fbcon: radeondrmfb (fb0) is primary device
[  121.326679] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[  121.326700] radeon 0000:01:00.0: registered panic notifier
[  121.326722] [drm] Initialized radeon 2.33.0 20080528 for 0000:01:00.0 on minor 0


Using 3.10.25 kernel. Radeon HD 4670 (RV730)
Any ideas how I can fix this?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Feb 23, 2014 9:47 am    Post subject: Reply with quote

So, do you have the microcode installed?

Code:
[  121.056105] r600_cp: Failed to load firmware "radeon/R700_rlc.bin"


Code:
* x11-drivers/radeon-ucode
     Available versions:  20130826 ~20131111 ~20140204
     Homepage:            http://people.freedesktop.org/~agd5f/radeon_ucode/
     Description:         IRQ microcode for r6xx/r7xx/Evergreen/N.Islands/S.Islands Radeon GPUs and APUs


If so, maybe you didn't configure your kernel properly. You need to suply the firmware path somewhere, but I don't remember where's that right now.
Back to top
View user's profile Send private message
skiwarz
Apprentice
Apprentice


Joined: 23 Feb 2014
Posts: 263

PostPosted: Sun Feb 23, 2014 10:13 am    Post subject: Reply with quote

I added the firmware into the kernel given by https://wiki.gentoo.org/wiki/Radeon
Compiling now. Let you know in a few minutes if it worked.

Learned a lot reading that article there ^
Never had a "new" gpu before, but I guess the newer ones require microcode. Seems to me that it should just be included in the driver somehow, since the two need to be matched anyways. Do you know if the firmware/microcode actually gets installed to the gpu/device? Or is it just dealt with by the OS?
Back to top
View user's profile Send private message
skiwarz
Apprentice
Apprentice


Joined: 23 Feb 2014
Posts: 263

PostPosted: Sun Feb 23, 2014 10:24 am    Post subject: Reply with quote

Ah, yes. It works. Thank you.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Feb 23, 2014 11:26 am    Post subject: Reply with quote

As far as I know, it's the kernel/module which loads the firmware. I don't think the fs even exists at that stage. But I never looked into it, admittedly.
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