New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I help test it on my vega card? #1
Comments
Thanks for the offer to test. Before we do anything, I need to know the product ID of the vega 64 card, please paste the output of:
I then need to add the ID to the source (I'll add a build parameter for this at a later date). In the meantime, please make sure you have installed It would also help to know which kernel, distro and desktop environment you are using. When I push an update, you should be able to download build and install. If you need help with the build process, just ask. |
Here's my output of that command:
And I do have make, gcc and git installed. I can't find linux-headers, I do have linux-api-headers installed though. |
What is your linux version?
|
The output of that command is: |
The latest manjaro kernel is 4.19.72, your system is a little outdated. The manjaro repos don't contain the headers for older versions. If you want to build the sources you'll need to first update your system then install the headers
Give me a few minutes, and I'll push an update with support for the vega card. Then I'll help you through the install. |
I am a bit scared to perform the update, because last time I tried it I couldn't boot. Luckily I had a backup so that I could restore my system to a working state. I hope it works this time. |
Trust me I know exactly how you feel. I always had update problems with Gnome, ended up switching to KDE. To install this package, open a terminal (your home directory will be fine).
The above will create a directory in your home folder |
Ok, so the updating took quite a while (I didn't reboot yet), but I ran all the commands and here is the output of |
You need to reboot. The makefile looks at the version of the kernel you are running then tries to find the headers for that kernel. It failed because it cannot find the 4.19.69 headers. To format your code use 3 backtick '`' characters before and after. |
Hmm ok. Sadly my PC doesn't boot into the login screen; I think I will make a post on the manjaro forums. |
OK. Let's fix that issue first. Make a new post on the forums, I'll follow over there. |
Here is the link to the thread: https://forum.manjaro.org/t/pc-wont-boot-after-updating/107438 |
So I did this again and the output of
|
Did you install the linux headers for the 5.4 kernel?
|
So I just did that and now I get a different output for
I hope it is useful.. |
Hmm, I have never seen those warnings before. A quick google search tells me that the format of I don't know yet if this is something I can fix within my code or if its a problem within Give me some time to look into it. I'll post an update as soon as I find anything. |
There are some serious problems with the 5.4.rc2 kernel at the moment. Everything I've read online tells me the warnings are false positives, but I don't think they are accounting for out of tree sources. Everything I've tried results in For 5.4 builds, we'll need to wait for at least rc3 to be released. @Prash-bit If you still have your 4.19 headers installed, I've configured the makefile to accept a kernel version. It should work, since it was originally built on the 4.19 kernel.
|
Just tested on the 5.4.rc4 kernel, which is available in Manjaro's testing branch, and can confirm everything works as expected. However, I don't recommend using the testing branch. Either compile against the 4.19 headers, or wait for a kernel update in the stable branch. |
So it seems an update has rolled out, I have been a bit careful and decided to wait for a couple of days to make sure they worked out all the issues. Than I ran the commands
|
I also tried this, and here is the output:
|
I'm a bit tied up with work at the moment. Your first attempt (with your 5.4 kernel) failed to build anything. It's possible you have a dirty directory (files left over from the previous attempt). Run The second attempt (with the 4.19 kernel) built successfully, but failed when trying to add the module to the kernel. You need to force load it, but I advise not to unless you really know what you are doing. (For others reading this thread, the source contains macros for different kernel versions tested with 4.19 and later). For now, don't bother with the 4.19 kernel headers. BTW, I do appreciate you taking the time, and jumping these hurdles, to help test. |
I can understand, I am also quite busy.
|
Congratulations. Now you can start on the fun part. The modules, will be removed each time you restart your system, so you'll need to run If you look inside your To make changes, you need to be root.
The aura gpu has 5 effects:
To change between them:
To change colors, you need to use an RGB hex code:
|
Hmm, Your card hasn't been detected. Is there anything in your logs?
|
Here's what is outputted:
|
OK. The driver was created and loaded for the GPU, but it failed to read the I2C bus. This isn't something I can fix without the card. Everything is undocumented. I managed to get it working on the RX580 after months of trial and error. Do you dual boot with Windows? |
Hmm I see. I don't dual boot with windows, but I can try if you want, I have an m.2 from my school laptop that has windows 10 installed on it, that I can try with my PC. |
Before you go installing Windows, I'll ask on the Manjaro forums if anybody has this card with a windows install. It won't give a quick solution, but it may help me find an answer. I need to know which channel the control is on. A tool called AIDA64 can print this. |
It seems like no one reacted yet, should I try putting the m.2 from my school laptop in my pc? I don't know if you can shift windows 10 ssd's from one set of hardware to another... Worth a try? |
I don't know too much about windows, but I think you can move a windows installation from system to another. However, you don't really need to do that. Before I do anything I need to fully test and integrate the changes I've made in my staging branch. Then, when I get the time, I'll create a standalone kernel module for probing these GPU's. I'm still having problems with my own Navi card. Ideally, I need to sit down and reverse engineer the windows Radeon driver, or at least find a way of hooking its memory read/writes. As a last resort, and only when I have a partially working product, I'll try contacting the amdgpu developers (they have the unpublished chipset documentation) for a little help. |
Hi @Prash-bit I've created a new repo https://github.com/twifty/aura-gpu as a standalone module for your Vega card. When you get the time would you install and test. Please open a new issue over there so that we can continue testing. |
Ok, I will try it when I have time. |
Ok, so I finally got around to getting the i2c-dump from my card. I am really sorry that it took this long (more than a month even), but I finally got around to doing it. Here is what I got:
|
Thanks for going through the effort. The dump you have provided is for your motherboard and not for the GPU. If you still have access to AIDA64, watch this youtube video, it will show you how to get a dump of the GPU. https://www.youtube.com/watch?v=lVlV0u2QpNI You need to right click the bottom status bar in the window, select "video debug" the select "ATI SMBus". If the bottom status bar is not there, you might have to enable it in the "view" settings. Don't worry about the time. This is a project I do in my free time, so rushing to get things done is not really possible. |
Please put information about common installation process into README |
I tried the Ati smbus dump, but I don't think it worked. Here is the output, I will try it again later.
|
Hi, I would like to help with testing this on my ROG Strix Vega 56. How do I install it to see it to see if the card is supported?
The text was updated successfully, but these errors were encountered: