LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 05-16-2019, 05:51 PM   #1
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Rep: Reputation: Disabled
Loading GuC/HuC firmware in Devian Stretch


I'm very new to Linux and am following the guide to enable guc and huc in my question here:

https://gist.github.com/Brainiarc7/a...omment-2917087

Anybody has any ideas on hoe to go about this? My system board is ASRock J5005-ITX and am using Kernel 4.19 from the Stretch backports.
 
Old 05-17-2019, 11:22 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ apt-file find guc | grep -i firm
Code:
firmware-misc-nonfree: /lib/firmware/i915/bxt_guc_ver8_7.bin
firmware-misc-nonfree: /lib/firmware/i915/kbl_guc_ver9_14.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver1.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver4.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver6.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver6_1.bin
$ sudo apt-get install firmware-misc-nonfree

Which assumes "non-free" is enabled in your apt sources.list file.
 
1 members found this post helpful.
Old 05-17-2019, 11:39 AM   #3
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
$ apt-file find guc | grep -i firm
Code:
firmware-misc-nonfree: /lib/firmware/i915/bxt_guc_ver8_7.bin
firmware-misc-nonfree: /lib/firmware/i915/kbl_guc_ver9_14.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver1.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver4.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver6.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver6_1.bin
$ sudo apt-get install firmware-misc-nonfree

Which assumes "non-free" is enabled in your apt sources.list file.
I do have firmware-misc-nonfree (from Stretch backport) installed:

Code:
firmware-misc-nonfree: /lib/firmware/i915/bxt_guc_ver8_7.bin
firmware-misc-nonfree: /lib/firmware/i915/bxt_guc_ver9_29.bin
firmware-misc-nonfree: /lib/firmware/i915/kbl_guc_ver9_14.bin
firmware-misc-nonfree: /lib/firmware/i915/kbl_guc_ver9_39.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver1.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver4.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver6.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver6_1.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_guc_ver9_33.bin
Don't I need the glk_guc firmwares though? I have a Gemini Lake (Intel Pentium Silver J5005) processor. Could that be the reason? The firmware-misc-nonfree package from the Stretch backport is outdated for my CPU?
 
Old 05-17-2019, 11:48 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You might need newer firmware. I've git those from kernel.org a few times, mostly for wifi firmware. You could try that route. Strings on the driver to see what it's "looking for" so you get something you actually need.

$ strings /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/i915/i915.ko | grep -i firmware=
Code:
firmware=i915/bxt_dmc_ver1_07.bin
firmware=i915/skl_dmc_ver1_26.bin
firmware=i915/kbl_dmc_ver1_01.bin
firmware=i915/kbl_guc_ver9_14.bin
firmware=i915/bxt_guc_ver8_7.bin
firmware=i915/skl_guc_ver6_1.bin
And you might need a different / newer kernel for that hardware. Is there a particular problem with the system? Or are you just trying to get the best performance out of it?
 
1 members found this post helpful.
Old 05-17-2019, 11:53 AM   #5
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
You might need newer firmware. I've git those from kernel.org a few times, mostly for wifi firmware. You could try that route. Strings on the driver to see what it's "looking for" so you get something you actually need.

$ strings /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/i915/i915.ko | grep -i firmware=
Code:
firmware=i915/bxt_dmc_ver1_07.bin
firmware=i915/skl_dmc_ver1_26.bin
firmware=i915/kbl_dmc_ver1_01.bin
firmware=i915/kbl_guc_ver9_14.bin
firmware=i915/bxt_guc_ver8_7.bin
firmware=i915/skl_guc_ver6_1.bin
And you might need a different / newer kernel for that hardware. Is there a particular problem with the system? Or are you just trying to get the best performance out of it?
Output:

Code:
firmware=i915/bxt_dmc_ver1_07.bin
firmware=i915/skl_dmc_ver1_27.bin
firmware=i915/kbl_dmc_ver1_04.bin
firmware=i915/cnl_dmc_ver1_07.bin
firmware=i915/glk_dmc_ver1_04.bin
firmware=i915/kbl_guc_ver9_39.bin
firmware=i915/bxt_guc_ver9_29.bin
firmware=i915/skl_guc_ver9_33.bin
firmware=i915/kbl_huc_ver02_00_1810.bin
firmware=i915/bxt_huc_ver01_07_1398.bin
firmware=i915/skl_huc_ver01_07_1398.bin
What does the output mean?

No particular issues but since this is a media server that will utilize GPU hardware for Plex transcoding then I really would want to make sure that all firmwares/drivers are installed properly to get the best performance out of this box, yes.
 
Old 05-17-2019, 12:27 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
That output is the firmware files that it looks for. Most likely in /lib/firmware/i915/.

$ ls -l /lib/firmware/i915/

If those don't exist, well, it doesn't find them. And it might gripe about it in the logfiles. If they do exist, you've done all that you can do and it "should" just work.
 
1 members found this post helpful.
Old 05-17-2019, 12:31 PM   #7
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
That output is the firmware files that it looks for. Most likely in /lib/firmware/i915/.

$ ls -l /lib/firmware/i915/

If those don't exist, well, it doesn't find them. And it might gripe about it in the logfiles. If they do exist, you've done all that you can do and it "should" just work.
They do exist. So what would be my next step now? I've reinstalled the whole system already and it resulted with the same no firmware found error for guc and huc in dmesg.
 
Old 05-17-2019, 01:17 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Outside of some source scouring to see what generates that message, not much to do. It could just be that your hardware isn't (yet) supported. Or it is, but your pciids isn't recognized (yet).

# modinfo i915
Which lists the firmware needs, and the alias pci* stuff for "known" cards. And options which you might try to fiddle with.

# lspci -nnk
To know what you have and see if it's known relative to that other output / source.

There's also microcode for CPU types. You might need that to have the other thing work. Or none of it matters as that message will always generate.
 
1 members found this post helpful.
Old 05-18-2019, 04:02 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
yesterday was the 17th of May, which is when you posted most of your questions here.
however, someone called mvduin already gave you relevant answers (that look pretty definite to me) on May 16th, as comments on that very gist you linked in your OP:
Quote:
mvduin commented May 16, 2019

They're just too new. The version in buster and stretch-backports (20190114) is still too old, the one in unstable (20190502) does include them.
@mvduin
mvduin commented May 16, 2019

Note that in case of a firmware package like this, it should be pretty safe to just download the .deb from unstable and manually install it without running into any package dependency conflicts.
@mvduin
mvduin commented May 16, 2019

Alternatively, you could add (the non-free section of) unstable as source to APT, but create an /etc/apt/preferences file that ensures it is only used for this specific package:

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: -1

Package: firmware-misc-nonfree
Pin: release o=Debian,a=unstable
Pin-Priority: 500
that not clear enough???
 
Old 05-18-2019, 05:07 AM   #10
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
I was not monitoring the gist and was not notifying me via email. Anyway, what's with the aggressiveness? Do you think it helps anyone in this community? Were you not once a Linux noob? Or are you simply a troll?
 
Old 05-18-2019, 05:55 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by kevindd992002 View Post
I was not monitoring the gist and was not notifying me via email. Anyway, what's with the aggressiveness? Do you think it helps anyone in this community? Were you not once a Linux noob? Or are you simply a troll?
do you have a technical reply to the advice offered, or are you just going to interpret aggressiveness into it, derailing your own thread?
 
Old 05-18-2019, 07:28 AM   #12
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
do you have a technical reply to the advice offered, or are you just going to interpret aggressiveness into it, derailing your own thread?
I understand the advice and will follow it because it makes sense. What else do you want me to say? What was not aggressive with your reply? You were simply being sarcastic with your reply. Anyway, there's no point of discussing anything with you.
 
Old 05-19-2019, 12:05 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by kevindd992002 View Post
What else do you want me to say?
"thank you" would have been nice.
 
Old 05-19-2019, 12:13 AM   #14
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
Then, thank you.
 
Old 05-22-2019, 01:04 AM   #15
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
As an update to this thread, I'm posting the same message I posted in the gist:

I went ahead and installed the unstable firmware-misc-nonfree and verified that the new glk firmwares are present:

$ ls -1 /lib/firmware/i915/
bxt_dmc_ver1_07.bin
bxt_dmc_ver1.bin
bxt_guc_32.0.3.bin
bxt_guc_ver8_7.bin
bxt_guc_ver9_29.bin
bxt_huc_ver01_07_1398.bin
cnl_dmc_ver1_07.bin
glk_dmc_ver1_04.bin
glk_guc_32.0.3.bin
glk_huc_ver03_01_2893.bin

icl_guc_32.0.3.bin
icl_huc_ver8_4_3238.bin
kbl_dmc_ver1_01.bin
kbl_dmc_ver1_04.bin
kbl_dmc_ver1.bin
kbl_guc_32.0.3.bin
kbl_guc_ver9_14.bin
kbl_guc_ver9_39.bin
kbl_huc_ver02_00_1810.bin
skl_dmc_ver1_23.bin
skl_dmc_ver1_26.bin
skl_dmc_ver1_27.bin
skl_dmc_ver1.bin
skl_guc_32.0.3.bin
skl_guc_ver1.bin
skl_guc_ver4.bin
skl_guc_ver6_1.bin
skl_guc_ver6.bin
skl_guc_ver9_33.bin
skl_huc_ver01_07_1398.bin

I also modified /etc/modprobe.d/i915.conf to include options i915 enable_guc=1 or options i915 enable_guc=-1 but still the GuC firmware won't load. Anything else I can try here?
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GuC firmware load skipped - Kernel Tainted fred44nl Linux - Newbie 1 08-27-2018 08:05 AM
HP ML150 G6 E5520 HP SAS/SATA HPM AP SERVER is not supported by Devian AeKhuban Linux - Hardware 2 08-28-2009 01:33 AM
Error USB-HUC on booting due in mdk10 due to mx700 Boudewijn Mandriva 4 10-09-2004 08:36 AM
HUC - Hackers! Helixx Linux - Security 6 07-19-2001 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration