Skip to content
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't install using makefile in manjaro kde #37

Open
silentbirdie opened this issue Nov 19, 2015 · 97 comments
Open

can't install using makefile in manjaro kde #37

silentbirdie opened this issue Nov 19, 2015 · 97 comments

Comments

@silentbirdie
Copy link

here is the output of the comand:

::\033[32m COMPILING librazer_chroma.so\033[0m
================================
::\033[32m COMPILING librazer_chroma.so [DEBUG]\033[0m
========================================
::\033[32m COMPILING razer_bcd [SHARED]\033[0m
================================
::\033[32m COMPILING razer_bcd daemon\033[0m
==============================
::\033[32m COMPILING razer_bcd daemon [DEBUG]\033[0m
======================================
/usr/bin/ld: cannot find -lrazer_chroma_debug
collect2: error: ld returned 1 exit status
Makefile:34: recipe for target 'daemon_debug' failed
make[1]: *** [daemon_debug] Error 1
Makefile:26: recipe for target 'razer_daemon' failed
make: *** [razer_daemon] Error 2
@terricain
Copy link
Contributor

Haven't tried compiling it on Fedora Manjaro but I'm sure some alterations will be needed. Give me a day or two to whip up a test vm and ill look into it

@silentbirdie
Copy link
Author

Thanks! It's the kde edition of manjaro

@BenoitMartin2
Copy link

Hi, same to me. I can't install it on Manjaro (xfce). Thanks for your kind help mate!
Even tried this => http://pollonamid.de/index.php/en/my-devices/computer/90-how-to-get-the-razer-blackwidow-chroma-backlight-to-work-with-linux
But couldn't make it.

@pablomenino
Copy link

I have the same problem on Fedora 23.

gcc -L../lib -rdynamic razer_daemon.do razer_daemon_dbus.do razer_daemon_effects.do razer_daemon_libraries.do razer_daemon_parameters.do razer_daemon_render_nodes.do razer_daemon_types.do -lrazer_chroma_debug -lm -ldl -o razer_bcd_debug_shared

/usr/bin/ld: cannot find -lrazer_chroma_debug

log.txt

@terricain
Copy link
Contributor

There is a issue with the command in the lib/Makefile (and the others that use LIBDBUS) which doesn't set the LIBDBUS flag. Ensure you have dbus headers installed. Also you'll also need the kernel-headers installed for the kernel your running (aka output of uname -a)

I have a pull request which fixes the command which should then work for arch. This commit openrazer/openrazer@32f607a contains the differences you need to get the Makefiles to work.

Also I'm not expecting make install to work. Someone will need to package things for arch and make sure files go in the right place etc... Once the driver is installed (do it manually) you can test some stuff manually by echoing stuff to the device driver files.

@terricain
Copy link
Contributor

BenoitMartin2. Dont post massive errors in pull requests, its just annoying.

What files are in the lib folder after you typed make

@BenoitMartin2
Copy link

Next time I'll use a paste, sry.
Here are the files in /lib => http://imgur.com/z23g32x

@terricain
Copy link
Contributor

Thanks. cd into the daemon_controller and run make, what does that output + what files are there in there

@BenoitMartin2
Copy link

Same :/
Complete output: http://pastebin.archlinux.fr/1746199

@flennic
Copy link

flennic commented Nov 28, 2015

Hi folks,

I did the changes to the makefiles but I still get the same problem:

http://pastebin.com/nq61YKj5
chown: cannot access ‘/etc/init.d/razer_bcd’: Not a directory

I am not sure if it'd help if I create that directory before doing make?

@terrycain Can you give a small introduction how to start the driver and how to echo stuff to it (if it finishes compiling one day :-)). And again, if there is anyhting to help, just let me know. I really appreciate all the hard work!

@BenoitMartin2
I don't speak/read french, but collect2: erreur: ld a retourné 1 code d'état d'exécution looks like an error I had before. As far as I remember you're missing some packages. Make sure you got all you need. I don't know which on it was, try: sdl, sdl2, sdl_image, sdl2_image, dbus-glib, glib2

Thanks!

Edit: As far as I can understand the problem is that the makefile tries to create a deamon with use of SysV but Arch based ditros only have systemd available. So the init script must be adjusted. Have a look here:
http://0pointer.de/blog/projects/systemd-for-admins-3.html
I'm not sure if I am right about this. Can someone with a little bit more knowledge give advice?

@terricain
Copy link
Contributor

@BenoitMartin2 make sure you have all the libraries installed as @Fennic said. Otherwise im not sure whats wrong.

@flennic make install wont work on arch, its designed for debian. There is a daemon start script in install_files/init.d/razer_bcd_debian. It wont work out of the box but what it essentially does is unbinds the chroma from the generic-hid driver and binds it to our driver and then starts the daemon.

@flennic
Copy link

flennic commented Nov 28, 2015

Just do be curious: I executed ./activate_driver.sh and what I got is this:

Unbinding device (0003:1532:0203.0003) from hid-generic
Binding device (0003:1532:0203.0003) to razerkbd
Bind Successful

Which looks good in my eyes. If the deamon is running now, is there a way to to send commands to it like make all keys illuminated in blue or smth. like this?

@terricain
Copy link
Contributor

Unless my script is giving you false hope looks like the kernel driver is loaded.

Whats the output of ls /sys/bus/hid/drivers/razerkbd/?

Best make sure the driver is actually binded before trying other things

@flennic
Copy link

flennic commented Nov 28, 2015

Output is:

ls /sys/bus/hid/drivers/razerkbd/
0003:1532:0203.0003  bind  module  new_id  uevent  unbind

How to check if the driver is actually binded?

Hell I feel like a 4 years old kid asking all those questions but I have no idea how drivers work or how close/far I am from getting it to run. I also found a folder systemd with a razer_bcd.service file. Is it possilbe if I copy all needed files manually to the correct location that it could work?

@terricain
Copy link
Contributor

Run ls /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/
The fact that 0003:1532:0203.0003 is there means its binded but knowing the contents makes it easier to explain

That's fine it takes a while to tame the linux kernel and its many drivers.
Yes, essentially if you copy all the required files to the specific places then things will work. If you give me a few days Im starting to populate the wiki to document all of this. (And reduce the question ;) ).

The daemon still needs a lot of work but you can manually operate the driver (once again ill make a wiki page to say what data the device driver files accept).

@flennic
Copy link

flennic commented Nov 28, 2015

ls /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/
country  input       mode_breath  mode_reactive  mode_wave          reset           subsystem
driver   macro_keys  mode_custom  mode_spectrum  power              set_brightness  temp_clear_row
hidraw   modalias    mode_none    mode_static    report_descriptor  set_key_row     uevent

The Wiki idea sounds really good. I really appreciate all of your hard work, sadly I can't help you that much. If I get more into this after the Wiki is up, maybe I can do some work. We will see. Just letting you know that I am really thankful.

Another question is: The deamon that already exists, does it work the same way in ubuntu and arch or are there differences? Because you said it still needs a lot of work? I guess just one color-backlight would be awesome too :-)

Take your time to do this and if there is paperwork to do (Wiki or somethink where your could need help), just let me know!

@terricain
Copy link
Contributor

As sudo run this

echo "1" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_wave

"should" set the keyboard into wave mode.

The wiki should be good once I've done it. The daemon works well its just not very flexible at the moment. The only issue is the differences in the layout of the filesystems between ubuntu and arch, if everything is where the daemon expect it to be it should run.

@flennic
Copy link

flennic commented Nov 28, 2015

sudo echo "1" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_wave
bash: /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_wave: Permission denied

No idea why that is. Can't really change the 0 to 1 with vim either, says sync error and that the file has been modified since opening it.

One last question: I can see the ubuntu location for all of the files in the makefile. Do you have any idea where the files for systemd go? Like /etc/init.d/racer_bcd where I have to put that? Becasue as far as I can read the makefile is works well until the point where it's trying to create /etc/init.d/ files and symlinks.

If we get to the point where everything is working as intended (yeah I know :D), is it hard to make a pacman package for the AUR, do you have any idea how much work that is? But anyways, that's not on the list right now. But if I am bored, I am willing to try it. Could help a lot of people.

@terricain
Copy link
Contributor

Run it as root
sudo su
then the echo thing.

Once I get the wiki up and running ill document everything, then feel free to make an AUR package and update the documentation to getting it working on arch

@flennic
Copy link

flennic commented Nov 28, 2015

[root@pc razer_blackwidow_chroma_driver]# echo "1" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_wave

Works now, but nothing's happening :/

@terricain
Copy link
Contributor

What about

echo "1" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_spectrum

@flennic
Copy link

flennic commented Nov 29, 2015

echo "1" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_spectrum

Same behaviour. Works but nothing happens.

FYI: https://github.com/pollonamid/razer_blackwidow_chroma_driver_arch
I don't know if that helps. Seems like he fixed some things for newer kernels but I don't know if that has anything to do with systemd.

Edit:

echo -n -e "\x255\x255\x255" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_static

Makes the keys glow reall really low in white.

Edit2:

echo "255" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/set_brightness

Makes the keybord glow! 👍

Edit3:

echo -n -e "\x0\x0\x255" >  /sys/bus/hid/drivers/razerkbd/0003:1532:0203.0003/mode_static

This does not work, so no colors for the moment.

Edit4:

echo -n "1" > mode_wave

Worked, my keyboard looks like a rainbow now. Other modes seem to work too. The "-n" fixed things for me. Still I can't turn of some modes (e.g. my keyboard now slowly changes colors but I can't stop it. Tried echo -n "0" to all valid files, doesn't stop). But that is better than nothing working. So for now it looks like the core driver is working. So basically the daemon needs to be at the right place for systemd and the makefile should be adjusted for arch linux systems. It should also try to install missing dependencies with pacman. I'll try around more, maybe I can find the right places and put them into a makefile so that you can have a look at that. Cheers!

@terricain
Copy link
Contributor

Yeh the mode_static takes hexadecimal. \xFF\xFF\x0 should be yellow.

I'm going to write a page about the driver files. Then about what goes where on the filesystem and then about the daemon.

It "migh" just work if you run GIT_CHECKOUT/daemon/razer_bcd -fv GIT_CHECKOUT being the path to the folder you cloned. If it runs and doesn't exit straight away, start typing into a text editor and see if the daemon effect is working.

The wiki is getting there. Using driver page

@flennic
Copy link

flennic commented Nov 29, 2015

Hey there, hexadecimal works.

But therefore I have another strange thing: When I start my computer and booting into arch, the keyboard mode is set so spectrum. So somehow the driver is started instantly, even before decrypting my harddrive.
After booting I have to active the driver, so that the 0003:... file appears and after that I can sent instructions to the keyboard again. But I can't "disable" colors. What worked is setting static mode, but I was unable to stop the spectrum mode.

How can the keybord be illuminated even before the OS booted? I thought there is no daemon running? :-)

Thanks for the "Using driver page!"

@ghost
Copy link

ghost commented Nov 29, 2015

The keyboard illumination is at a hardware level, it'll turn on the
backlights as soon as its given power. Evidence of this is if you were to
use the keyboard in your bios, it would light up.
On Nov 29, 2015 12:24, "Maximilian Pfundstein" notifications@github.com
wrote:

Hey there, hexadecimal works.

But therefore I have another strange thing: When I start my computer and
booting into arch, the keyboard mode is set so spectrum. So somehow the
driver is started instantly, even before decrypting my harddrive.
After booting I have to active the driver, so that the 0003:... file
appears and after that I can sent instructions to the keyboard again. But I
can't "disable" colors. What worked is setting static mode, but I was
unable to stop the spectrum mode.

How can the keybord be illuminated even before the OS booted? I thought
there is no daemon running? :-)


Reply to this email directly or view it on GitHub
#37 (comment)
.

@flennic
Copy link

flennic commented Nov 29, 2015

Okay, seems like I do not fully understand how this works. After my PC starts, which part sends the data to the keyboard? You say it's on hardware level, so which hardware is doing that? As far as I know the keyboard itself is stupid (unlike Logitech's keyboards) and is not able to save any information itself.

Or is it possible it's still powered via USB and can keep the data that way?

@terricain
Copy link
Contributor

No the keyboard is not stupid. There are a few effects that the keyboard can perform itself, the driver only allows us to tell the keyboard "do this effect".

The keyboard knows how to do spectrum,wave,reactive,static,none and breathing effects

@ghost
Copy link

ghost commented Nov 29, 2015

I'm not real sure if the keyboard can save what backlighting mode to run,
but the LEDs will turn on as soon as they're given power. The
microcontroller in the keyboard must have a small amount of onboard memory
(either flash or RAM) to store backlighting profiles, otherwise you
wouldn't be able to use them at all.
On Nov 29, 2015 12:53, "Maximilian Pfundstein" notifications@github.com
wrote:

Okay, seems like I do not fully understand how this works. After my PC
starts, which part sends the data to the keyboard? You say it's on hardware
level, so which hardware is doing that? As far as I know the keyboard
itself is stupid (unlike Logitech's keyboards) and is not able to save any
inforamtion on itself.


Reply to this email directly or view it on GitHub
#37 (comment)
.

@flennic
Copy link

flennic commented Nov 29, 2015

Thanks for all the information. I configured the keyboard on Mac OS X before and when I plugged it into my Linux machine it didn't show any light effects. Therefore I thought the wrong way.

If you plan to develop an opensource driver, how do you know how to communicate with the keyboard? It's not like Razer is telling us how. But anyways, thats not part of this issue.

@flennic
Copy link

flennic commented Dec 6, 2015

Is the driver binded?

Yes I guess so. My keyboard is illuminated blue all the time. Any way to test if the driver is binded?

Running that as you did it should just sit there and wait and not return another prompt until killed.

What exactly do you mean with another prompt until killed? Sorry for my disability :(

@terricain
Copy link
Contributor

Returning a prompt, meaning the second [root@pc share]# would not appear until you ended the razer_bcd program (normally with Ctrl+C).

@flennic
Copy link

flennic commented Dec 6, 2015

Ah okay now I get the point. I didn't use Ctrl+C. It gave me the prompt back without any interaction of mine. So it means, it is NOT working as intended, right?

Edit: Will retest with binded driver. One second.

Edit2: Eh, I binded the driver and run the command again. Got the same behaviour except the fact that my keyboard is going to rage mode, complete random colors, weird waves and so on. Looks like my keyboard got a lsd pill.

@terricain
Copy link
Contributor

Correct.
Is the driver binded?

If the driver is binded then paste the output of strace razer_bcd -f on pastebin

@flennic
Copy link

flennic commented Dec 6, 2015

http://pastebin.com/L7h3HcrF

Edit: How to turn of those colors, driving me mad o.O

Edit2:

[root@pc devices]# ls -l
total 0
lrwxrwxrwx 1 root root 0  6. Dez 21:10 0003:046D:0A1F.0007 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.3/0003:046D:0A1F.0007
lrwxrwxrwx 1 root root 0  7. Dez 00:06 0003:046D:C068.0005 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/0003:046D:C068.0005
lrwxrwxrwx 1 root root 0  7. Dez 00:06 0003:046D:C068.0006 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/0003:046D:C068.0006
lrwxrwxrwx 1 root root 0  6. Dez 23:48 0003:1532:0203.0001 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/0003:1532:0203.0001
lrwxrwxrwx 1 root root 0  6. Dez 23:48 0003:1532:0203.0002 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1/0003:1532:0203.0002
lrwxrwxrwx 1 root root 0  6. Dez 23:48 0003:1532:0203.0003 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.2/0003:1532:0203.0003

Shouldn't it be just one?

Edit3: Rebooted. Now static colors again, but mixed colors.

@terricain
Copy link
Contributor

in the repo, inside the daemon folder is there a file called razer_bcd_debug_static? If so run that razer_bcd_debug_static -f -v and give me the output

@flennic
Copy link

flennic commented Dec 6, 2015

[root@pc daemon]# ./razer_bcd_debug_static 
Starting razer blackwidow chroma daemon as a daemon
killing razer_bcd parent process
[root@pc daemon]# ./razer_bcd_debug_static -f -v
Starting razer blackwidow chroma daemon in the foreground
opening chroma lib
error no compatible device found
razer_bcd: error initializing daemon

Keep in mind I just restarted. So I guess the driver is unbinded. Shall I bind it again for this test?

Edit: After rebinding:

[root@pc daemon]# ./razer_bcd_debug_static -f -v
Starting razer blackwidow chroma daemon in the foreground
opening chroma lib
loading fx lib: daemon/fx/pez2001_collection_debug.so
fx lib not loaded:daemon/fx/pez2001_collection_debug.so (daemon/fx/pez2001_collection_debug.so: cannot open shared object file: No such file or directory)
loading fx lib: daemon/fx/pez2001_light_blast_debug.so
fx lib not loaded:daemon/fx/pez2001_light_blast_debug.so (daemon/fx/pez2001_light_blast_debug.so: cannot open shared object file: No such file or directory)
Segmentation fault (core dumped)

Keyboard went black.

Edit2:

[root@pc daemon]# ls -l /sys/bus/hid/drivers/razerkbd/
total 0
lrwxrwxrwx 1 root root    0  7. Dez 00:18 0003:1532:0203.0003 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.2/0003:1532:0203.0003
--w------- 1 root root 4096  7. Dez 00:16 bind
lrwxrwxrwx 1 root root    0  7. Dez 00:11 module -> ../../../../module/razerkbd
--w------- 1 root root 4096  7. Dez 00:11 new_id
--w------- 1 root root 4096  7. Dez 00:11 uevent
--w------- 1 root root 4096  7. Dez 00:11 unbind

@terricain
Copy link
Contributor

Yes. Driver must be binded for this to work

@flennic
Copy link

flennic commented Dec 6, 2015

See edit last post.

@terricain
Copy link
Contributor

Ok I know what's happening. I'm a bit busy at the moment, I'll reply tonight/tomorrow but all hope is not lost ;).

@flennic
Copy link

flennic commented Dec 6, 2015

Allright :-) Take your time and thanks for all your efforts! Good night!

@terricain
Copy link
Contributor

Try rerunning razer_bcd -f now that the driver is bound.

If that doesn't work then run razer_bcd_debug_static -f -v but run it from the root of the repository (not from inside the daemon folder), like this ./daemon/razer_bcd_debug_static -f -v

And of course post output

@flennic
Copy link

flennic commented Dec 7, 2015

[user@pc init.d]$ sudo razer_bcd -f
Starting razer blackwidow chroma daemon

Gives me back my lsd keyboard. Stops instantly -> gives me the command prompt back.

user@pc razer_blackwidow_chroma_driver]$ sudo ./daemon/razer_bcd_debug_static -f -v
Starting razer blackwidow chroma daemon in the foreground
opening chroma lib
loading fx lib: daemon/fx/pez2001_collection_debug.so
registered effect: First One (uid:1)
registered effect: Breathing Color (uid:2)
registered effect: Random Color Waves (uid:3)
registered effect: Random Color Waves #2 (uid:4)
registered effect: Random Color Waves #3 (uid:5)
registered effect: Random Color Waves #4 (uid:6)
registered effect: Copper Bars #4 (uid:7)
registered effect: Arrayi Bars (uid:8)
registered effect: Arrayi Bars 2 (uid:9)
registered mix effect: Default Mixer (uid:10)
loading fx lib: daemon/fx/pez2001_light_blast_debug.so
registered effect: Lightblaster (uid:11)
 (Blast.1 ## opacity:1.000000 / -1,-1)                                          ft:9ms,fps:111.111115(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1) (Compute::KeyRingBuffer.1 ## )                                                                  ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:49ms,fps:20.408163(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:49ms,fps:20.408163(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                        ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                        ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                        ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                        ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                        ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                        ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                        ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:49ms,fps:20.408163(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:51ms,fps:19.607843(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                     ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1) (Compute::KeyRingBuffer.1 ## )      ft:50ms,fps:20.000000(20) (Blast.1 ## opacity:1.000000 / -1,-1)                                                            ^C
[user@pc razer_blackwidow_chroma_driver]$ ^C

Second try from the root directory looks fine.

@terricain
Copy link
Contributor

OK I am am assuming razer_bcd is installed in /usr/sbin, whats the output of ldd /usr/sbin/razer_bcd.

What I think is the issue is that the main razer_bcd is looking for files which don't exist then just dies.
also make sure /usr/share/razer_bcd/fx has these files

$ ls -l /usr/share/razer_bcd/fx
total 60K
-rwxrwxr-x 1 terry terry  22K Nov 28 01:12 pez2001_collection.so*
-rwxrwxr-x 1 terry terry 9.8K Nov 28 01:12 pez2001_light_blast.so*
-rwxrwxr-x 1 terry terry  14K Nov 28 01:12 pez2001_mixer.so*
-rwxrwxr-x 1 terry terry 5.5K Nov 28 01:12 pez2001_progress_bar.so*

One big issue which I might tackle at some point is that the daemon has no logging which isn't very helpful when your trying to troubleshoot things.

@flennic
Copy link

flennic commented Dec 7, 2015

[user@pc 0003:1532:0203.0003]$ ldd /usr/sbin/razer_bcd
    linux-vdso.so.1 (0x00007fff137a8000)
    libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f342f207000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007f342ef09000)
    libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x00007f342ec06000)
    libSDL2_image-2.0.so.0 => /usr/lib/libSDL2_image-2.0.so.0 (0x00007f342e9e0000)
    librazer_chroma.so => /usr/lib/librazer_chroma.so (0x00007f342e7dc000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f342e438000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f342e21b000)
    libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f342f5bd000)
    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f342e017000)
    librt.so.1 => /usr/lib/librt.so.1 (0x00007f342de0f000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f342f458000)
    libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f342dc0b000)
    libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f342d9f4000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f342d7ce000)
    liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f342d5bc000)
    libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f342d2da000)
    libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f342d0c7000)
    libattr.so.1 => /usr/lib/libattr.so.1 (0x00007f342cec2000)
[user@pc 0003:1532:0203.0003]$ 
[user@pc 0003:1532:0203.0003]$ ls -l /usr/share/razer_bcd/fx
total 56
-rwxr-xr-x 1 root root 18792 28. Nov 20:14 pez2001_collection.so
-rwxr-xr-x 1 root root  4520 28. Nov 20:14 pez2001_compute_fft.so
-rwxr-xr-x 1 root root  6864 28. Nov 20:14 pez2001_light_blast.so
-rwxr-xr-x 1 root root 10952 28. Nov 20:14 pez2001_mixer.so
-rwxr-xr-x 1 root root  4520 28. Nov 20:14 pez2001_progress_bar.so
[user@pc 0003:1532:0203.0003]$

@terricain
Copy link
Contributor

Most strange. Make sure librazer_chroma.so is up-to-date. I would remove /usr/sbin/razer_bcd /usr/lib/librazer_chroma.so /usr/share/razer_bcd and reinstall all of them and try again

@BenoitMartin2
Copy link

Hi, good new :)

I installed Windows so as to play a bit AND to test my keyboard. The loaded profile on Windows remains activated switching to Linux. I use a KVM switch.
Didn't reboot yet the Linux PC, I'll get back to you later bout that.

@ghost
Copy link

ghost commented Dec 15, 2015

I can confirm that saved profile remains across reboots, PC switches,
driver not being started, and anything else you can imagine.
On Dec 15, 2015 13:43, "BenoitMartin2" notifications@github.com wrote:

Hi, good new :)

I installed Windows so as to play a bit AND to test my keyboard. The
loaded profile on Windows remains activated switching to Linux. I use a KVM
switch.
Didn't reboot yet the Linux PC, I'll get back to you later bout that.


Reply to this email directly or view it on GitHub
#37 (comment)
.

@BenoitMartin2
Copy link

Nice then! I'll go set my game profiles etc.

@t-bacakci
Copy link

hi, I can't install on ubuntu 14.04 LTS, getting this error:

razer_chroma.o: In function razer_create_device': razer_chroma.c:(.text+0x12b1): undefined reference to__stack_chk_fail_local'
razer_chroma.o: In function razer_poll_input_device': razer_chroma.c:(.text+0x1f90): undefined reference to__stack_chk_fail_local'
razer_chroma.o: In function razer_device_set_game_mode': razer_chroma.c:(.text+0x3d81): undefined reference to__stack_chk_fail_local'
razer_chroma.o: In function razer_device_set_wave_mode': razer_chroma.c:(.text+0x415c): undefined reference to__stack_chk_fail_local'
razer_chroma.o: In function razer_device_set_brightness': razer_chroma.c:(.text+0x43aa): undefined reference to__stack_chk_fail_local'
/usr/bin/ld: librazer_chroma.so: hidden symbol `__stack_chk_fail_local' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [razer_chroma_shared] Error 1
make: *** [librazer_chroma] Error 2

@terricain
Copy link
Contributor

Path to the current directory? Command used to make

@t-bacakci
Copy link

I don't understand. can you help me install this driver personally? can you contact me?

@terricain
Copy link
Contributor

What is the filepath to where you checked out the repository? And what command did you run to get that output above.

@darkphoenixff4
Copy link

I'm going to post it here, because I'm betting it's related, but I can't compile on openSUSE 42.1 Leap.

`\n::\033[32m COMPILING razer_bcd controller [SHARED]\033[0m

gcc -L../lib -rdynamic razer_daemon_controller.o -lrazer_chroma -lrazer_chroma_controller -lm -ldl pkg-config --libs dbus-1 -o razer_bcd_controller
gcc pkg-config --cflags dbus-1 -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon_dbus.o razer_daemon_dbus.c
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: cannot find -lrazer_chroma
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: cannot find -lrazer_chroma_controller
collect2: error: ld returned 1 exit status
Makefile:49: recipe for target 'daemon_controller_shared' failed
make[1]: *** [daemon_controller_shared] Error 1
Makefile:66: recipe for target 'daemon_controller' failed
make: *** [daemon_controller] Error 2`

Also, I have a Blackwidow, a Firefly, an Orbweaver, a Deathstalker and a Kraken 7.1, so if you need any possible debugging info from any of those, I'll be happy to contribute.

@terricain
Copy link
Contributor

Ugh this problem appears every now and again. What's the contents of the lib directory in the repository?

Oooh lots of devices, yes once this works we'll get to work supporting all of them ;)

@terricain
Copy link
Contributor

Also full output of make command put in pastebin.com would be helpful

@jsonkenyon
Copy link

Unable to install on Fedora 24 getting the following:

make -C /lib/modules/4.5.5-300.fc24.x86_64/build SUBDIRS=/home/jasonk/pez2001-razer_chroma_drivers-88eaeed/driver modules > /dev/null 2>&1
Makefile:19: recipe for target 'driver' failed
make: *** [driver] Error 2

@terricain
Copy link
Contributor

Can you please recreate the ticket on here.

@GabMus
Copy link

GabMus commented Aug 12, 2016

In the new repo that terrycain just posted there are PKGBUILDs for Arch based distros. They should work no problem in manjaro, too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants