RE: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-23 Thread Tsukasa Mcp_Reznor


> From: michaelkintz...@gmail.com
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel 
> module)
> Date: Tue, 22 Dec 2015 23:02:12 +
> 
> On Tuesday 22 Dec 2015 21:30:48 Alexander Kapshuk wrote:
> > On Tue, Dec 22, 2015 at 9:39 PM, Mick <michaelkintz...@gmail.com> wrote:
> > > On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> > > > On Sun, Dec 20, 2015 at 9:04 PM, Mick <michaelkintz...@gmail.com> wrote:
> > > > > This is not working for me on a Kaveri system.
> > > > > 
> > > > > The wiki page suggests these firmware blobs:
> > > > > 
> > > > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > > > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > > > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > > > > radeon/kaveri_vce.bin
> > > > > 
> > > > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available
> > > 
> > > when
> > > 
> > > > > I use sys-kernel/linux-firmware:
> > > > > 
> > > > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > > > > /lib/firmware/radeon/kaveri_sdma.bin
> > > > > /lib/firmware/radeon/KAVERI_sdma.bin
> > > > > 
> > > > > 
> > > > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > > > > either:
> > > > > 
> > > > > find /lib/firmware/amdgpu/ -iname *sdma*
> > > > > /lib/firmware/amdgpu/carrizo_sdma.bin
> > > > > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > > > /lib/firmware/amdgpu/fiji_sdma.bin
> > > > > /lib/firmware/amdgpu/fiji_sdma1.bin
> > > > > /lib/firmware/amdgpu/tonga_sdma.bin
> > > > > /lib/firmware/amdgpu/tonga_sdma1.bin
> > > > > /lib/firmware/amdgpu/topaz_sdma.bin
> > > > > /lib/firmware/amdgpu/topaz_sdma1.bin
> > > > > 
> > > > > 
> > > > > Building the recommended blobs fails like so:
> > > > > 
> > > > > # make && make modules_install && make firmware_install
> > > > > 
> > > > >   CHK include/config/kernel.release
> > > > >   CHK include/generated/uapi/linux/version.h
> > > > >   CHK include/generated/utsrelease.h
> > > > >   CHK include/generated/bounds.h
> > > > >   CHK include/generated/asm-offsets.h
> > > > >   CALLscripts/checksyscalls.sh
> > > > >   CHK include/generated/compile.h
> > > > > 
> > > > > kernel/Makefile:135: *** No X.509 certificates found ***
> > > > > make[1]: *** No rule to make target
> > > > > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > > > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > > > > Makefile:947: recipe for target 'firmware' failed
> > > > > make: *** [firmware] Error 2
> > > > 
> > > > That's interesting. 'kaveri_sdma1.bin' is found in the
> > > > 'sys-firmware/amdgpu-ucode' package. See below.
> > > > % pwd
> > > > radeon_ucode/kaveri
> > > 
> > > I don't seem to have such a directory, or the files therein.  Where am I
> > > supposed to look?
> > > 
> > > This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC:
> > > >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo
> > >  
> > >  * checking 44 files for package collisions
> > >  
> > > >>> Merging sys-firmware/amdgpu-ucode-20150803 to /
> > > 
> > > --- /lib/
> > > --- /lib/firmware/
> > > --- /lib/firmware/amdgpu/
> > > 
> > > >>> /lib/firmware/amdgpu/carrizo_ce.bin
> > > >>> /lib/firmware/amdgpu/carrizo_me.bin
> > > >>> /lib/firmware/amdgpu/carrizo_mec.bin
> > > >>> /lib/firmware/amdgpu/carrizo_mec2.bin
> > > >>> /lib/firmware/amdgpu/carrizo_pfp.bin
> > > >>> /lib/firmware/amdgpu/carrizo_rlc.bin
> > > >>> /lib/firmware/amdgpu/carrizo_sdma.bin
> > > >>> /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > >>> /lib/firmware/amdgpu/carrizo_uvd.bin
> > > >>> /lib/firmware/amdgpu/carrizo_vce.bin
> > > >>> /l

Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-22 Thread Alexander Kapshuk
On Tue, Dec 22, 2015 at 9:39 PM, Mick  wrote:

> On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> > On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:
>
> > > This is not working for me on a Kaveri system.
> > >
> > > The wiki page suggests these firmware blobs:
> > >
> > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > > radeon/kaveri_vce.bin
> > >
> > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available
> when
> > > I use sys-kernel/linux-firmware:
> > >
> > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > > /lib/firmware/radeon/kaveri_sdma.bin
> > > /lib/firmware/radeon/KAVERI_sdma.bin
> > >
> > >
> > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > > either:
> > >
> > > find /lib/firmware/amdgpu/ -iname *sdma*
> > > /lib/firmware/amdgpu/carrizo_sdma.bin
> > > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > /lib/firmware/amdgpu/fiji_sdma.bin
> > > /lib/firmware/amdgpu/fiji_sdma1.bin
> > > /lib/firmware/amdgpu/tonga_sdma.bin
> > > /lib/firmware/amdgpu/tonga_sdma1.bin
> > > /lib/firmware/amdgpu/topaz_sdma.bin
> > > /lib/firmware/amdgpu/topaz_sdma1.bin
> > >
> > >
> > > Building the recommended blobs fails like so:
> > >
> > > # make && make modules_install && make firmware_install
> > >
> > >   CHK include/config/kernel.release
> > >   CHK include/generated/uapi/linux/version.h
> > >   CHK include/generated/utsrelease.h
> > >   CHK include/generated/bounds.h
> > >   CHK include/generated/asm-offsets.h
> > >   CALLscripts/checksyscalls.sh
> > >   CHK include/generated/compile.h
> > >
> > > kernel/Makefile:135: *** No X.509 certificates found ***
> > > make[1]: *** No rule to make target
> > > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > > Makefile:947: recipe for target 'firmware' failed
> > > make: *** [firmware] Error 2
>
> > That's interesting. 'kaveri_sdma1.bin' is found in the
> > 'sys-firmware/amdgpu-ucode' package. See below.
> > % pwd
> > radeon_ucode/kaveri
>
> I don't seem to have such a directory, or the files therein.  Where am I
> supposed to look?
>
> This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC:
>
> >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo
>  * checking 44 files for package collisions
> >>> Merging sys-firmware/amdgpu-ucode-20150803 to /
> --- /lib/
> --- /lib/firmware/
> --- /lib/firmware/amdgpu/
> >>> /lib/firmware/amdgpu/carrizo_ce.bin
> >>> /lib/firmware/amdgpu/carrizo_me.bin
> >>> /lib/firmware/amdgpu/carrizo_mec.bin
> >>> /lib/firmware/amdgpu/carrizo_mec2.bin
> >>> /lib/firmware/amdgpu/carrizo_pfp.bin
> >>> /lib/firmware/amdgpu/carrizo_rlc.bin
> >>> /lib/firmware/amdgpu/carrizo_sdma.bin
> >>> /lib/firmware/amdgpu/carrizo_sdma1.bin
> >>> /lib/firmware/amdgpu/carrizo_uvd.bin
> >>> /lib/firmware/amdgpu/carrizo_vce.bin
> >>> /lib/firmware/amdgpu/fiji_ce.bin
> >>> /lib/firmware/amdgpu/fiji_mc.bin
> >>> /lib/firmware/amdgpu/fiji_me.bin
> >>> /lib/firmware/amdgpu/fiji_mec.bin
> >>> /lib/firmware/amdgpu/fiji_mec2.bin
> >>> /lib/firmware/amdgpu/fiji_pfp.bin
> >>> /lib/firmware/amdgpu/fiji_rlc.bin
> >>> /lib/firmware/amdgpu/fiji_sdma.bin
> >>> /lib/firmware/amdgpu/fiji_sdma1.bin
> >>> /lib/firmware/amdgpu/fiji_smc.bin
> >>> /lib/firmware/amdgpu/fiji_uvd.bin
> >>> /lib/firmware/amdgpu/fiji_vce.bin
> >>> /lib/firmware/amdgpu/tonga_ce.bin
> >>> /lib/firmware/amdgpu/tonga_mc.bin
> >>> /lib/firmware/amdgpu/tonga_me.bin
> >>> /lib/firmware/amdgpu/tonga_mec.bin
> >>> /lib/firmware/amdgpu/tonga_mec2.bin
> >>> /lib/firmware/amdgpu/tonga_pfp.bin
> >>> /lib/firmware/amdgpu/tonga_rlc.bin
> >>> /lib/firmware/amdgpu/tonga_sdma.bin
> >>> /lib/firmware/amdgpu/tonga_sdma1.bin
> >>> /lib/firmware/amdgpu/tonga_smc.bin
> >>> /lib/firmware/amdgpu/tonga_uvd.bin
> >>> /lib/firmware/amdgpu/tonga_vce.bin
> >>> /lib/firmware/amdgpu/topaz_ce.bin
> >>> /lib/firmware/amdgpu/topaz_mc.bin
> >>> /lib/firmware/amdgpu/topaz_me.bin
> >>> /lib/firmware/amdgpu/topaz_mec.bin
> >>> /lib/firmware/amdgpu/topaz_mec2.bin
> >>> /lib/firmware/amdgpu/topaz_pfp.bin
> >>> /lib/firmware/amdgpu/topaz_rlc.bin
> >>> /lib/firmware/amdgpu/topaz_sdma.bin
> >>> /lib/firmware/amdgpu/topaz_sdma1.bin
> >>> /lib/firmware/amdgpu/topaz_smc.bin
>
> No /kaveri/ in there.
>
>
> > Perhaps the path to the binary blobs specified in your kernel config file
> > is wrong? You want to double check that.
>
>
> This is what I have:
>
> grep /firmware .config
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
>
> Looking at it again the amdgpu wiki page does not list amdgpu firmwares for
> the KAVERI APU.  However, I am confused as to why I can't find
> radeon/kaveri_sdma1 in my installed firmwares (either from linux-firmware,
> or
> from amdgpu-ucode.
>
> --
> 

Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-22 Thread Mick
On Tuesday 22 Dec 2015 23:02:12 you wrote:
> On Tuesday 22 Dec 2015 21:30:48 Alexander Kapshuk wrote:

> > 'legacy' seems to be disabled by default. See below.
> > # emerge -ap sys-firmware/amdgpu-ucode
> > 
> > These are the packages that would be merged, in order:
> > 
> > Calculating dependencies  ... done!
> > [ebuild  N~] sys-firmware/amdgpu-ucode-20150803  USE="-legacy"
> 
> Aha!  Good catch!
> 
> [-  ] legacy
> sys-firmware/amdgpu-ucode: Install firmware for older chipsets which
> are optionally supported by AMDGPU
> [-  ] 20150803 [gentoo]
> 
> 
> Can I have both amdgpu and linux-firmware?
> 
> The latter has some wireless firmware I think I need to retain.

OK, I can have both emerged with the legacy USE flag, because of radeon 
firmware file collisions.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-22 Thread Mick
On Tuesday 22 Dec 2015 23:07:24 Mick wrote:
> On Tuesday 22 Dec 2015 23:02:12 you wrote:
> > On Tuesday 22 Dec 2015 21:30:48 Alexander Kapshuk wrote:
> > > 'legacy' seems to be disabled by default. See below.
> > > # emerge -ap sys-firmware/amdgpu-ucode
> > > 
> > > These are the packages that would be merged, in order:
> > > 
> > > Calculating dependencies  ... done!
> > > [ebuild  N~] sys-firmware/amdgpu-ucode-20150803  USE="-legacy"
> > 
> > Aha!  Good catch!
> > 
> > [-  ] legacy
> > 
> > sys-firmware/amdgpu-ucode: Install firmware for older chipsets which
> > are optionally supported by AMDGPU
> > 
> > [-  ] 20150803 [gentoo]
> > 
> > Can I have both amdgpu and linux-firmware?
> > 
> > The latter has some wireless firmware I think I need to retain.
> 
> OK, I can have both emerged with the legacy USE flag, because of radeon
> firmware file collisions.

I think I have some success!  :-)  It booted without any discernible problems, 
although I came across this complain in dmesg:

[0.544769] [drm] radeon: 1024M of VRAM memory ready
[0.544772] [drm] radeon: 1024M of GTT memory ready.
[0.544781] [drm] Loading kaveri Microcode
[0.544788] [drm] Internal thermal controller without fan control
[0.546112] [drm] radeon: dpm initialized
[0.546126] radeon :00:01.0: Direct firmware load for 
radeon/BONAIRE_uvd.bin failed with error -2
[0.546131] radeon :00:01.0: radeon_uvd: Can't load firmware 
"radeon/BONAIRE_uvd.bin"
[0.546141] radeon :00:01.0: Direct firmware load for 
radeon/BONAIRE_vce.bin failed with error -2
[0.546146] radeon :00:01.0: radeon_vce: Can't load firmware 
"radeon/BONAIRE_vce.bin"
[0.546152] [drm] GART: num cpu pages 262144, num gpu pages 262144
[0.559563] [drm] PCIE GART of 1024M enabled (table at 0x0004).
[0.559896] radeon :00:01.0: WB enabled
[0.559923] radeon :00:01.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0x88041dc03c00
[0.559931] radeon :00:01.0: fence driver on ring 1 use gpu addr 
0x4c04 and cpu addr 0x88041dc03c04
[0.559937] radeon :00:01.0: fence driver on ring 2 use gpu addr 
0x4c08 and cpu addr 0x88041dc03c08
[0.559944] radeon :00:01.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0x88041dc03c0c
[0.559950] radeon :00:01.0: fence driver on ring 4 use gpu addr 
0x4c10 and cpu addr 0x88041dc03c10
[0.559957] radeon :00:01.0: VCE init error (-22).
[0.559961] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[0.559965] [drm] Driver supports precise vblank timestamp query.
[0.559997] radeon :00:01.0: radeon: using MSI.
[0.560020] [drm] radeon: irq initialized.


Why is it asking for radeon/BONAIRE_*.bin?  :-/

The wiki page suggests I use the kaveri list of firmwares.  Should I use 
bonaire instead?  Or should I add the bonaire list to my existing kaveri 
firmwares in the kernel?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-22 Thread Mick
On Tuesday 22 Dec 2015 21:30:48 Alexander Kapshuk wrote:
> On Tue, Dec 22, 2015 at 9:39 PM, Mick  wrote:
> > On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> > > On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:
> > > > This is not working for me on a Kaveri system.
> > > > 
> > > > The wiki page suggests these firmware blobs:
> > > > 
> > > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > > > radeon/kaveri_vce.bin
> > > > 
> > > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available
> > 
> > when
> > 
> > > > I use sys-kernel/linux-firmware:
> > > > 
> > > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > > > /lib/firmware/radeon/kaveri_sdma.bin
> > > > /lib/firmware/radeon/KAVERI_sdma.bin
> > > > 
> > > > 
> > > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > > > either:
> > > > 
> > > > find /lib/firmware/amdgpu/ -iname *sdma*
> > > > /lib/firmware/amdgpu/carrizo_sdma.bin
> > > > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > > /lib/firmware/amdgpu/fiji_sdma.bin
> > > > /lib/firmware/amdgpu/fiji_sdma1.bin
> > > > /lib/firmware/amdgpu/tonga_sdma.bin
> > > > /lib/firmware/amdgpu/tonga_sdma1.bin
> > > > /lib/firmware/amdgpu/topaz_sdma.bin
> > > > /lib/firmware/amdgpu/topaz_sdma1.bin
> > > > 
> > > > 
> > > > Building the recommended blobs fails like so:
> > > > 
> > > > # make && make modules_install && make firmware_install
> > > > 
> > > >   CHK include/config/kernel.release
> > > >   CHK include/generated/uapi/linux/version.h
> > > >   CHK include/generated/utsrelease.h
> > > >   CHK include/generated/bounds.h
> > > >   CHK include/generated/asm-offsets.h
> > > >   CALLscripts/checksyscalls.sh
> > > >   CHK include/generated/compile.h
> > > > 
> > > > kernel/Makefile:135: *** No X.509 certificates found ***
> > > > make[1]: *** No rule to make target
> > > > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > > > Makefile:947: recipe for target 'firmware' failed
> > > > make: *** [firmware] Error 2
> > > 
> > > That's interesting. 'kaveri_sdma1.bin' is found in the
> > > 'sys-firmware/amdgpu-ucode' package. See below.
> > > % pwd
> > > radeon_ucode/kaveri
> > 
> > I don't seem to have such a directory, or the files therein.  Where am I
> > supposed to look?
> > 
> > This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC:
> > >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo
> >  
> >  * checking 44 files for package collisions
> >  
> > >>> Merging sys-firmware/amdgpu-ucode-20150803 to /
> > 
> > --- /lib/
> > --- /lib/firmware/
> > --- /lib/firmware/amdgpu/
> > 
> > >>> /lib/firmware/amdgpu/carrizo_ce.bin
> > >>> /lib/firmware/amdgpu/carrizo_me.bin
> > >>> /lib/firmware/amdgpu/carrizo_mec.bin
> > >>> /lib/firmware/amdgpu/carrizo_mec2.bin
> > >>> /lib/firmware/amdgpu/carrizo_pfp.bin
> > >>> /lib/firmware/amdgpu/carrizo_rlc.bin
> > >>> /lib/firmware/amdgpu/carrizo_sdma.bin
> > >>> /lib/firmware/amdgpu/carrizo_sdma1.bin
> > >>> /lib/firmware/amdgpu/carrizo_uvd.bin
> > >>> /lib/firmware/amdgpu/carrizo_vce.bin
> > >>> /lib/firmware/amdgpu/fiji_ce.bin
> > >>> /lib/firmware/amdgpu/fiji_mc.bin
> > >>> /lib/firmware/amdgpu/fiji_me.bin
> > >>> /lib/firmware/amdgpu/fiji_mec.bin
> > >>> /lib/firmware/amdgpu/fiji_mec2.bin
> > >>> /lib/firmware/amdgpu/fiji_pfp.bin
> > >>> /lib/firmware/amdgpu/fiji_rlc.bin
> > >>> /lib/firmware/amdgpu/fiji_sdma.bin
> > >>> /lib/firmware/amdgpu/fiji_sdma1.bin
> > >>> /lib/firmware/amdgpu/fiji_smc.bin
> > >>> /lib/firmware/amdgpu/fiji_uvd.bin
> > >>> /lib/firmware/amdgpu/fiji_vce.bin
> > >>> /lib/firmware/amdgpu/tonga_ce.bin
> > >>> /lib/firmware/amdgpu/tonga_mc.bin
> > >>> /lib/firmware/amdgpu/tonga_me.bin
> > >>> /lib/firmware/amdgpu/tonga_mec.bin
> > >>> /lib/firmware/amdgpu/tonga_mec2.bin
> > >>> /lib/firmware/amdgpu/tonga_pfp.bin
> > >>> /lib/firmware/amdgpu/tonga_rlc.bin
> > >>> /lib/firmware/amdgpu/tonga_sdma.bin
> > >>> /lib/firmware/amdgpu/tonga_sdma1.bin
> > >>> /lib/firmware/amdgpu/tonga_smc.bin
> > >>> /lib/firmware/amdgpu/tonga_uvd.bin
> > >>> /lib/firmware/amdgpu/tonga_vce.bin
> > >>> /lib/firmware/amdgpu/topaz_ce.bin
> > >>> /lib/firmware/amdgpu/topaz_mc.bin
> > >>> /lib/firmware/amdgpu/topaz_me.bin
> > >>> /lib/firmware/amdgpu/topaz_mec.bin
> > >>> /lib/firmware/amdgpu/topaz_mec2.bin
> > >>> /lib/firmware/amdgpu/topaz_pfp.bin
> > >>> /lib/firmware/amdgpu/topaz_rlc.bin
> > >>> /lib/firmware/amdgpu/topaz_sdma.bin
> > >>> /lib/firmware/amdgpu/topaz_sdma1.bin
> > >>> /lib/firmware/amdgpu/topaz_smc.bin
> > 
> > No /kaveri/ in there.
> > 
> > > Perhaps the path to the binary blobs specified in your kernel config
> > > file is wrong? You want to double check that.
> > 
> > This is what 

Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-22 Thread Mick
On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:

> > This is not working for me on a Kaveri system.
> > 
> > The wiki page suggests these firmware blobs:
> > 
> > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > radeon/kaveri_vce.bin
> > 
> > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available when
> > I use sys-kernel/linux-firmware:
> > 
> > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > /lib/firmware/radeon/kaveri_sdma.bin
> > /lib/firmware/radeon/KAVERI_sdma.bin
> > 
> > 
> > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > either:
> > 
> > find /lib/firmware/amdgpu/ -iname *sdma*
> > /lib/firmware/amdgpu/carrizo_sdma.bin
> > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > /lib/firmware/amdgpu/fiji_sdma.bin
> > /lib/firmware/amdgpu/fiji_sdma1.bin
> > /lib/firmware/amdgpu/tonga_sdma.bin
> > /lib/firmware/amdgpu/tonga_sdma1.bin
> > /lib/firmware/amdgpu/topaz_sdma.bin
> > /lib/firmware/amdgpu/topaz_sdma1.bin
> > 
> > 
> > Building the recommended blobs fails like so:
> > 
> > # make && make modules_install && make firmware_install
> > 
> >   CHK include/config/kernel.release
> >   CHK include/generated/uapi/linux/version.h
> >   CHK include/generated/utsrelease.h
> >   CHK include/generated/bounds.h
> >   CHK include/generated/asm-offsets.h
> >   CALLscripts/checksyscalls.sh
> >   CHK include/generated/compile.h
> > 
> > kernel/Makefile:135: *** No X.509 certificates found ***
> > make[1]: *** No rule to make target
> > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > Makefile:947: recipe for target 'firmware' failed
> > make: *** [firmware] Error 2

> That's interesting. 'kaveri_sdma1.bin' is found in the
> 'sys-firmware/amdgpu-ucode' package. See below.
> % pwd
> radeon_ucode/kaveri

I don't seem to have such a directory, or the files therein.  Where am I 
supposed to look?

This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC:

>>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo
 * checking 44 files for package collisions
>>> Merging sys-firmware/amdgpu-ucode-20150803 to /
--- /lib/
--- /lib/firmware/
--- /lib/firmware/amdgpu/
>>> /lib/firmware/amdgpu/carrizo_ce.bin
>>> /lib/firmware/amdgpu/carrizo_me.bin
>>> /lib/firmware/amdgpu/carrizo_mec.bin
>>> /lib/firmware/amdgpu/carrizo_mec2.bin
>>> /lib/firmware/amdgpu/carrizo_pfp.bin
>>> /lib/firmware/amdgpu/carrizo_rlc.bin
>>> /lib/firmware/amdgpu/carrizo_sdma.bin
>>> /lib/firmware/amdgpu/carrizo_sdma1.bin
>>> /lib/firmware/amdgpu/carrizo_uvd.bin
>>> /lib/firmware/amdgpu/carrizo_vce.bin
>>> /lib/firmware/amdgpu/fiji_ce.bin
>>> /lib/firmware/amdgpu/fiji_mc.bin
>>> /lib/firmware/amdgpu/fiji_me.bin
>>> /lib/firmware/amdgpu/fiji_mec.bin
>>> /lib/firmware/amdgpu/fiji_mec2.bin
>>> /lib/firmware/amdgpu/fiji_pfp.bin
>>> /lib/firmware/amdgpu/fiji_rlc.bin
>>> /lib/firmware/amdgpu/fiji_sdma.bin
>>> /lib/firmware/amdgpu/fiji_sdma1.bin
>>> /lib/firmware/amdgpu/fiji_smc.bin
>>> /lib/firmware/amdgpu/fiji_uvd.bin
>>> /lib/firmware/amdgpu/fiji_vce.bin
>>> /lib/firmware/amdgpu/tonga_ce.bin
>>> /lib/firmware/amdgpu/tonga_mc.bin
>>> /lib/firmware/amdgpu/tonga_me.bin
>>> /lib/firmware/amdgpu/tonga_mec.bin
>>> /lib/firmware/amdgpu/tonga_mec2.bin
>>> /lib/firmware/amdgpu/tonga_pfp.bin
>>> /lib/firmware/amdgpu/tonga_rlc.bin
>>> /lib/firmware/amdgpu/tonga_sdma.bin
>>> /lib/firmware/amdgpu/tonga_sdma1.bin
>>> /lib/firmware/amdgpu/tonga_smc.bin
>>> /lib/firmware/amdgpu/tonga_uvd.bin
>>> /lib/firmware/amdgpu/tonga_vce.bin
>>> /lib/firmware/amdgpu/topaz_ce.bin
>>> /lib/firmware/amdgpu/topaz_mc.bin
>>> /lib/firmware/amdgpu/topaz_me.bin
>>> /lib/firmware/amdgpu/topaz_mec.bin
>>> /lib/firmware/amdgpu/topaz_mec2.bin
>>> /lib/firmware/amdgpu/topaz_pfp.bin
>>> /lib/firmware/amdgpu/topaz_rlc.bin
>>> /lib/firmware/amdgpu/topaz_sdma.bin
>>> /lib/firmware/amdgpu/topaz_sdma1.bin
>>> /lib/firmware/amdgpu/topaz_smc.bin

No /kaveri/ in there.


> Perhaps the path to the binary blobs specified in your kernel config file
> is wrong? You want to double check that.


This is what I have:

grep /firmware .config
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"

Looking at it again the amdgpu wiki page does not list amdgpu firmwares for 
the KAVERI APU.  However, I am confused as to why I can't find 
radeon/kaveri_sdma1 in my installed firmwares (either from linux-firmware, or 
from amdgpu-ucode.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-20 Thread Mick
On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:
> > On Saturday 19 Dec 2015 17:15:04 Alexander Kapshuk wrote:
> > > > Have you tried this firmware package instead,
> > 
> > sys-firmware/amdgpu-ucode?
> > 
> > > > Do you have the firmware included in your kernel config file?
> > > > 
> > > > Device Drivers  --->
> > > > 
> > > > Generic Driver Options  --->
> > > > 
> > > > -*- Userspace firmware loading support
> > > > [*] Include in-kernel firmware blobs in kernel binary
> > > > 
> > > > (amdgpu/.bin radeon/.bin)
> > > > (/lib/firmware) Firmware blobs root directory
> > > > 
> > > > Yes I have the firmware includes, I'll try the amdgpu-ucode and
> > > > report back.
> > > > 
> > > > 
> > > > -
> > > > 
> > > > 
> > > > Mission successful!  Thanks everyone, it appears the missing
> > > > sdma1.bin from linux-firmware is contained in amdgpu-ucode and after
> > > > switching everything is running fine.
> > > 
> > > Good to hear.
> > > 
> > > Thanks for letting us know.
> > 
> > This is not working for me on a Kaveri system.
> > 
> > The wiki page suggests these firmware blobs:
> > 
> > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > radeon/kaveri_vce.bin
> > 
> > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available when
> > I use sys-kernel/linux-firmware:
> > 
> > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > /lib/firmware/radeon/kaveri_sdma.bin
> > /lib/firmware/radeon/KAVERI_sdma.bin
> > 
> > 
> > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > either:
> > 
> > find /lib/firmware/amdgpu/ -iname *sdma*
> > /lib/firmware/amdgpu/carrizo_sdma.bin
> > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > /lib/firmware/amdgpu/fiji_sdma.bin
> > /lib/firmware/amdgpu/fiji_sdma1.bin
> > /lib/firmware/amdgpu/tonga_sdma.bin
> > /lib/firmware/amdgpu/tonga_sdma1.bin
> > /lib/firmware/amdgpu/topaz_sdma.bin
> > /lib/firmware/amdgpu/topaz_sdma1.bin
> > 
> > 
> > Building the recommended blobs fails like so:
> > 
> > # make && make modules_install && make firmware_install
> > 
> >   CHK include/config/kernel.release
> >   CHK include/generated/uapi/linux/version.h
> >   CHK include/generated/utsrelease.h
> >   CHK include/generated/bounds.h
> >   CHK include/generated/asm-offsets.h
> >   CALLscripts/checksyscalls.sh
> >   CHK include/generated/compile.h
> > 
> > kernel/Makefile:135: *** No X.509 certificates found ***
> > make[1]: *** No rule to make target
> > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > Makefile:947: recipe for target 'firmware' failed
> > make: *** [firmware] Error 2
> > 
> > What now?
> > 
> > PS.  As VIDEO_CARDS in make.conf I used to have radeon and radeonsi, but
> > have
> > now changed it to amdgpu and radeonsi.  Should I revert and forget about
> > radeon/kaveri_sdma1.bin?
> > --
> > Regards,
> > Mick
> 
> That's interesting. 'kaveri_sdma1.bin' is found in the
> 'sys-firmware/amdgpu-ucode' package. See below.
> % pwd
> radeon_ucode/kaveri
> % ls -1 *sdma*
> kaveri_sdma.bin
> kaveri_sdma1.bin
> 
> Perhaps the path to the binary blobs specified in your kernel config file
> is wrong? You want to double check that.
> Device Drivers  --->
> Generic Driver Options  --->
>  -*- Userspace firmware loading support
>  [*] Include in-kernel firmware blobs in kernel binary
>  (amdgpu/.bin radeon/.bin)
>  (/lib/firmware) Firmware blobs root directory

Hmm .. perhaps I've been doing this wrong?  Should I fill in:

(amdgpu/kaveri.bin radeon/kaveri.bin)

instead of:

(radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin 
radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin 
radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin 
radeon/kaveri_vce.bin)

I've been doing the latter for as long as I can remember.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


RE: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-20 Thread Tsukasa Mcp_Reznor


> From: michaelkintz...@gmail.com
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel 
> module)
> Date: Sun, 20 Dec 2015 23:25:29 +
> 
> On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> > On Sun, Dec 20, 2015 at 9:04 PM, Mick <michaelkintz...@gmail.com> wrote:
> > > On Saturday 19 Dec 2015 17:15:04 Alexander Kapshuk wrote:
> > > > > Have you tried this firmware package instead,
> > > 
> > > sys-firmware/amdgpu-ucode?
> > > 
> > > > > Do you have the firmware included in your kernel config file?
> > > > > 
> > > > > Device Drivers  --->
> > > > > 
> > > > > Generic Driver Options  --->
> > > > > 
> > > > > -*- Userspace firmware loading support
> > > > > [*] Include in-kernel firmware blobs in kernel binary
> > > > > 
> > > > > (amdgpu/.bin radeon/.bin)
> > > > > (/lib/firmware) Firmware blobs root directory
> > > > > 
> > > > > Yes I have the firmware includes, I'll try the amdgpu-ucode and
> > > > > report back.
> > > > > 
> > > > > 
> > > > > -
> > > > > 
> > > > > 
> > > > > Mission successful!  Thanks everyone, it appears the missing
> > > > > sdma1.bin from linux-firmware is contained in amdgpu-ucode and after
> > > > > switching everything is running fine.
> > > > 
> > > > Good to hear.
> > > > 
> > > > Thanks for letting us know.
> > > 
> > > This is not working for me on a Kaveri system.
> > > 
> > > The wiki page suggests these firmware blobs:
> > > 
> > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > > radeon/kaveri_vce.bin
> > > 
> > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available when
> > > I use sys-kernel/linux-firmware:
> > > 
> > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > > /lib/firmware/radeon/kaveri_sdma.bin
> > > /lib/firmware/radeon/KAVERI_sdma.bin
> > > 
> > > 
> > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > > either:
> > > 
> > > find /lib/firmware/amdgpu/ -iname *sdma*
> > > /lib/firmware/amdgpu/carrizo_sdma.bin
> > > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > /lib/firmware/amdgpu/fiji_sdma.bin
> > > /lib/firmware/amdgpu/fiji_sdma1.bin
> > > /lib/firmware/amdgpu/tonga_sdma.bin
> > > /lib/firmware/amdgpu/tonga_sdma1.bin
> > > /lib/firmware/amdgpu/topaz_sdma.bin
> > > /lib/firmware/amdgpu/topaz_sdma1.bin
> > > 
> > > 
> > > Building the recommended blobs fails like so:
> > > 
> > > # make && make modules_install && make firmware_install
> > > 
> > >   CHK include/config/kernel.release
> > >   CHK include/generated/uapi/linux/version.h
> > >   CHK include/generated/utsrelease.h
> > >   CHK include/generated/bounds.h
> > >   CHK include/generated/asm-offsets.h
> > >   CALLscripts/checksyscalls.sh
> > >   CHK include/generated/compile.h
> > > 
> > > kernel/Makefile:135: *** No X.509 certificates found ***
> > > make[1]: *** No rule to make target
> > > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > > Makefile:947: recipe for target 'firmware' failed
> > > make: *** [firmware] Error 2
> > > 
> > > What now?
> > > 
> > > PS.  As VIDEO_CARDS in make.conf I used to have radeon and radeonsi, but
> > > have
> > > now changed it to amdgpu and radeonsi.  Should I revert and forget about
> > > radeon/kaveri_sdma1.bin?
> > > --
> > > Regards,
> > > Mick
> > 
> > That's interesting. 'kaveri_sdma1.bin' is found in the
> > 'sys-firmware/amdgpu-ucode' package. See below.
> > % pwd
> > radeon_ucode/kaveri
> > % ls -1 *sdma*
> > kaveri_sdma.bin
> > kaveri_sdma1.bin
> > 
> > Perhaps the path to the binary blobs specified in your kernel config file
> > is wrong? Y

Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-20 Thread Mick
On Saturday 19 Dec 2015 17:15:04 Alexander Kapshuk wrote:
> > Have you tried this firmware package instead, sys-firmware/amdgpu-ucode?
> > 
> > Do you have the firmware included in your kernel config file?
> > 
> > Device Drivers  --->
> > 
> > Generic Driver Options  --->
> > 
> > -*- Userspace firmware loading support
> > [*] Include in-kernel firmware blobs in kernel binary
> > 
> > (amdgpu/.bin radeon/.bin)
> > (/lib/firmware) Firmware blobs root directory
> > 
> > Yes I have the firmware includes, I'll try the amdgpu-ucode and report
> > back.
> > 
> > 
> > -
> > 
> > 
> > Mission successful!  Thanks everyone, it appears the missing sdma1.bin
> > from linux-firmware is contained in amdgpu-ucode and after switching
> > everything is running fine.
> 
> Good to hear.
> 
> Thanks for letting us know.

This is not working for me on a Kaveri system.

The wiki page suggests these firmware blobs:

radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin 
radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin 
radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin 
radeon/kaveri_vce.bin

Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available when I 
use sys-kernel/linux-firmware:

find /lib/firmware/radeon/ -iname KAVERI*sdma*
/lib/firmware/radeon/kaveri_sdma.bin
/lib/firmware/radeon/KAVERI_sdma.bin


I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there either:

find /lib/firmware/amdgpu/ -iname *sdma*
/lib/firmware/amdgpu/carrizo_sdma.bin
/lib/firmware/amdgpu/carrizo_sdma1.bin
/lib/firmware/amdgpu/fiji_sdma.bin
/lib/firmware/amdgpu/fiji_sdma1.bin
/lib/firmware/amdgpu/tonga_sdma.bin
/lib/firmware/amdgpu/tonga_sdma1.bin
/lib/firmware/amdgpu/topaz_sdma.bin
/lib/firmware/amdgpu/topaz_sdma1.bin


Building the recommended blobs fails like so:

# make && make modules_install && make firmware_install
  CHK include/config/kernel.release
  CHK include/generated/uapi/linux/version.h
  CHK include/generated/utsrelease.h
  CHK include/generated/bounds.h
  CHK include/generated/asm-offsets.h
  CALLscripts/checksyscalls.sh
  CHK include/generated/compile.h
kernel/Makefile:135: *** No X.509 certificates found ***
make[1]: *** No rule to make target '/lib/firmware//radeon/kaveri_sdma1.bin', 
needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
Makefile:947: recipe for target 'firmware' failed
make: *** [firmware] Error 2

What now?

PS.  As VIDEO_CARDS in make.conf I used to have radeon and radeonsi, but have 
now changed it to amdgpu and radeonsi.  Should I revert and forget about 
radeon/kaveri_sdma1.bin?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-20 Thread Alexander Kapshuk
On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:

> On Saturday 19 Dec 2015 17:15:04 Alexander Kapshuk wrote:
> > > Have you tried this firmware package instead,
> sys-firmware/amdgpu-ucode?
> > >
> > > Do you have the firmware included in your kernel config file?
> > >
> > > Device Drivers  --->
> > >
> > > Generic Driver Options  --->
> > >
> > > -*- Userspace firmware loading support
> > > [*] Include in-kernel firmware blobs in kernel binary
> > >
> > > (amdgpu/.bin radeon/.bin)
> > > (/lib/firmware) Firmware blobs root directory
> > >
> > > Yes I have the firmware includes, I'll try the amdgpu-ucode and report
> > > back.
> > >
> > >
> > > -
> > >
> > >
> > > Mission successful!  Thanks everyone, it appears the missing sdma1.bin
> > > from linux-firmware is contained in amdgpu-ucode and after switching
> > > everything is running fine.
> >
> > Good to hear.
> >
> > Thanks for letting us know.
>
> This is not working for me on a Kaveri system.
>
> The wiki page suggests these firmware blobs:
>
> radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> radeon/kaveri_vce.bin
>
> Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available when I
> use sys-kernel/linux-firmware:
>
> find /lib/firmware/radeon/ -iname KAVERI*sdma*
> /lib/firmware/radeon/kaveri_sdma.bin
> /lib/firmware/radeon/KAVERI_sdma.bin
>
>
> I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> either:
>
> find /lib/firmware/amdgpu/ -iname *sdma*
> /lib/firmware/amdgpu/carrizo_sdma.bin
> /lib/firmware/amdgpu/carrizo_sdma1.bin
> /lib/firmware/amdgpu/fiji_sdma.bin
> /lib/firmware/amdgpu/fiji_sdma1.bin
> /lib/firmware/amdgpu/tonga_sdma.bin
> /lib/firmware/amdgpu/tonga_sdma1.bin
> /lib/firmware/amdgpu/topaz_sdma.bin
> /lib/firmware/amdgpu/topaz_sdma1.bin
>
>
> Building the recommended blobs fails like so:
>
> # make && make modules_install && make firmware_install
>   CHK include/config/kernel.release
>   CHK include/generated/uapi/linux/version.h
>   CHK include/generated/utsrelease.h
>   CHK include/generated/bounds.h
>   CHK include/generated/asm-offsets.h
>   CALLscripts/checksyscalls.sh
>   CHK include/generated/compile.h
> kernel/Makefile:135: *** No X.509 certificates found ***
> make[1]: *** No rule to make target
> '/lib/firmware//radeon/kaveri_sdma1.bin',
> needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> Makefile:947: recipe for target 'firmware' failed
> make: *** [firmware] Error 2
>
> What now?
>
> PS.  As VIDEO_CARDS in make.conf I used to have radeon and radeonsi, but
> have
> now changed it to amdgpu and radeonsi.  Should I revert and forget about
> radeon/kaveri_sdma1.bin?
> --
> Regards,
> Mick
>

That's interesting. 'kaveri_sdma1.bin' is found in the
'sys-firmware/amdgpu-ucode' package. See below.
% pwd
radeon_ucode/kaveri
% ls -1 *sdma*
kaveri_sdma.bin
kaveri_sdma1.bin

Perhaps the path to the binary blobs specified in your kernel config file
is wrong? You want to double check that.
Device Drivers  --->
Generic Driver Options  --->
 -*- Userspace firmware loading support
 [*] Include in-kernel firmware blobs in kernel binary
 (amdgpu/.bin radeon/.bin)
 (/lib/firmware) Firmware blobs root directory