Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Load microcode for Radeon drivers with deblobbed kernel?
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
grin_
n00b
n00b


Joined: 11 Mar 2016
Posts: 13

PostPosted: Fri Mar 25, 2016 10:51 am    Post subject: Load microcode for Radeon drivers with deblobbed kernel? Reply with quote

How can I use a deblobbed kernel while being allowed to load microcode for my GPU?
I'm trying to load /lib/firmware/radeon/verde_ce.bin, but obviously the deblob script removed the ability to load it.
Would my only option be to remove radeon in the deblob script? Or could I just swap out the source files for radeon with a blobbed kernel?

Help would be appreciated.

This is what the kernel has to say about radeon:
Code:
[    0.353567] [drm] radeon kernel modesetting enabled.
[    0.353712] radeon 0000:01:00.0: enabling device (0000 -> 0003)
[    0.483379] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    0.483486] radeon 0000:01:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    0.484104] [drm] radeon: 1024M of VRAM memory ready
[    0.484176] [drm] radeon: 2048M of GTT memory ready.
[    0.484431] radeon 0000:01:00.0: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2
[    0.484646] radeon 0000:01:00.0: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2
[    0.484825] radeon 0000:01:00.0: Fatal error during GPU init
[    0.484899] [drm] radeon: finishing device.
[    0.492430] [drm] radeon: ttm finalized
[    0.492676] radeon: probe of 0000:01:00.0 failed with error -22
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Mar 25, 2016 3:07 pm    Post subject: Reply with quote

If a builtin item needs external firmware, the firmware should be blobbed. If an item is loaded as a module the external firmware will be loaded from /lib/firmware (if present) as part of the module load.
Menuconfig:
Device Drivers --->
Generic Driver Options --->
[*] Support for uevent helper
(/sbin/hotplug) path to uevent helper
-*- Maintain a devtmpfs filesystem to mount at /dev
[ ] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Select only drivers that don't need compile-time external firmware
[*] Prevent firmware from being built
-*- Userspace firmware loading support
[ ] Include in-kernel firmware blobs in kernel binary
[ ] Fallback user-helper invocation for firmware loading
[ ] Driver Core verbose debug messages
[ ] Managed device resources verbose debug messages
[ ] Enable verbose FENCE_TRACE messages
Graphics support --->
<*> /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
pick one or none to match motherboard chipset
< > AMD Opteron/Athlon64 on-CPU GART support
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support

-*- VGA Arbitration
(2) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
Direct Rendering Manager --->
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
I2C encoder or helper chips --->
< > PTN3460 DP/LVDS bridge (NEW)
< > 3dfx Banshee/Voodoo3+ (NEW)
< > ATI Rage 128 (NEW)
<M> ATI Radeon
[ ] Enable userspace modesetting on radeon (DEPRECATED)
< > Nouveau (NVIDIA) cards (NEW)
< > Intel 8xx/9xx/G3x/G4x/HD Graphics (NEW)
< > Matrox g200/g400 (NEW)
< > SiS video cards (NEW)
< > Via unichrome video cards (NEW)
< > Savage video cards (NEW)
< > DRM driver for VMware Virtual GPU (NEW)
< > Intel GMA5/600 KMS Framebuffer (NEW)
< > DisplayLink (NEW)
< > AST server chips (NEW)
< > Kernel modesetting driver for MGA G200 server engines (NEW)
< > Cirrus driver for QEMU emulated device (NEW)
< > QXL virtual GPU (NEW)
< > DRM Support for bochs dispi vga interface (qemu stdvga) (NEW)
Frame buffer Devices --->
-*- Support for frame buffer devices --->
[ ] Framebuffer foreign endianness support ----
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
[ ] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > OpenCores VGA/LCD core 2.0 framebuffer support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel740 support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support
< > Fujitsu carmine frame buffer support
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
< > AUO-K190X EPD controller support
[ ] Simple framebuffer support
[*] Backlight & LCD device support --->
--- Backlight & LCD device support
<*> Lowlevel LCD controls
< > Platform LCD controls
-*- Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Apple Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
< > Backlight Driver for ADP8870 using WLED
< > Backlight Driver for LM3639
< > Sanyo LV5207LP Backlight
< > Rohm BD6107 Backlight
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(1024) Scrollback Buffer Size (in KB)
-*- Framebuffer Console support
-*- Map the console to the primary display device
[ ] Framebuffer Console Rotation
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Fri Mar 25, 2016 6:20 pm    Post subject: Re: Load microcode for Radeon drivers with deblobbed kernel? Reply with quote

grin_ wrote:
How can I use a deblobbed kernel while being allowed to load microcode for my GPU?

This statement is an oxymoron.

But if you really insist, you'll just have to run two kernels, one in qemu.
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