CodeWalrus

General => General Help & Troubleshooting => Topic started by: gameblabla on December 29, 2016, 12:21:29 AM

Title: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on December 29, 2016, 12:21:29 AM
So yesterday, i finally got my Raspberry Pi 3 and the first thing i did was to install the Devuan rootfs file on it.
But like @Streetwalrus said, i was going to be disappointed because it simply doesn't have VC4 or the proprietary drivers, only framebuffer support.
I have no idea how to compile VC4's driver for X11 so needless to say, i started to look at other options.
First, i tried the Tumbleweed and Leap OpenSUSE images and they don't work... they just won't boot.
OpenSUSE said the images were experimental so they probably do not work.

Only the option left i have is SUSE Entreprise Server, which is known to work but i can't download it on my slow connection so this won't do it. (for now)

So i lowered my expectations and stared to look for armv7hf images instead.
The only oses i found were Void Linux and Ubuntu Mate.

Does Void Linux have VC4 support ? 'cause like devuan, it's too small to be true...
Ubuntu Mate, i'm downloading it right now but man is it huge. I'm not sure if it will fit on my 8GB sdcard.
Plus it's kind of CPU hungry and it's locked wth systemd, so i can't strip it down as much as i would like to.

Gentoo can be compiled for Arm64 with VC4 but i have not found a rootfs file out there.
If anyone can share his gentoo installation then please, i would like to have it.
I really don't have time (or the connection) to compile it.

I also really, REALLY, don't want to use Raspbian as it is only optimized for armel and thus, it cripples the performance of my RPI3.

What options do i have ?
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on December 29, 2016, 12:34:03 AM
I recently saw Arch Linux Arm finally have RPi3 support with a 64-bit kernel, last time I tried I had to install the RPi2 image, you might want to check that out.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on December 29, 2016, 12:46:53 AM
Quote from: Juju on December 29, 2016, 12:34:03 AM
I recently saw Arch Linux Arm finally have RPi3 support with a 64-bit kernel, last time I tried I had to install the RPi2 image, you might want to check that out.
Oh, thanks juju. I see they have an ARM64 rootfs file for download, i will check this out.
I will let you know guys if it works well.

I hope this has VC4 available tho
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on December 29, 2016, 02:36:08 AM
It should be available, as far as I know. It comes with mostly all the Raspberry Pi drivers, you might have to mess with the config file.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on December 29, 2016, 03:24:00 AM
I followed their instructions and i got it to work !
It has VC4 available, as you said and 3D works.
Arch Linux eats a lot of memory tho... i will surely go back to Devuan when they get a VC4 driver.
Many thanks juju !

I need to buy an external power supply though... 1A just won't cut it :(
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Dream of Omnimaga on December 29, 2016, 03:37:08 AM
Nice. Also I didn't know there was a RPi 3.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: novenary on December 29, 2016, 01:22:00 PM
This is sadly the way the arm ecosystem is, riddled with binary blobs and limited interest from the community to improve the situation.
It's been so long, yet xrender is still not accelerated and Wayland is way too immature to be relevant (it does enable very fast compositing though).
GLES works, but considering the laughable performance of the CPU, it's not interesting anyway.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on December 29, 2016, 04:12:23 PM
Quote from: Streetwalrus on December 29, 2016, 01:22:00 PM
This is sadly the way the arm ecosystem is, riddled with binary blobs and limited interest from the community to improve the situation.
You are right, most arm boards are riddled with these and most of them don't even have a free gpu driver available,
with the notable exception of the Raspberry Pis.
Which is why i bought a Raspberry Pi 3, as this was the most-free arm board out there that is equipped with an Arm64 cpu.
It's not fully free but at least there are some efforts to reverse-engineer the firmware.

Quote from: Streetwalrus on December 29, 2016, 01:22:00 PM
It's been so long, yet xrender is still not accelerated and Wayland is way too immature to be relevant (it does enable very fast compositing though).
Thankfully for me, I'm not really interested in compositing or accelerated 2D rendering.
It might be an issue though if one wants to run a full desktop :p

Quote from: Streetwalrus on December 29, 2016, 01:22:00 PM
GLES works, but considering the laughable performance of the CPU, it's not interesting anyway.
The CPU is no Intel, i agree.
But i kind of hate like how every OS for it tries to be a full desktop with lots of useless services and this is boging down the poor pi.
Devuan was really smooth for me and it only took 60MB of RAM with JWM, while the& same desktop on Arm Linux ARM takes 260Mb :/
But devuan does not have VC4 so that sucks monkey f*** lol

Any tips on making Arm Linux more lightweight ?
Can i switch to OpenRC or runit ?
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: novenary on December 29, 2016, 06:27:39 PM
You can probably get openrc on arch, some people have been doing it but I don't really know the details, can't be bothered with it. I run it with systemcs on my pi2 and it only uses 50MB of ram lol (headless though, it only runs a few network services).
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on December 29, 2016, 07:33:54 PM
Yeah, if you don't run anything but systemd, networking and whatever necessary to get a shell, it easily runs with 50 MB of RAM. Just watch out for systemd-journald, which is a bit hungry.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: novenary on December 29, 2016, 07:34:49 PM
I think I have that killed off actually.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on December 29, 2016, 08:23:21 PM
That or you just run a busybox, I think it comes with a suitable init program.

If you want a small system, I guesd you can also try buildroot.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Dream of Omnimaga on December 30, 2016, 02:26:27 AM
Quote from: Streetwalrus on December 29, 2016, 01:22:00 PM
This is sadly the way the arm ecosystem is, riddled with binary blobs and limited interest from the community to improve the situation.

Maybe this means it's time to switch to ez80? Look at how popular ez80 calculators are compared to ARM ones :trollface:
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on December 30, 2016, 03:26:59 AM
Eh, depends of what your application would be. The Internet of Things is a rather big thing nowadays, and chips manufactured for that are not really made for gaming and stuff like that. This includes most chips aimed for development, like the Raspberry Pi and anything not in desktops, laptops and phones, most people are not really interested making a real good OpenGL implementation that can do more than streaming 1080p videos for on-screen displays (OSD). Of course, the Raspberry Pi is popular enough people might try using it as a desktop, so there's drivers for that, but otherwise it's probably more used headless with scripts that blink LEDs running, same for the BeagleBone and other stuff like that.

I'd also like to see one of those dev boards but with an ez80, just for kicks. I'm not sure they ever made any powerful chips based on that, but that would be interesting. Of course nowadays ARM wins that market (and Atmel chips for those cases you only need blinking LEDs), but it's always interesting to see other CPUs out there.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on December 30, 2016, 06:22:20 PM
QuoteFirst, i tried the Tumbleweed and Leap OpenSUSE images and they don't work... they just won't boot.
OpenSUSE said the images were experimental so they probably do not work.

openSUSE Leap 42.2 images use the same code as SLES, so you probably did something wrong there.
The Tumbleweed image uses the upstream kernel without any patches, so in theory it should work,
but in practive too much stuff is missing or broken.

QuoteBut like @Streetwalrus said, i was going to be disappointed because it simply doesn't have VC4 or the proprietary drivers, only framebuffer support.
I have no idea how to compile VC4's driver for X11 so needless to say, i started to look at other options.

There seems to be some confusion here. VC4 is just the name of the chip. There are three options to use it:

* Framebuffer only, using the mailbox protocol (vc4 kernel module not loaded)
* Proprietary driver, replacing system libs ("rpi-userland"): Known to not work properly on aarch64 anyway
* FOSS VC4 driver in mesa: Works well enough for a few OpenGL apps, but unstable

X just needs modesetting, so if vc4 is loaded it just works (tm).
I'm running my RPi3 headless anyway so I just use the first option.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on December 30, 2016, 08:15:40 PM
Quote from: Vogtinator on December 30, 2016, 06:22:20 PM
openSUSE Leap 42.2 images use the same code as SLES, so you probably did something wrong there.
The Tumbleweed image uses the upstream kernel without any patches, so in theory it should work,
but in practive too much stuff is missing or broken.
Maybe it's due to the insufficient power supply, (only 1A is not enough)
as the Leap images for example says that gfxterm was missing then it goes back to the grub menu. over and over again
Tumbleweed (non-upstream) does not even go as far and gets stuck in the EFI messages.

Quote from: Vogtinator on December 30, 2016, 06:22:20 PM
There seems to be some confusion here. VC4 is just the name of the chip. There are three options to use it:

* Framebuffer only, using the mailbox protocol (vc4 kernel module not loaded)
* Proprietary driver, replacing system libs ("rpi-userland"): Known to not work properly on aarch64 anyway
* FOSS VC4 driver in mesa: Works well enough for a few OpenGL apps, but unstable

X just needs modesetting, so if vc4 is loaded it just works (tm).
I'm running my RPi3 headless anyway so I just use the first option.
Yeah, when i said VC4, i meant the OpenGL FOSS Mesa driver.
I'm not interested in the proprietary driver nor framebuffer support only.
There's modesetting available in Devuan but how to load it anyway ?
Do i have to just make sure i'm using the rpi linux kernel from next branch, an up-to-date Mesa and modprobe vc4?

I should try Devuan again on my pi.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on December 30, 2016, 09:27:15 PM
QuoteMaybe it's due to the insufficient power supply, (only 1A is not enough)
as the Leap images for example says that gfxterm was missing then it goes back to the grub menu. over and over again

You'll see insufficient power issues as the power LED flickers during undervoltage.

Did you try this image: http://download.opensuse.org/ports/aarch64/distribution/leap/42.2/appliances/openSUSE-Leap42.2-ARM-X11-raspberrypi3.aarch64-2016.11.25-Build1.18.raw.xz
There are a lot of links floating around to outdated build artifacts (they need to be cleaned up...)

QuoteThere's modesetting available in Devuan but how to load it anyway ?
Do i have to just make sure i'm using the rpi linux kernel from next branch, an up-to-date Mesa and modprobe vc4?

On openSUSE/SLES it's called xf86-video-modesetting. No idea how it's called elsewhere.
Make sure that you're *not* using the raspbian/downstream kernel but rather a very recent (at least 4.9) upstream kernel instead
or an older version with backported patches.
Mesa needs to have the vc4 driver explicitly enabled.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on December 31, 2016, 12:20:18 AM
Quote from: Vogtinator on December 30, 2016, 09:27:15 PM
You'll see insufficient power issues as the power LED flickers during undervoltage.

Did you try this image: http://download.opensuse.org/ports/aarch64/distribution/leap/42.2/appliances/openSUSE-Leap42.2-ARM-X11-raspberrypi3.aarch64-2016.11.25-Build1.18.raw.xz
There are a lot of links floating around to outdated build artifacts (they need to be cleaned up...)
I had downloaded the build from December 23 but i think i downloaded the efi builds instead... oops.
Since "X11" images is too big, i'm just downloading openSUSE-Leap42.2-ARM-JeOS-raspberrypi3.aarch64-2016.11.25-Build1.12.raw.xz,
is that okay ?
I don't know if JeOS image files are tested...

QuoteOn openSUSE/SLES it's called xf86-video-modesetting. No idea how it's called elsewhere.
Make sure that you're *not* using the raspbian/downstream kernel but rather a very recent (at least 4.9) upstream kernel instead
or an older version with backported patches.
Mesa needs to have the vc4 driver explicitly enabled.
Well i just checked the kernel in Devuan and it seems to use an upstream 4.6 kernel. So i don't think the default kernel has VC4 available.
This means i'll have to compile the upstream Linux kernel and Mesa myself...

I will let you know guys should i suceed.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on December 31, 2016, 12:39:02 AM
QuoteSince "X11" images is too big, i'm just downloading openSUSE-Leap42.2-ARM-JeOS-raspberrypi3.aarch64-2016.11.25-Build1.12.raw.xz,
is that okay ?
I don't know if JeOS image files are tested...
Yes, that should work as well, it just does not have X installed by default.

QuoteWell i just checked the kernel in Devuan and it seems to use an upstream 4.6 kernel. So i don't think the default kernel has VC4 available.
Depends on the backports, maybe they picked the rpi3 related patches up.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 01, 2017, 08:54:43 PM
Hmm... so just how do you compile the kernel for the Raspberry Pi ?
I tried compiling the upstream kernel using their instructions (https://www.raspberrypi.org/documentation/linux/kernel/building.md) and i can't have it in a format recognized by the Raspberry Pi...

will try suse again once i can figure this out
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on January 01, 2017, 09:02:31 PM
The instructions linked are only for the downstream kernel.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 01, 2017, 09:18:26 PM
Quote from: Vogtinator on January 01, 2017, 09:02:31 PM
The instructions linked are only for the downstream kernel.
i know that. Unfortunely, their crappy branch is broken and is actually missing code !
I was unable to compile their downstream kernel (4.9 and 4.10 don't compile)

Upstream 4.9 kernel does compile but the image file isn't recognized by my pi,
it gives me the rainbow screen of death.
Even after i ran mkknlimg from downstream kernel, it still doesn't work and it is still giving me the rainbow screen of death.

I do wonder if i can't just use the kernel from OpenSUSE...
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on January 01, 2017, 09:28:55 PM
Quotei know that. Unfortunely, their crappy branch is broken and is actually missing code !
I was unable to compile their downstream kernel (4.9 and 4.10 don't compile)
The downstream kernel is only version 4.4 currently.

QuoteUpstream 4.9 kernel does compile but the image file isn't recognized by my pi,
it gives me the rainbow screen of death.
The upstream kernel needs an upstream device tree supplied, did you add that?

QuoteI do wonder if i can't just use the kernel from OpenSUSE...
The openSUSE kernel is a bit special, it needs an UEFI environment to boot.
However, you can use u-boot from openSUSE standalone, which can be very helpful for debugging.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 02, 2017, 04:20:05 AM
Quote from: Vogtinator on January 01, 2017, 09:28:55 PM
The downstream kernel is only version 4.4 currently.
So the 4.9/4.10 branches are not supposed to work ?
Interesting...

QuoteThe upstream kernel needs an upstream device tree supplied, did you add that?
Well, i didn't... but it's all over the place.
The dts file are supposed to be in arch/arm64/boot but there are lots of folders and all...

I found that Debian released an ARM64 image for the Raspberry Pi 3 with kernel 4.8 so i might steal the kernel from that.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 02, 2017, 07:06:23 AM
You might probably be able to take the patches from downstream and apply them on a recent kernel. Probably what Debian did, you might want to check that out.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: novenary on January 02, 2017, 07:22:00 AM
Have you tried this (http://elinux.org/RPi_Upstream_Kernel_Compilation)? elinux.org is a great resource when you're dealing with arm.
Edit: looks like this is slightly outdated, not sure if it's relevant at all now.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 02, 2017, 07:59:48 AM
Eh, looks simple enough.

EDIT: Aaaah, look what I found. The newer versions were under different branches the whole time. (https://github.com/raspberrypi/linux/tree/rpi-4.10.y) 4.4 is still the default branch, but you can find 4.5 and up if you know where to look.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on January 02, 2017, 02:56:58 PM
Quote from: Juju on January 02, 2017, 07:59:48 AM
Eh, looks simple enough.

EDIT: Aaaah, look what I found. The newer versions were under different branches the whole time. (https://github.com/raspberrypi/linux/tree/rpi-4.10.y) 4.4 is still the default branch, but you can find 4.5 and up if you know where to look.

They don't work. Most drivers just break with porting so every version newer than 4.4 is broken in a different way.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 02, 2017, 09:35:27 PM
What Vogtinator said is true : i was unable to compile the branches due to the drivers.
I asked the one responsible for building the devuan images how the kernels were built and if he could provide one based on version 4.9.

I looked at the debian image and it is completely different from the devuan one : it uses uboot and uses the kernel image from the other partition.
Plus it uses the stable downstream kernel anyway but in debian's case, i can easily upgrade to a newer kernel.
I could try to install Debian on it and then switch to devuan repositories, if it is working of course.

EDIT: Also @Vogtinator, i tried OpenSUSE on my Pi and it gives me a black screen after the EFI messages.
It is giving me signal on my display but it is all black.
Here's my config file :

# Get more options/information on http://elinux.org/RPiconfig
# or on https://www.raspberrypi.org/documentation/configuration/config-txt.md
# Our kernels are located on a Linux partition. Chainload U-Boot to load them.
kernel=u-boot.bin
# Use 64 MB for GPU for RPi with 256 MB (Min 16 - Max 192 MB)
gpu_mem_256=64
# Use 64 MB for GPU for RPi with 512 MB (Min 16 - Max 448 MB)
gpu_mem_512=64
# Use 128 MB for GPU for RPi with 1024 MB (Min 16 - Max 944 MB)
gpu_mem_1024=256
# Turbo mode: 0 = enable dynamic freq/voltage - 1 = always max
force_turbo=0
# Start in turbo mode for 30 seconds or until cpufreq sets a frequency
initial_turbo=30
# DO NOT overvoltage manually to not void warranty!
over_voltage=0
# Boot in AArch64 (64-bit) mode
arm_control=0x200
# Fix mini UART input frequency, and setup/enable up the UART.
enable_uart=1
# Disable warning overlays as they don't work well together with linux's graphical output
avoid_warnings=1
hdmi_force_hotplug=1
hdmi_group=2
hdmi_drive=2
hdmi_mode=39
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 03, 2017, 03:36:39 AM
Well yeah, that's what they seemed to imply on ELinux, building a plain kernel is not gonna work, so you have to use U-Boot.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: novenary on January 03, 2017, 08:09:09 AM
I checked yesterday, Arch Linux arm uses the mainline kernel for 64 bit, build scripts here: https://archlinuxarm.org/packages/aarch64/linux-aarch64/files. I'm not sure whether they use uboot or not, but I think it shouldn't be necessary anyway.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on January 03, 2017, 12:27:54 PM
QuoteAlso @Vogtinator, i tried OpenSUSE on my Pi and it gives me a black screen after the EFI messages.
It is giving me signal on my display but it is all black.
After which efi messages? If it's after GRUB2, you could try appending "rd.driver.blacklist=vc4" to the kernel cmdline and try booting with efifb.
Red and blue are swapped to a disagreement between u-boot and the kernel, but that's a minor issue...
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 08, 2017, 01:59:31 AM
Quote from: Streetwalrus on January 03, 2017, 08:09:09 AM
I checked yesterday, Arch Linux arm uses the mainline kernel for 64 bit, build scripts here: https://archlinuxarm.org/packages/aarch64/linux-aarch64/files. I'm not sure whether they use uboot or not, but I think it shouldn't be necessary anyway.
Looking at the installation page (https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3), it says it uses the mainline kernel with U-Boot, but there's no support for the vendor-provided libraries and some components may perform poorly.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 08, 2017, 03:27:02 AM
For me, Arch Linux ARM Aarch64 worked very well : i didn't try Wifi or Bluetooth because i have no need for them
but it supported gpu acceleration, usb ports and all just fine.
And i don't have to blacklist vc4 like on OpenSUSE.

My only issue with Arch Linux ARM is that it is a piece of s*** that eats your CPU and memory.
Also, i just found out OpenRC is not available on their repo.

Btw, i don't know how they can use the downstream kernel, i couldn't compile it.
It uses Linux 4.9 for the RPI3 so most likely mainline yes.
The proprietary drivers are crap anyways.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: novenary on January 08, 2017, 04:55:10 AM
Openrc on arch is unofficial, you have to go through the aur. Might as well run gentoo directly. :P
You should take a look at the build script though, or at least try to paste their kernel and modules into another image.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 08, 2017, 04:56:02 AM
Ah yeah. You might check the wiki, it's definitely unofficial, but there's instructions.

https://wiki.archlinux.org/index.php/OpenRC
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 12, 2017, 02:36:22 AM
Well Arch Linux ARM is useless for one stupid reason :
GCC is unable to build anything !
When you try this command :
gcc -c -o caca.o caca.c
It makes no object files, at all.

I tried clang and it was able to build those object files and the linker does not support clang's object files...
Without a working compiler, i'm stuck with the limited precompiled binaries provided by Arch Linux ARM.
That sucks as i can't compile sysvinit or openrc...

With gears, i get 650 FPS with the VC4 drivers.
Without the VC4 using LLVMPipe, i get 100 FPS instead.
My AMD FX 6350 using LLVM Pipe is getting 1000 FPS.
Using LLVMPipe on my FX, i'm able to play Skullgirls at low settings so a raspberry pi 3 with VC4 should be able to run that game decently,
if there was an ARM version available.  :'(

I asked parazyd, the maintainer of arm ports, how to build the kernel and he told me that they are using their own tools :
https://git.devuan.org/sdk/arm-sdk (https://git.devuan.org/sdk/arm-sdk)
He said that it's based on the downstream kernel, rather than the upstream one and he said it should be possible to build a newer one.
However, i was unable to get it to work.
If you can though, please let me know.

I admit i had not tried the VC4 blacklist trick on OpenSUSE yet.
On Arch Linux ARM,  if i put the following code :
hdmi_group=2
hdmi_drive=2
hdmi_mode=39

It boots up fine but then black screen.
Removing the line gets me garbled graphics at startup but then graphics are properly initialised by the VC4 driver.
I should try without those lines, i hope GCC works properly on OpenSUSE !
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 12, 2017, 04:16:34 AM
Quote from: gameblabla on January 12, 2017, 02:36:22 AM
Well Arch Linux ARM is useless for one stupid reason :
GCC is unable to build anything !
When you try this command :
gcc -c -o caca.o caca.c
It makes no object files, at all.
Is that so? It worked for me.

Quote from: gameblabla on January 12, 2017, 02:36:22 AM
On Arch Linux ARM,  if i put the following code :
hdmi_group=2
hdmi_drive=2
hdmi_mode=39

It boots up fine but then black screen.
Removing the line gets me garbled graphics at startup but then graphics are properly initialised by the VC4 driver.
I should try without those lines,
You should try adjusting those numbers. Try
tvservice -m CEA
tvservice -m DMT
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 12, 2017, 05:03:50 AM
Quote from: Juju on January 12, 2017, 04:16:34 AMIs that so? It worked for me.
The only thing i did was to upgrade to GCC 6.21 and mask systemd-journald. (and put Storage=none in the conf file as well)
I will try to enable it again to see if that's the issue.


QuoteYou should try adjusting those numbers. Try
Code: [Select]
tvservice -m CEA
tvservice -m DMT
Thanks, where i should put them though ?
in commandline.txt ?
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 12, 2017, 05:27:53 AM
No, you type that in a shell.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Vogtinator on January 12, 2017, 06:35:53 AM
QuoteI should try without those lines, i hope GCC works properly on OpenSUSE !
As I'm using it on several Pis without issues, definitely.
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: gameblabla on January 13, 2017, 03:39:46 AM
So i tried OpenSUSE again and same issue unfortunely :
after the grub menu, some text and then... black screen with a huge pink line on the very left of my display.
I had blacklisted vc4 in /etc/modprobe.d/50-blacklist.conf but it doesn't seem to do anything...

I redownloaded Arch Linux and surprisingly, the compiler worked properly again.
Weird.
So i attempted to install OpenRC and i rebooted my Pi.
But it would not boot into OpenRC and it's stuck at the kernel level. (no errors, strange)

According to this blog (https://blog.notfoss.com/posts/openrc-on-arch-linux/), i must add a kernel parameter pointing to OpenRC.
But where would i add it on my rpi ? It does not use sysconfig...

The journey continues...
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: xMarminq_ on January 13, 2017, 03:47:02 AM
Do you think it is possible to attach a Pi to a calc and modify it so it could have wifi on it and have 2 player games? :P
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: c4ooo on January 13, 2017, 03:57:50 AM
Internet on calc already exists ;)
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: xMarminq_ on January 13, 2017, 03:58:29 AM
CE?
2 play games?
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: p2 on January 23, 2017, 11:17:38 AM
Quote from: xMarminq_ on January 13, 2017, 03:47:02 AM
Do you think it is possible to attach a Pi to a calc and modify it so it could have wifi on it and have 2 player games? :P
this should be at least technically possible:
make a pi simulate being a calc (it simulates being your opponent, connected to your calc via cable) (--->for two calcs)
make the PIs communicate with each other wirelessly or over the internet to get the actual data from the other pi.

so you have this constellation:
CalcA <-> PiA <- - - - - - - - - - -> PiB <-> CalcB
PiA gets the info from CalcA (via cable) and sends it to PiB (wirelessly or ethernet or whatever).
PiB accordingly gives them to CalcB (via cable), pretending to be the actual CalcA.

problem is: you need two PIs connected to the calcs (extra hardware) for both calcs, so why the c dont you just connect the calcs using a cable?
suere that would make it possible to play over ethernet (worldwide multiplayer) but it'S not worth the effort I think.
But maybe you can find someone doing that for you ;)
There should be some guys with the necessary skills around ^^
Title: Re: Arm64 operating systems for the Raspberry Pi 3
Post by: Yuki on January 25, 2017, 02:13:36 AM
Quote from: gameblabla on January 13, 2017, 03:39:46 AM
So i tried OpenSUSE again and same issue unfortunely :
after the grub menu, some text and then... black screen with a huge pink line on the very left of my display.
I had blacklisted vc4 in /etc/modprobe.d/50-blacklist.conf but it doesn't seem to do anything...

I redownloaded Arch Linux and surprisingly, the compiler worked properly again.
Weird.
So i attempted to install OpenRC and i rebooted my Pi.
But it would not boot into OpenRC and it's stuck at the kernel level. (no errors, strange)

According to this blog (https://blog.notfoss.com/posts/openrc-on-arch-linux/), i must add a kernel parameter pointing to OpenRC.
But where would i add it on my rpi ? It does not use sysconfig...

The journey continues...

I believe it's in /boot/cmdline.txt.