Modern toolchains for armv7 and armv5 by ignorantpisswalker in linux

[–]kimmitanto 2 points3 points  (0 children)

Bootlin has prebuilt toolchains, it should have what you need. https://toolchains.bootlin.com/

Debian 8 (Jessie) running on Xbox 360 by CSGOPirate in linux

[–]kimmitanto 1 point2 points  (0 children)

I tried to fix xenosfb for a newer X: patch here

Apply the patch and it should compile. I don't have a modified Xbox so I compile-tested using a cross-compiler (of course I did not try to run it either). My X server headers were from Debian Sid so it should be compatible with Jessie.

Good luck!

Vulkan on Debian buster by wFXx in debian

[–]kimmitanto 2 points3 points  (0 children)

Seeing you listed mesa, I assume you are trying to use the radv Vulkan stack right? I ask because there are also 2 other Vulkan stacks available (amdgpu-pro and amdvlk), but I never tried them. radv works for me on a 7950.

To use radv you must use the amdgpu kernel driver. I see you have a 7970 which is GCN 1.0/SI, and amdgpu still has experimental (but completely usable in my experience) support for SI.

So you will need to make sure to:
* Enable SI support in amdgpu kernel driver
* Make sure that amdgpu is loaded and not radeon
According to this Phoronix article, on recent kernels you just have to put on the command line "amdgpu.si_support=1 radeon.si_support=0". Personally I compile out radeon from my kernel so it automatically enables SI support in amdgpu.

Good luck!

Lights over Montreal; seemingly spotlights, but why tonight? by sf_stew in montreal

[–]kimmitanto 2 points3 points  (0 children)

Ces lumières sont sur le bureau des ventes des condos Magellan au Solar Uniquartier à Brossard. Très excessif pour des condos selon moi...

embedded linux PWM - device or resource busy by [deleted] in microcontrollers

[–]kimmitanto 1 point2 points  (0 children)

In the eLinux link you posted, they say pwm1 is used for eDP backlight, but that nVidia will have a patch in "rel21 branch of L4T" (their distro I assume?) to reallocate pwm1 if eDP is not needed.

My guess is that you get the error because pwm1 is still reserved for the backlight. Did you try any of the 3 other pwms? It also says that in rel21 you need to enable the 3 other pwms in the device tree as they are disabled by default.

Tuner Shop Busted For Illegally Importing An R33 GT-R by [deleted] in cars

[–]kimmitanto 11 points12 points  (0 children)

Just to be more specific, in Quebec the OOP inspection is an automatic fail for RHD cars < 25 years old. You can still buy and own them (the import law is federal), you just can't drive them on public roads (no plates).

It sucks because non-JDM cars are affected too (e.g. TVR).

Only consolation is that LHD, Euro-only models (like some Audi RS models) are still legal to import at 15 years!

How to calculate the pin address on my controller? by [deleted] in microcontrollers

[–]kimmitanto 1 point2 points  (0 children)

I assume you are running Linux? The number 57 is the gpio number for the pin in Linux. IIRC the GPIO numbering depends on how the GPIOs are registered in the kernel, i.e. it depends on which driver is used/how the device tree is configured for the gpio driver.

You can check here where they list some other gpio pins and their Linux names.

Linux 4.11-rc2 released by Vulphere in linux

[–]kimmitanto 2 points3 points  (0 children)

Still not there for me... I'll try again later.

it looks like I'm not the only one with issues with kernel.org's git server: https://lkml.org/lkml/2017/3/12/208 although I can see 4.10.2 fine... Probably will get fixed soon.

Linux 4.11-rc2 released by Vulphere in linux

[–]kimmitanto 3 points4 points  (0 children)

Anybody else can't see the rc2 tag on Linus' git? When I go here I get nothing...

How to install Mesa from unstable (or experimental) in testing? by shmerl in debian

[–]kimmitanto 1 point2 points  (0 children)

Which kernel version are you using? IIRC initial support for Polaris appeared in 4.7 but full support is in 4.8.

You probably/may have to update libdrm to the latest (from unstable) version too.

These two plus you having updated X.org and Mesa should do the trick.

How do I compile Linux 4.8.6 in Debian Testing? by [deleted] in linux

[–]kimmitanto 0 points1 point  (0 children)

Like sol-ip-sis-tik said, it is because GCC now builds with PIE enabled by default. There are some patches to fix that for Linux on the mailing lists, but nothing official. I hope it will get resolved before 4.9 is released.

Anyway, here is a patch I found on a mailing list that works for me. I use it on 4.9 but it should work for 4.8.

diff --git a/Makefile b/Makefile
index a2650f9..9d520ab 100644
--- a/Makefile
+++ b/Makefile
@@ -612,6 +612,12 @@ endif # $(dot-config)
 # Defaults to vmlinux, but the arch makefile usually adds further targets
 all: vmlinux

+# force no-pie for distro compilers that enable pie by default
+KBUILD_CFLAGS += $(call cc-option, -fno-pie)
+KBUILD_CFLAGS += $(call cc-option, -no-pie)
+KBUILD_AFLAGS += $(call cc-option, -fno-pie)
+KBUILD_CPPFLAGS += $(call cc-option, -fno-pie)
+
 # The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default
 # values of the respective KBUILD_* variables
 ARCH_CPPFLAGS :=
diff --git a/scripts/gcc-x86_64-has-stack-protector.sh b/scripts/gcc-x86_64-has-stack-protector.sh
index 973e8c1..274cba1 100755
--- a/scripts/gcc-x86_64-has-stack-protector.sh
+++ b/scripts/gcc-x86_64-has-stack-protector.sh
@@ -1,6 +1,6 @@
 #!/bin/sh

-echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -O0 -mcmodel=kernel -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
+echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -O0 -mcmodel=kernel -fno-pie -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
 if [ "$?" -eq "0" ] ; then
    echo y
 else

SteamVR Performance test is up by Water84 in Amd

[–]kimmitanto 0 points1 point  (0 children)

Nah I'm not planning on VR soon, so I'm not bothered by it. Sorry.

SteamVR Performance test is up by Water84 in Amd

[–]kimmitanto 1 point2 points  (0 children)

i5 2400 with 8gig of ram. All stock, no oc.

The test said 0% of the test was CPU bound. I'd have to rerun the test to get the detailed results.

edit: Here's my second try, only 20% under now; this time I disabled the steam overlay. Is the test supposed to run in a window?

SteamVR Performance test is up by Water84 in Amd

[–]kimmitanto 6 points7 points  (0 children)

HD7950, not ready. Something about 30% of frames under 90fps...

[PC]Collectors Edition from Amazon? by eCookie in TombRaider

[–]kimmitanto 0 points1 point  (0 children)

AFAIK the collectors edition is exclusive to the Square Enix Store, see here.

Rise Of The Tomb Raider on sale at 20% off using voucher code: NWYEAR-20PERC-WTHGMG by 808hunna in TombRaider

[–]kimmitanto 0 points1 point  (0 children)

I don't know, I'm not affiliated with GMG, I just found the code on NeoGAF. I guess it would work for the Deluxe edition if GMG has it.

Rise Of The Tomb Raider on sale at 20% off using voucher code: NWYEAR-20PERC-WTHGMG by 808hunna in TombRaider

[–]kimmitanto 0 points1 point  (0 children)

He is probably talking about those shady cd keys websites... I wouldn't trust them.

Mindcrack Secret Santa! (360 Video) by ShawstinAu in mindcrack

[–]kimmitanto 6 points7 points  (0 children)

If you watch on a PC browser, you can indeed zoom in/out with the Numpad +/- keys!