lights icon indicating copy to clipboard operation
lights copied to clipboard

Can I help test it on my vega card?

Open Adelaide-b opened this issue 5 years ago • 37 comments

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?

Adelaide-b avatar Oct 13 '19 12:10 Adelaide-b

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:

lspci -vnn | grep VGA -A 12

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 make gcc git and linux-headers.

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.

twifty avatar Oct 13 '19 16:10 twifty

Here's my output of that command:

	Subsystem: ASUSTeK Computer Inc. Vega 10 XL/XT [Radeon RX Vega 56/64] [1043:0555]
	Flags: bus master, fast devsel, latency 0, IRQ 78
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=2M]
	I/O ports at e000 [size=256]
	Memory at fca00000 (32-bit, non-prefetchable) [size=512K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

1e:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64] [1002:aaf8]

And I do have make, gcc and git installed. I can't find linux-headers, I do have linux-api-headers installed though.

Adelaide-b avatar Oct 15 '19 13:10 Adelaide-b

What is your linux version?

uname -r

twifty avatar Oct 15 '19 13:10 twifty

The output of that command is: 4.19.69-1-MANJARO

Adelaide-b avatar Oct 15 '19 13:10 Adelaide-b

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

sudo pacman -Syuu
sudo pacman -S linux419-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.

twifty avatar Oct 15 '19 13:10 twifty

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.

Adelaide-b avatar Oct 15 '19 13:10 Adelaide-b

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).

mkdir github
cd github
git clone https://github.com/twifty/lights.git
cd lights
make install

The above will create a directory in your home folder ~/github/lights/build/ containing two kernel modules. The modules will be temporarily installed. They will be removed when you reboot. Please post the output of make install.

twifty avatar Oct 15 '19 13:10 twifty

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 make install: mkdir -p build make -C adapter all make[1]: Entering directory '/home/prash/github/lights/adapter' make -C /lib/modules/4.19.69-1-MANJARO/build M=/home/prash/github/lights/adapter modules EXTRA_CFLAGS="-g -DDEBUG" make[2]: Entering directory '/usr/lib/modules/4.19.69-1-MANJARO/build' make[2]: *** No rule to make target 'modules'. Stop. make[2]: Leaving directory '/usr/lib/modules/4.19.69-1-MANJARO/build' make[1]: *** [Makefile:13: all] Error 2 make[1]: Leaving directory '/home/prash/github/lights/adapter' make: *** [Makefile:10: adapter] Error 2 I have no idea how to put the code in such a nice block like you did above...

Adelaide-b avatar Oct 15 '19 13:10 Adelaide-b

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.

twifty avatar Oct 15 '19 13:10 twifty

Hmm ok. Sadly my PC doesn't boot into the login screen; I think I will make a post on the manjaro forums.

Adelaide-b avatar Oct 15 '19 14:10 Adelaide-b

OK. Let's fix that issue first. Make a new post on the forums, I'll follow over there.

twifty avatar Oct 15 '19 14:10 twifty

Here is the link to the thread: https://forum.manjaro.org/t/pc-wont-boot-after-updating/107438

Adelaide-b avatar Oct 15 '19 14:10 Adelaide-b

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).

mkdir github
cd github
git clone https://github.com/twifty/lights.git
cd lights
make install

The above will create a directory in your home folder ~/github/lights/build/ containing two kernel modules. The modules will be temporarily installed. They will be removed when you reboot. Please post the output of make install.

So I did this again and the output of make install is now the following:

[prash@Nuru lights]$ make install
for module in aura; do \
	sudo rmmod $module.ko || true; \
done
[sudo] password for prash: 
rmmod: ERROR: Module aura is not currently loaded
sudo rmmod build/lights.ko || true;
rmmod: ERROR: Module build/lights is not currently loaded
if [[ ! -d build ]]; \
	then make build; \
fi
make[1]: Entering directory '/home/prash/github/lights'
mkdir -p build
make -C adapter all
make[2]: Entering directory '/home/prash/github/lights/adapter'
make -C /lib/modules/5.4.0-1-MANJARO/build M=/home/prash/github/lights/adapter modules EXTRA_CFLAGS="-g -DDEBUG"
make[3]: Entering directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
make[3]: *** No rule to make target 'modules'.  Stop.
make[3]: Leaving directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
make[2]: *** [Makefile:13: all] Error 2
make[2]: Leaving directory '/home/prash/github/lights/adapter'
make[1]: *** [Makefile:10: adapter] Error 2
make[1]: Leaving directory '/home/prash/github/lights'
make: *** [Makefile:27: install] Error 2

Adelaide-b avatar Oct 22 '19 21:10 Adelaide-b

Did you install the linux headers for the 5.4 kernel?

sudo pacman -S linux54-headers

twifty avatar Oct 22 '19 22:10 twifty

So I just did that and now I get a different output for make install, which is like this:

[prash@Nuru lights]$ make install
for module in aura; do \
	sudo rmmod $module.ko || true; \
done
[sudo] password for prash: 
rmmod: ERROR: Module aura is not currently loaded
sudo rmmod build/lights.ko || true;
rmmod: ERROR: Module build/lights is not currently loaded
if [[ ! -d build ]]; \
	then make build; \
fi
make[1]: Entering directory '/home/prash/github/lights'
mkdir -p build
make -C adapter all
make[2]: Entering directory '/home/prash/github/lights/adapter'
make -C /lib/modules/5.4.0-1-MANJARO/build M=/home/prash/github/lights/adapter modules EXTRA_CFLAGS="-g -DDEBUG"
make[3]: Entering directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
  CC [M]  /home/prash/github/lights/adapter/lights-adapter.o
  LD [M]  /home/prash/github/lights/adapter/lights.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: module lights uses symbol module_layout from namespace /adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol cdev_del from namespace ights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol kmalloc_caches from namespace adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __kmalloc from namespace ghts/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol cdev_init from namespace ghts/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol _raw_spin_unlock from namespace apter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol strlen from namespace /lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __warn_printk from namespace /adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __dynamic_pr_debug from namespace ter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol device_destroy from namespace adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol mutex_unlock from namespace s/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol unregister_chrdev_region from namespace ghts-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __get_user_1 from namespace s/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol sprintf from namespace lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol strcmp from namespace /lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol _copy_to_user from namespace /adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol param_ops_charp from namespace dapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol device_register from namespace dapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol current_task from namespace s/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol printk from namespace /lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol strncpy from namespace lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol strncmp from namespace lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol mutex_lock from namespace hts/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol device_create from namespace /adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol find_first_zero_bit from namespace er/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol cdev_add from namespace ights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __x86_indirect_thunk_rdx from namespace ghts-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __stack_chk_fail from namespace apter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __x86_indirect_thunk_rax from namespace ghts-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __fentry__ from namespace hts/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol kmem_cache_alloc_trace from namespace lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol _raw_spin_lock from namespace adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol kfree from namespace b/lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol memcpy from namespace /lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol class_destroy from namespace /adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol device_unregister from namespace pter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol snprintf from namespace ights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol dev_set_name from namespace s/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol strim from namespace b/lights/adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __x86_indirect_thunk_rbp from namespace ghts-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol _copy_from_user from namespace dapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __class_create from namespace adapter/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol __check_object_size from namespace er/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
WARNING: module lights uses symbol alloc_chrdev_region from namespace er/lights-adapter.o: $(deps_/home/prash/github/lights/adapter/lights-adapter.o), but does not import it.
  CC [M]  /home/prash/github/lights/adapter/lights.mod.o
  LD [M]  /home/prash/github/lights/adapter/lights.ko
make[3]: Leaving directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
rm -rf *.o *~ core .depend .*.cmd *.mod.c .tmp_versions *.order
make[2]: Leaving directory '/home/prash/github/lights/adapter'
mv adapter/lights.ko build/lights.ko
make -C aura all
make[2]: Entering directory '/home/prash/github/lights/aura'
make -C /lib/modules/5.4.0-1-MANJARO/build M=/home/prash/github/lights/aura modules EXTRA_CFLAGS="-g -DDEBUG"
make[3]: Entering directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
  CC [M]  /home/prash/github/lights/aura/aura-module.o
  CC [M]  /home/prash/github/lights/aura/trait/aura-controller.o
  CC [M]  /home/prash/github/lights/aura/trait/async.o
  CC [M]  /home/prash/github/lights/aura/memory/aura-memory.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-smbus-piix4.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-smbus-nuvoton.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-motherboard.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-polaris.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-vega.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-navi.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu-reg.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu-i2c.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu.o
  CC [M]  /home/prash/github/lights/aura/header/usb-transfer.o
  CC [M]  /home/prash/github/lights/aura/header/usb-driver.o
  CC [M]  /home/prash/github/lights/aura/header/aura-header.o
/home/prash/github/lights/aura/header/aura-header.c:1074:16: warning: ‘aura_header_speed_update’ defined but not used [-Wunused-function]
 1074 | static error_t aura_header_speed_update (
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/prash/github/lights/aura/header/aura-header.c:117:34: warning: ‘get_lights_mode’ defined but not used [-Wunused-function]
  117 | static const struct lights_mode *get_lights_mode (
      |                                  ^~~~~~~~~~~~~~~
  LD [M]  /home/prash/github/lights/aura/aura.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: module aura uses symbol module_layout from namespace /aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __request_region from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol kmalloc_caches from namespace aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __kmalloc from namespace ghts/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol msleep from namespace /lights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _raw_spin_unlock from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_smbus_read_byte_data from namespace r/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol autoremove_wake_function from namespace r/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_smbus_write_word_data from namespace /aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol pci_match_id from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_smbus_write_byte_data from namespace /aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol acpi_check_region from namespace a/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_transfer from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_kill_urb from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_deregister_dev from namespace /header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __dynamic_pr_debug from namespace /header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_for_each_dev from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __const_udelay from namespace aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol mutex_unlock from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __preempt_count from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol ex_handler_refcount from namespace header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol pv_ops from namespace /lights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_add_adapter from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __init_waitqueue_head from namespace ader/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_smbus_read_word_data from namespace r/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol param_ops_charp from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol misc_register from namespace /aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _dev_warn from namespace ghts/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol ioport_resource from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol param_ops_short from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _raw_spin_unlock_irqrestore from namespace ura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol current_task from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_deregister from namespace aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol mutex_lock_interruptible from namespace r/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol lights_read_mode from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __mutex_init from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol printk from namespace /lights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_register_dev from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _raw_spin_unlock_irq from namespace eader/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol lights_read_speed from namespace a/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol mutex_lock from namespace hts/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol destroy_workqueue from namespace a/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol lights_device_register from namespace der/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol lights_get_state from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _dev_err from namespace ights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol lights_read_color from namespace a/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol init_wait_entry from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol find_first_zero_bit from namespace header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_adapter_type from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol print_hex_dump from namespace aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_del_adapter from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _dev_info from namespace ghts/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_submit_urb from namespace aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_smbus_write_block_data from namespace aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol i2c_smbus_read_block_data from namespace /aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol ioremap_nocache from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usleep_range from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __stack_chk_fail from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol schedule from namespace ights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol schedule_timeout from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol kmalloc_order_trace from namespace header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _raw_spin_lock_irq from namespace /header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __x86_indirect_thunk_rax from namespace r/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_find_common_endpoints from namespace /aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __fentry__ from namespace hts/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __release_region from namespace ra/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol kmem_cache_alloc_trace from namespace der/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _raw_spin_lock from namespace aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __dynamic_dev_dbg from namespace a/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol _raw_spin_lock_irqsave from namespace der/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __wake_up from namespace ghts/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol prepare_to_wait_event from namespace ader/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol kfree from namespace b/lights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol prepare_to_wait from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol param_array_ops from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol iounmap from namespace lights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol lights_create_file from namespace /header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_register_driver from namespace header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol pci_get_device from namespace aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol finish_wait from namespace ts/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol queue_work_on from namespace /aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol snprintf from namespace ights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol lights_device_unregister from namespace r/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_free_urb from namespace s/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol alloc_workqueue from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol misc_deregister from namespace ura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol __udelay from namespace ights/aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
WARNING: module aura uses symbol usb_alloc_urb from namespace /aura/header/aura-header.o: $(deps_/home/prash/github/lights/aura/header/aura-header.o), but does not import it.
  CC [M]  /home/prash/github/lights/aura/aura.mod.o
  LD [M]  /home/prash/github/lights/aura/aura.ko
make[3]: Leaving directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
rm -rf *.o *~ core .depend .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory '/home/prash/github/lights/aura'
mv aura/aura.ko build/aura.ko
make[1]: Leaving directory '/home/prash/github/lights'
sudo insmod build/lights.ko;
for module in aura; do \
	sudo insmod build/$module.ko; \
done

I hope it is useful..

Adelaide-b avatar Oct 23 '19 12:10 Adelaide-b

Hmm, I have never seen those warnings before. A quick google search tells me that the format of Module.symvers has changed. This was introduced with kernel 5.4.

I don't know yet if this is something I can fix within my code or if its a problem within make itself.

Give me some time to look into it. I'll post an update as soon as I find anything.

twifty avatar Oct 23 '19 13:10 twifty

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 insmod returning an "invalid module format" error.

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.

sudo pacman -S linux419-headers
cd ~/github/lights
make clean
git pull         # this will download new version without downloading everything
make install KERNEL=4.19

twifty avatar Oct 23 '19 18:10 twifty

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.

twifty avatar Oct 23 '19 19:10 twifty

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 cd github/lights and make install, here is the output:

[prash@Nuru github]$ cd lights
[prash@Nuru lights]$ make install
for module in aura; do \
	sudo rmmod $module.ko || true; \
done
[sudo] password for prash: 
rmmod: ERROR: Module aura is not currently loaded
sudo rmmod build/lights.ko || true;
rmmod: ERROR: Module lights is not currently loaded
if [[ ! -d build ]]; \
	then make build; \
fi
sudo insmod build/lights.ko;
insmod: ERROR: could not insert module build/lights.ko: Invalid parameters
make: *** [Makefile:28: install] Error 1```

Adelaide-b avatar Nov 04 '19 07:11 Adelaide-b

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 insmod returning an "invalid module format" error.

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.

sudo pacman -S linux419-headers
cd ~/github/lights
make clean
git pull         # this will download new version without downloading everything
make install KERNEL=4.19

I also tried this, and here is the output:

for module in aura; do \
	sudo rmmod $module.ko || true; \
done
rmmod: ERROR: Module aura is not currently loaded
sudo rmmod build/lights.ko || true;
rmmod: ERROR: Module build/lights is not currently loaded
if [[ ! -d build ]]; \
	then make build; \
fi
make[1]: Entering directory '/home/prash/github/lights'
mkdir -p build
make -C adapter all
make[2]: Entering directory '/home/prash/github/lights/adapter'
make -C /lib/modules/4.19.80-1-MANJARO/build M=/home/prash/github/lights/adapter modules EXTRA_CFLAGS="-g -DDEBUG"
make[3]: Entering directory '/usr/lib/modules/4.19.80-1-MANJARO/build'
  CC [M]  /home/prash/github/lights/adapter/lights-adapter.o
  LD [M]  /home/prash/github/lights/adapter/lights.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/prash/github/lights/adapter/lights.mod.o
  LD [M]  /home/prash/github/lights/adapter/lights.ko
make[3]: Leaving directory '/usr/lib/modules/4.19.80-1-MANJARO/build'
# rm -rf *.o .*.o.d *~ core .depend .*.cmd *.mod *.mod.c .tmp_versions *.order
make[2]: Leaving directory '/home/prash/github/lights/adapter'
mv adapter/lights.ko build/lights.ko
make -C aura all
make[2]: Entering directory '/home/prash/github/lights/aura'
make -C /lib/modules/4.19.80-1-MANJARO/build M=/home/prash/github/lights/aura modules EXTRA_CFLAGS="-g -DDEBUG"
make[3]: Entering directory '/usr/lib/modules/4.19.80-1-MANJARO/build'
  CC [M]  /home/prash/github/lights/aura/aura-module.o
  CC [M]  /home/prash/github/lights/aura/trait/aura-controller.o
  CC [M]  /home/prash/github/lights/aura/trait/async.o
  CC [M]  /home/prash/github/lights/aura/memory/aura-memory.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-smbus-piix4.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-smbus-nuvoton.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-motherboard.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-polaris.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-vega.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-navi.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu-reg.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu-i2c.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu.o
  CC [M]  /home/prash/github/lights/aura/header/usb-transfer.o
  CC [M]  /home/prash/github/lights/aura/header/usb-driver.o
  CC [M]  /home/prash/github/lights/aura/header/aura-header.o
/home/prash/github/lights/aura/header/aura-header.c:1074:16: warning: ‘aura_header_speed_update’ defined but not used [-Wunused-function]
 1074 | static error_t aura_header_speed_update (
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/prash/github/lights/aura/header/aura-header.c:117:34: warning: ‘get_lights_mode’ defined but not used [-Wunused-function]
  117 | static const struct lights_mode *get_lights_mode (
      |                                  ^~~~~~~~~~~~~~~
  LD [M]  /home/prash/github/lights/aura/aura.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/prash/github/lights/aura/aura.mod.o
  LD [M]  /home/prash/github/lights/aura/aura.ko
make[3]: Leaving directory '/usr/lib/modules/4.19.80-1-MANJARO/build'
# rm -rf *.o *~ core .depend .*.cmd *.mod *.mod.c .tmp_versions
make[2]: Leaving directory '/home/prash/github/lights/aura'
mv aura/aura.ko build/aura.ko
make[1]: Leaving directory '/home/prash/github/lights'
sudo insmod build/lights.ko;
insmod: ERROR: could not insert module build/lights.ko: Invalid module format
make: *** [Makefile:34: install] Error 1```

Adelaide-b avatar Nov 04 '19 07:11 Adelaide-b

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 make clean then make install. If that fails (If "error" is on the last output line, don't worry about rmmod errors) then try deleting the lights directory and cloning it again.

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.

twifty avatar Nov 05 '19 03:11 twifty

I can understand, I am also quite busy. I ran make clean and then make install, here is the output, looks like it worked:

[prash@Nuru lights]$ make clean
make -C adapter clean;
make[1]: Entering directory '/home/prash/github/lights/adapter'
make -C /lib/modules/5.4.0-1-MANJARO/build M=/home/prash/github/lights/adapter clean
make[2]: Entering directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
  CLEAN   /home/prash/github/lights/adapter/Module.symvers
make[2]: Leaving directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
make[1]: Leaving directory '/home/prash/github/lights/adapter'
for dir in aura; do \
	make -C $dir clean; \
done
make[1]: Entering directory '/home/prash/github/lights/aura'
make -C /lib/modules/5.4.0-1-MANJARO/build M=/home/prash/github/lights/aura clean
make[2]: Entering directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
  CLEAN   /home/prash/github/lights/aura/Module.symvers
make[2]: Leaving directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
make[1]: Leaving directory '/home/prash/github/lights/aura'
rm -rf build


[prash@Nuru lights]$ make install
for module in aura; do \
	sudo rmmod $module.ko || true; \
done
[sudo] password for prash: 
rmmod: ERROR: Module aura is not currently loaded
sudo rmmod build/lights.ko || true;
rmmod: ERROR: Module build/lights is not currently loaded
if [[ ! -d build ]]; \
	then make build; \
fi
make[1]: Entering directory '/home/prash/github/lights'
mkdir -p build
make -C adapter all
make[2]: Entering directory '/home/prash/github/lights/adapter'
make -C /lib/modules/5.4.0-1-MANJARO/build M=/home/prash/github/lights/adapter modules EXTRA_CFLAGS="-g -DDEBUG"
make[3]: Entering directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
  CC [M]  /home/prash/github/lights/adapter/lights-adapter.o
  LD [M]  /home/prash/github/lights/adapter/lights.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC [M]  /home/prash/github/lights/adapter/lights.mod.o
  LD [M]  /home/prash/github/lights/adapter/lights.ko
make[3]: Leaving directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
# rm -rf *.o .*.o.d *~ core .depend .*.cmd *.mod *.mod.c .tmp_versions *.order
make[2]: Leaving directory '/home/prash/github/lights/adapter'
mv adapter/lights.ko build/lights.ko
make -C aura all
make[2]: Entering directory '/home/prash/github/lights/aura'
make -C /lib/modules/5.4.0-1-MANJARO/build M=/home/prash/github/lights/aura modules EXTRA_CFLAGS="-g -DDEBUG"
make[3]: Entering directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
  CC [M]  /home/prash/github/lights/aura/aura-module.o
  CC [M]  /home/prash/github/lights/aura/trait/aura-controller.o
  CC [M]  /home/prash/github/lights/aura/trait/async.o
  CC [M]  /home/prash/github/lights/aura/memory/aura-memory.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-smbus-piix4.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-smbus-nuvoton.o
  CC [M]  /home/prash/github/lights/aura/motherboard/aura-motherboard.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-polaris.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-vega.o
  CC [M]  /home/prash/github/lights/aura/gpu/asic/asic-navi.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu-reg.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu-i2c.o
  CC [M]  /home/prash/github/lights/aura/gpu/aura-gpu.o
  CC [M]  /home/prash/github/lights/aura/header/usb-transfer.o
  CC [M]  /home/prash/github/lights/aura/header/usb-driver.o
  CC [M]  /home/prash/github/lights/aura/header/aura-header.o
/home/prash/github/lights/aura/header/aura-header.c:1074:16: warning: ‘aura_header_speed_update’ defined but not used [-Wunused-function]
 1074 | static error_t aura_header_speed_update (
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/prash/github/lights/aura/header/aura-header.c:117:34: warning: ‘get_lights_mode’ defined but not used [-Wunused-function]
  117 | static const struct lights_mode *get_lights_mode (
      |                                  ^~~~~~~~~~~~~~~
  LD [M]  /home/prash/github/lights/aura/aura.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC [M]  /home/prash/github/lights/aura/aura.mod.o
  LD [M]  /home/prash/github/lights/aura/aura.ko
make[3]: Leaving directory '/usr/lib/modules/5.4.0-1-MANJARO/build'
# rm -rf *.o *~ core .depend .*.cmd *.mod *.mod.c .tmp_versions
make[2]: Leaving directory '/home/prash/github/lights/aura'
mv aura/aura.ko build/aura.ko
make[1]: Leaving directory '/home/prash/github/lights'
sudo insmod build/lights.ko;
for module in aura; do \
	sudo insmod build/$module.ko; \
done

Adelaide-b avatar Nov 06 '19 09:11 Adelaide-b

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 make install each time (but it'll be faster now that they're built).

If you look inside your /dev/lights directory you should see a folder called 'gpu'. The two main files you want are 'mode' and 'color'.

To make changes, you need to be root.

sudo su

The aura gpu has 5 effects:

off
static
breathing
flashing
cycle

To change between them:

echo "cycle" > /dev/lights/gpu/mode

To change colors, you need to use an RGB hex code:

echo 0x00FF00 > /dev/lights/gpu/color

twifty avatar Nov 07 '19 15:11 twifty

[prash@Nuru ~]$ cd ~/github/lights
[prash@Nuru lights]$ make install
for module in aura; do \
	sudo rmmod $module.ko || true; \
done
[sudo] password for prash: 
rmmod: ERROR: Module aura is not currently loaded
sudo rmmod build/lights.ko || true;
rmmod: ERROR: Module lights is not currently loaded
if [[ ! -d build ]]; \
	then make build; \
fi
sudo insmod build/lights.ko;
for module in aura; do \
	sudo insmod build/$module.ko; \
done
[prash@Nuru lights]$ sudo su
[Nuru lights]# off
bash: off: command not found
[Nuru lights]# echo "cycle" > /dev/lights/gpu/mode
bash: /dev/lights/gpu/mode: No such file or directory
[Nuru lights]# echo 0x00FF00 > /dev/lights/gpu/color
bash: /dev/lights/gpu/color: No such file or directory
[Nuru lights]# echo "cycle" > /dev/lights/all/mode
bash: echo: write error: No such file or directory
[Nuru lights]# echo 0x00FF00 > /dev/lights/all/color

As you can see in the screenshot below I couldn't find a folder named gpu in /dev/lights, the three files in /dev/lights/all are empty (color mode and speed): Screenshot from 2019-11-07 18-06-36 Screenshot from 2019-11-07 18-09-23

Adelaide-b avatar Nov 07 '19 17:11 Adelaide-b

Hmm, Your card hasn't been detected. Is there anything in your logs?

sudo dmesg | tail -n 200

twifty avatar Nov 07 '19 17:11 twifty

Here's what is outputted:

[prash@Nuru ~]$ sudo dmesg | tail -n 200
[sudo] password for prash: 
[  133.260434] audit: type=1006 audit(1573127636.686:45): pid=1216 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1
[  133.271963] audit: type=1130 audit(1573127636.699:46): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  133.275349] audit: type=1006 audit(1573127636.702:47): pid=1224 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
[  133.308706] audit: type=1130 audit(1573127636.736:48): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  133.320271] audit: type=1112 audit(1573127636.746:49): pid=1216 uid=0 auid=1000 ses=2 msg='uid=1000 exe="/usr/lib/gdm-session-worker" hostname=? addr=? terminal=? res=success'
[  134.913525] audit: type=1130 audit(1573127638.339:50): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  135.001698] audit: type=1130 audit(1573127638.429:51): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  135.807860] audit: type=1130 audit(1573127639.236:52): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  135.815941] audit: type=1130 audit(1573127639.242:53): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  158.065115] audit: type=1131 audit(1573127661.496:54): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  165.862401] audit: type=1131 audit(1573127669.292:55): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  165.865235] audit: type=1131 audit(1573127669.292:56): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  195.068065] audit: type=1131 audit(1573127698.496:57): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  610.478174] audit: type=1130 audit(1573128113.906:58): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  640.505133] audit: type=1131 audit(1573128143.932:59): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  902.218118] audit: type=1130 audit(1573128405.646:60): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  902.218122] audit: type=1131 audit(1573128405.646:61): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 4908.914797] audit: type=1130 audit(1573132412.343:62): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 4941.100974] audit: type=1131 audit(1573132444.529:63): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 7823.884832] audit: type=1130 audit(1573135327.313:64): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 7854.064677] audit: type=1131 audit(1573135357.493:65): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 9320.090815] audit: type=1130 audit(1573136823.519:66): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 9350.082884] audit: type=1131 audit(1573136853.513:67): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[11317.150966] audit: type=1130 audit(1573138820.579:68): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[11351.745874] audit: type=1131 audit(1573138855.176:69): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[12281.368758] audit: type=1130 audit(1573139784.800:70): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[12299.980501] audit: type=1130 audit(1573139803.410:71): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=pamac-mirrorlist comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[12299.980504] audit: type=1131 audit(1573139803.410:72): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=pamac-mirrorlist comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[15458.838516] audit: type=1130 audit(1573142962.270:73): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[15532.856875] audit: type=1131 audit(1573143036.286:74): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18207.430409] audit: type=1130 audit(1573145710.860:75): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18238.079847] audit: type=1131 audit(1573145741.510:76): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18429.555434] audit: type=1130 audit(1573145932.986:77): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18459.602185] audit: type=1131 audit(1573145963.033:78): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18564.640474] audit: type=1130 audit(1573146068.070:79): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18595.089026] audit: type=1131 audit(1573146098.520:80): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18664.033719] audit: type=1130 audit(1573146167.463:81): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18669.483734] lights: loading out-of-tree module taints kernel.
[18669.483765] lights: module verification failed: signature and/or required key missing - tainting kernel
[18669.484163] lights: created interface 'all'
[18669.484200] lights: created device '/dev/lights/all/color'
[18669.484222] lights: created device '/dev/lights/all/mode'
[18669.484243] lights: created device '/dev/lights/all/speed'
[18669.617216] misc aura: Auxiliary SMBus Host Controller at 0xb20
[18669.617584] i2c i2c-9: Error: no response!
[18669.617918] i2c i2c-9: Error: no response!
[18669.618000] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x50
[18669.619177] misc aura: Failed to read SPD type
[18669.619178] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x51
[18669.620355] misc aura: Failed to read SPD type
[18669.620355] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x52
[18669.622129] misc aura: Calculating size from type=0x0c size=0x23
[18669.622130] misc aura: Detected DIMM slot=2 addr=0x52 type=0x0c size=0x0200
[18669.622131] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x53
[18669.623903] misc aura: Calculating size from type=0x0c size=0x23
[18669.623904] misc aura: Detected DIMM slot=3 addr=0x53 type=0x0c size=0x0200
[18669.623905] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x54
[18669.625084] misc aura: Failed to read SPD type
[18669.625085] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x55
[18669.626261] misc aura: Failed to read SPD type
[18669.626262] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x56
[18669.627826] misc aura: Failed to read SPD type
[18669.627827] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x57
[18669.629003] misc aura: Failed to read SPD type
[18669.629004] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x58
[18669.630180] misc aura: Failed to read SPD type
[18669.630181] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x59
[18669.631238] misc aura: Failed to read SPD type
[18669.631239] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x5a
[18669.632415] misc aura: Failed to read SPD type
[18669.632416] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x5b
[18669.633592] misc aura: Failed to read SPD type
[18669.633592] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x5c
[18669.635078] misc aura: Failed to read SPD type
[18669.635079] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x5d
[18669.636256] misc aura: Failed to read SPD type
[18669.636257] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x5e
[18669.637825] misc aura: Failed to read SPD type
[18669.637826] misc aura: Pinging SMBus PIIX4 adapter port 0 at 0b00 address 0x5f
[18669.639002] misc aura: Failed to read SPD type
[18669.639003] misc aura: Selecting page 1 for all DIMMs
[18669.641754] misc aura: Found RGB triplet: 0x00 0x00 0x00
[18669.641755] misc aura: Selecting page 0 for all DIMMs
[18669.642346] misc aura: Selecting page 1 for all DIMMs
[18669.645088] misc aura: Found RGB triplet: 0x00 0x00 0x00
[18669.645089] misc aura: Selecting page 0 for all DIMMs
[18669.645680] misc aura: Pinging SMBus PIIX4 adapter port 2 at 0b00 address 0x50
[18669.646276] misc aura: Pinging AMDGPU DM i2c hw bus 0 address 0x50
[18669.667255] misc aura: Pinging dmdc address 0x50
[18669.667618] misc aura: Failed to read SPD type
[18669.667618] misc aura: Pinging dmdc address 0x51
[18669.667987] misc aura: Failed to read SPD type
[18669.667988] misc aura: Pinging dmdc address 0x52
[18669.668357] misc aura: Failed to read SPD type
[18669.668358] misc aura: Pinging dmdc address 0x53
[18669.668726] misc aura: Failed to read SPD type
[18669.668727] misc aura: Pinging dmdc address 0x54
[18669.669096] misc aura: Failed to read SPD type
[18669.669097] misc aura: Pinging dmdc address 0x55
[18669.669466] misc aura: Failed to read SPD type
[18669.669466] misc aura: Pinging dmdc address 0x56
[18669.669835] misc aura: Failed to read SPD type
[18669.669836] misc aura: Pinging dmdc address 0x57
[18669.670205] misc aura: Failed to read SPD type
[18669.670205] misc aura: Pinging dmdc address 0x58
[18669.670574] misc aura: Failed to read SPD type
[18669.670575] misc aura: Pinging dmdc address 0x59
[18669.670947] misc aura: Failed to read SPD type
[18669.670948] misc aura: Pinging dmdc address 0x5a
[18669.671318] misc aura: Failed to read SPD type
[18669.671319] misc aura: Pinging dmdc address 0x5b
[18669.671688] misc aura: Failed to read SPD type
[18669.671689] misc aura: Pinging dmdc address 0x5c
[18669.672059] misc aura: Failed to read SPD type
[18669.672060] misc aura: Pinging dmdc address 0x5d
[18669.672430] misc aura: Failed to read SPD type
[18669.672431] misc aura: Pinging dmdc address 0x5e
[18669.672801] misc aura: Failed to read SPD type
[18669.672801] misc aura: Pinging dmdc address 0x5f
[18669.673170] misc aura: Failed to read SPD type
[18669.673171] misc aura: Pinging AMDGPU DM i2c hw bus 1 address 0x50
[18669.693581] misc aura: Pinging dmdc address 0x50
[18669.693954] misc aura: Failed to read SPD type
[18669.693954] misc aura: Pinging dmdc address 0x51
[18669.694325] misc aura: Failed to read SPD type
[18669.694325] misc aura: Pinging dmdc address 0x52
[18669.694695] misc aura: Failed to read SPD type
[18669.694695] misc aura: Pinging dmdc address 0x53
[18669.695065] misc aura: Failed to read SPD type
[18669.695065] misc aura: Pinging dmdc address 0x54
[18669.695434] misc aura: Failed to read SPD type
[18669.695435] misc aura: Pinging dmdc address 0x55
[18669.695804] misc aura: Failed to read SPD type
[18669.695805] misc aura: Pinging dmdc address 0x56
[18669.696173] misc aura: Failed to read SPD type
[18669.696174] misc aura: Pinging dmdc address 0x57
[18669.696531] misc aura: Failed to read SPD type
[18669.696532] misc aura: Pinging dmdc address 0x58
[18669.696901] misc aura: Failed to read SPD type
[18669.696901] misc aura: Pinging dmdc address 0x59
[18669.697271] misc aura: Failed to read SPD type
[18669.697271] misc aura: Pinging dmdc address 0x5a
[18669.697646] misc aura: Failed to read SPD type
[18669.697646] misc aura: Pinging dmdc address 0x5b
[18669.698017] misc aura: Failed to read SPD type
[18669.698017] misc aura: Pinging dmdc address 0x5c
[18669.698388] misc aura: Failed to read SPD type
[18669.698388] misc aura: Pinging dmdc address 0x5d
[18669.698759] misc aura: Failed to read SPD type
[18669.698760] misc aura: Pinging dmdc address 0x5e
[18669.699130] misc aura: Failed to read SPD type
[18669.699130] misc aura: Pinging dmdc address 0x5f
[18669.699499] misc aura: Failed to read SPD type
[18669.699500] misc aura: Pinging AMDGPU DM i2c hw bus 2 address 0x50
[18669.699675] misc aura: Pinging AMDGPU DM i2c hw bus 3 address 0x50
[18669.699850] misc aura: Pinging AMDGPU DM i2c hw bus 4 address 0x50
[18669.700023] misc aura: Failed to read offset 0x20 on address 0x29: -95
[18669.700024] misc aura: Failed to read offset 0x20 on address 0x2a: -95
[18669.700025] misc aura: Failed to read offset 0x20 on address 0x60: -95
[18669.700026] misc aura: Failed to read offset 0x20 on address 0x29: -95
[18669.700026] misc aura: Failed to read offset 0x20 on address 0x2a: -95
[18669.700027] misc aura: Failed to read offset 0x20 on address 0x60: -95
[18669.722626] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.745222] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.767257] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.767447] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.767658] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.767858] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.790456] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.813049] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.835642] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.835854] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.836065] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.836276] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.836455] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.836634] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.836813] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.836992] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.837170] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.837349] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.837528] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.837704] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.837883] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.837891] misc aura: Creating adapter for GPU 1043:555
[18669.837909] misc aura: Mapped ports at base=0x        fca00000, size=0x           80000 to 000000002ed0726a
[18669.848975] misc aura: Failed to read offset 0x20 on address 0x29: -5
[18669.860001] misc aura: Failed to read offset 0x20 on address 0x2a: -5
[18669.871027] misc aura: Failed to read offset 0x20 on address 0x60: -5
[18669.871042] misc aura: Unmapping mm data
[18669.871062] usbcore: registered new interface driver aura-mb-headers
[18669.871064] misc aura: Expected exactly 1 USB controller, got: 0
[18669.871064] usbcore: deregistering interface driver aura-mb-headers
[18694.064364] audit: type=1131 audit(1573146197.496:82): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18893.825789] audit: type=1130 audit(1573146397.256:83): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18923.872109] audit: type=1131 audit(1573146427.303:84): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18925.120739] audit: type=1130 audit(1573146428.553:85): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18955.168697] audit: type=1131 audit(1573146458.600:86): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[19060.274806] audit: type=1130 audit(1573146563.706:87): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[19090.322119] audit: type=1131 audit(1573146593.753:88): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[20092.332803] audit: type=1130 audit(1573147595.763:89): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Adelaide-b avatar Nov 07 '19 17:11 Adelaide-b

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?

twifty avatar Nov 07 '19 17:11 twifty

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.

Adelaide-b avatar Nov 07 '19 17:11 Adelaide-b

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.

https://www.youtube.com/watch?v=lVlV0u2QpNI

twifty avatar Nov 07 '19 17:11 twifty

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?

Adelaide-b avatar Nov 10 '19 12:11 Adelaide-b