rpiRyan
Posts: 9
Joined: Tue May 10, 2016 12:34 am

VC4 for Arch?

Fri May 20, 2016 6:31 pm

Hello there, Raspberry Pi Forum.

Today, I have a question and conversation to start. I have recently installed Arch on my Raspberry Pi 2, due to their fantastic instructions - https://archlinuxarm.org/platforms/armv ... berry-pi-2 and have installed lxde as my desktop environment. I have experience with previous OpenGL applications, and wish to use some on my RPI2. Now, they require OpenGL 3D, so the 2D driver I have currently installed would not work for them. My GLXGEARS runs at 80 FPS on average with the 2D Driver, but I wish to have the 3D VC4 Driver Mr. Anholt has been working on. I spoke with him about VC4 and Arch, and he replied "I only use debian, so figuring out how to do it on other distributions
is up to you.". So, if it is up to us, my question is: Has anyone accomplished this? Getting the new VC4 OpenGL 3D driver to work with Arch Linux ARM on the Raspberry Pi 2?
If you have, or are a philosopher looking to share their opinions on this, please reply!

Thanks,
rpiRyan

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: VC4 for Arch?

Fri May 20, 2016 7:12 pm

rpiRyan wrote:Hello there, Raspberry Pi Forum.

Today, I have a question and conversation to start. I have recently installed Arch on my Raspberry Pi 2, due to their fantastic instructions - https://archlinuxarm.org/platforms/armv ... berry-pi-2 and have installed lxde as my desktop environment. I have experience with previous OpenGL applications, and wish to use some on my RPI2. Now, they require OpenGL 3D, so the 2D driver I have currently installed would not work for them. My GLXGEARS runs at 80 FPS on average with the 2D Driver, but I wish to have the 3D VC4 Driver Mr. Anholt has been working on. I spoke with him about VC4 and Arch, and he replied "I only use debian, so figuring out how to do it on other distributions
is up to you.". So, if it is up to us, my question is: Has anyone accomplished this? Getting the new VC4 OpenGL 3D driver to work with Arch Linux ARM on the Raspberry Pi 2?
If you have, or are a philosopher looking to share their opinions on this, please reply!

Thanks,
rpiRyan

Would appear the Arch Linux Arm Forum has at least a couple of Threads:

https://archlinuxarm.org/forum/viewtopi ... =64&t=9811

https://archlinuxarm.org/forum/viewtopi ... 64&t=10163
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

rpiRyan
Posts: 9
Joined: Tue May 10, 2016 12:34 am

Re: VC4 for Arch?

Fri May 20, 2016 8:26 pm

Unfortunately, directly after posting this, I had duckduckgo'd a bit more, and found your first link to the Arch Linux ARM website. I followed the instructions posted by the one person that had gotten it working on there, and Voila! it worked!

To help others wanting to install the new VC4 Driver on their Arch Linux Arm Raspberry Pi 2, here are the steps:

First edit your /boot/cmdline.txt and put this at the very end -
cmdline.txt: cma=128M

Then edit your /boot/config.txt and put this in it -
config.txt: gpu_mem=256 avoid_warnings=2 dtoverlay=vc4-kms-v3d

And that should be it! If it results in a black screen or nothing happens, try deleting your xorg.conf. (Make a backup first!)

Thanks for putting the link out though, fruitoftheloom.

Alright, thank you, and I bid you adieu.

hendry
Posts: 6
Joined: Wed Jul 31, 2013 2:58 am
Location: Singapore
Contact: Website

Re: VC4 for Arch?

Mon May 23, 2016 1:45 am

I don't think Mr. Anholt's VC4 driver is stable enough for Webkit2. I am VERY keen to get it working for browsing the Web!

Return to “Arch”