Author Topic: Graphics Card install  (Read 50249 times)

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Graphics Card install
« Reply #90 on: December 16, 2019, 03:58:53 pm »
What was your previous step?

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #91 on: December 16, 2019, 04:17:46 pm »
So I'll give you a summary, after doing those steps where I was stuck, I went to the part where you must first download and then apply the kernel patches.

[user @ bb git] $ cd fedora /
[user @ bb fedora] $ wget https://gitlab.freedesktop.org/drm/amd/uploads/f8c299fc4fd373a8cbc380f348204b61/0001-amdgpu-Prepare-DCN-floating-point-macros-for-generic.patch
[user @ bb fedora] $ wget https://gitlab.freedesktop.org/drm/amd/uploads/7d194992837c8706ca5966b682d5680b/0002-amdgpu-Enable-initial-DCN-support-on-POWER.patch
[user @ bb fedora] $ wget https://gitlab.freedesktop.org/drm/amd/uploads/86353afdb43409add84005cef8c5abc0/0003-amdgpu-Wrap-FPU-dependent-functions-in-dc20.patch
[user @ bb fedora] $ git am * .patch

Up to this point no problem, he did everything according to the guide.
Then he tells me to do this command:
[user @ bb fedora] $ sed -i 's / .num_dsc = 5, // g' drivers / gpu / drm / amd / display / dc / dcn20 / dcn20_resource.c
Without this the system has not returned any error to me and so I went ahead in the procedure and I got to the point where it tells me to configure the kernel and to do it you must enter that famous command that I posted and that does not work ... And I got so stuck ... Last step is the command line that you see immediately above or the one where you talk about drivers and diplay ...

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Graphics Card install
« Reply #92 on: December 16, 2019, 04:27:21 pm »
Original line from the wiki:
Code: [Select]
sed -i 's/.num_dsc = 5,//g' drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
Your line:
Code: [Select]
sed -i 's / .num_dsc = 5, // g' drivers / gpu / drm / amd / display / dc / dcn20 / dcn20_resource.c
Compare. You should really copy&spate the lines

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #93 on: December 17, 2019, 01:14:34 am »
it seems strange to me because I copied exactly without touching anything, the line that comes out in my previous message has different spaces but I don't remember that there were in the original that I copied ... very strange ... I'll check this evening and I see if it is actually how it comes out in my message but in any case it has not even returned errors like too many arguments in the line ... I honestly don't understand ... ???

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #94 on: December 17, 2019, 07:33:28 am »


MPC I checked the command line you posted, if you notice the original of the guide, you will notice that it is exactly the one I posted, if I do copy and paste, obviously I don't go to think that there are more spaces otherwise I would go to intervene. Also while in the line that you had previously pointed out to me, it gave me error of excessive arguments, in this case it takes the command and makes you continue so I could not imagine ... In any case this evening I try in the mode you posted and then I go to redo the command that gives me the error of which I spoke yesterday, let's see if correcting the previous line, I can go on. But at this point it is necessary to report to Meclort because even when you do the NVRAM update in petit boot, the line which is then reported as a guide also has too much space and consequently the system returns an error. Too much space is found after 0 at the end of the line ...

# nvram -p ibm, skiboot --update-config fast-reset = 0

 this is the line with the extra space at the end that makes you get out of error, on this I realized and I corrected it, on the others I made a copy paste and I didn't realize it

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #95 on: December 17, 2019, 01:03:42 pm »
Guys I rectify my last message, I'm checking the command line that MPC said was different, actually it was copied exactly, only on the forum did it come up with spaces. Such as. you can see the sequence is correct and when I do the cp command, it returns this error to me ... Merklot you have to intervene and let me kindly understand what is happening because I have copied everything as it is done on the guide, it worked everything up to here, now it is strange that from this error ...


MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Graphics Card install
« Reply #96 on: December 17, 2019, 03:44:50 pm »
@meklort: ATM I'm on Fedora 30.

After: make oldconfig I get:
Code: [Select]
HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --oldconfig Kconfig
.config:6025:warning: symbol value 'm' invalid for REMOTEPROC
*
* Restart config...
*
*
* Platform support
*
IBM PowerNV (Non-Virtualized) platform support (PPC_POWERNV) [Y/n/?] y
  OPAL PRD driver (OPAL_PRD) [M/n/y/?] m
  Enable removal of RAM from kernel mappings for tracing (PPC_MEMTRACE) [N/y/?] n
  IBM Virtual Accelerator Switchboard (VAS) (PPC_VAS) [Y/n/?] y
Expose SCOM controllers via debugfs (SCOM_DEBUGFS) [Y/n/?] y
IBM pSeries & new (POWER5-based) iSeries (PPC_PSERIES) [Y/n/?] y
  Support for shared-processor logical partitions (PPC_SPLPAR) [Y/n/?] y
    Dispatch Trace Log (DTL) [Y/n/?] y
  pSeries energy management capabilities driver (PSERIES_ENERGY) [M/n/y/?] m
  Scanlog dump interface (SCANLOG) [Y/n/m/?] y
  IO Event Interrupt support (IO_EVENT_IRQ) [Y/n/?] y
  LPAR Configuration Data (LPARCFG) [Y/?] y
  Support for shared-memory logical partitions (PPC_SMLPAR) [Y/n/?] y
    Collaborative memory management (CMM) [Y/n/m/?] y
  Hypervisor supplied PMU events (24x7 & GPCI) (HV_PERF_CTRS) [Y/n/?] y
  Support for the PAPR Storage Class Memory interface (PAPR_SCM) [M/n/?] m
  Secure virtual machine (SVM) support for POWER (PPC_SVM) [N/y/?] (NEW)

.config:6025:warning: symbol value 'm' invalid for REMOTEPROC
« Last Edit: December 17, 2019, 04:05:54 pm by MPC7500 »

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #97 on: December 18, 2019, 02:54:52 pm »
apparently Meclort has abandoned us now ... guys is there someone else who has done this procedure and knows how to solve our problems?

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Graphics Card install
« Reply #98 on: December 18, 2019, 05:39:51 pm »
In the meantime, could you figure out why the error message pops-up?
Also do you know what this line means?
cp /boot/config-*.ppc64le .config

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #99 on: December 19, 2019, 01:10:10 am »
from what I read in the guide serves to configure the kernel ... but I don't know specifically ... I only say that having followed the guide step by step I wonder why it gives me such an error ... The only thing that comes to me from to think is that the steps to create the customized Kernel are missing, but I don't know how to do anything else, I don't know what to think ... I have no idea ...

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Graphics Card install
« Reply #100 on: December 19, 2019, 12:47:24 pm »
It looks like I'm ready for Navi

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #101 on: December 19, 2019, 03:08:45 pm »
great ... good ... something that I can't do myself and I still don't understand why ... 😥

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Graphics Card install
« Reply #102 on: December 19, 2019, 04:28:15 pm »
Googling a little bit
Linux command cp
/boot/ is a folder.
config-*.ppc64le is a file.

There seems to be something wrong with this file. Then go to the folder boot and see what file(s) you find with the name config-*.ppc64le. The * is a placeholder. Then you'll understand what the problem is.

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #103 on: December 19, 2019, 06:52:40 pm »
ok thanks I'll try to do what you tell me ... I hope to find the problem ... the only thing I still don't understand is why there is an error if I simply made the copy paste from the guide ... not I understand...

MauryG5

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +22/-1
    • View Profile
Re: Graphics Card install
« Reply #104 on: December 20, 2019, 10:03:44 am »
knowing specifically what the contents of the line are, without seeing the guide I go by logic, obviously I can't put a directory in a file but I have to put the file in the directory ... so theoretically I should invert the two things ... correct me if I'm wrong ...