multipitch
Posts: 3
Joined: Mon Feb 09, 2015 9:23 pm

Pi2 falls back to software rendering

Mon Feb 09, 2015 9:46 pm

Hi,

I'm running the latest supported alarm build and have the cinnamon DE installed.
When I log in, I get the popup message "Running in software rendering mode" and the display responsiveness is understandably terrible.
I tried an install with Gnome over the weekend and got similar results.

I'm installing X, the graphics drivers and cinnamon as follows, and I have the feeling I'm probably missing something obvious, but can't figure out where I'm going wrong:

Code: Select all

# pacman -S xorg-server xorg-server-utils xorg-xinit xf86-video-fbdev
# pacman -S cinnamon
$ echo 'exec cinnamon-session' > ~/.xinitrc
$ startx

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Pi2 falls back to software rendering

Tue Feb 10, 2015 12:44 am

Just because you are running "latest" does not mean some packages might need updating, why not use pacman -Syu?

I have neither cinnamon nor a pi2 but that is one thing that would need doing anyhow.

Also, did you google this? Did you try starting it with another DM and selecting "Cinnamon" rather than "Cinnamon (software rendering)"?
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Pi2 falls back to software rendering

Tue Feb 10, 2015 5:51 am

Hardware-acceleration for the RPi is still in development.
Note that Pi does support OpenGL ES acceleration
already , just not regular GLX / "desktop" OpenGL yet.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

multipitch
Posts: 3
Joined: Mon Feb 09, 2015 9:23 pm

Re: Pi2 falls back to software rendering

Tue Feb 10, 2015 8:27 am

sjdif: Yes, I'm running a fully updated build.

ghans: I guess I'm not missing anything then, it's just not possible.
I assumed that since even my old 256 MB Pi can play HD video, the new Pi2 would have the graphics capabilities to run a full DE like cinnamon or gnome.
I'll try something lighter like enlightenment maybe.

Thanks

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Pi2 falls back to software rendering

Tue Feb 10, 2015 4:45 pm

Don't forget LXDE, meant to be lightweight. I just run Openbox without LXDE, but people often run the two together. What I like about Openbox is being able to easily code keyboard mouse emulation.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

mimi123
Posts: 583
Joined: Thu Aug 22, 2013 3:32 pm

Re: Pi2 falls back to software rendering

Thu Feb 12, 2015 12:54 pm

You should run the DRM/KMS driver!
You will have to upport it from github.com/anholt/linux (I'm currently away from my Pi2, so I don't have the source tree)

ghostseven
Posts: 11
Joined: Wed Feb 04, 2015 7:23 am

Re: Pi2 falls back to software rendering

Thu Feb 12, 2015 3:26 pm

mimi123 wrote:You should run the DRM/KMS driver!
You will have to upport it from github.com/anholt/linux (I'm currently away from my Pi2, so I don't have the source tree)
Would it be possible (when you are back at your Pi2) to get some further information on how to compile and run this driver.

Thanks!

mimi123
Posts: 583
Joined: Thu Aug 22, 2013 3:32 pm

Re: Pi2 falls back to software rendering

Thu Feb 12, 2015 6:03 pm

ghostseven wrote:
mimi123 wrote:You should run the DRM/KMS driver!
You will have to upport it from github.com/anholt/linux (I'm currently away from my Pi2, so I don't have the source tree)
Would it be possible (when you are back at your Pi2) to get some further information on how to compile and run this driver.

Thanks!
I used git bisect between the driver commits and the 3.18 kernel tree and added driver info to bcm2709

multipitch
Posts: 3
Joined: Mon Feb 09, 2015 9:23 pm

Re: Pi2 falls back to software rendering

Thu Feb 12, 2015 6:08 pm

Tried lxde - works great!

ghostseven
Posts: 11
Joined: Wed Feb 04, 2015 7:23 am

Re: Pi2 falls back to software rendering

Thu Feb 12, 2015 8:24 pm

mimi123 wrote:
ghostseven wrote:
mimi123 wrote:You should run the DRM/KMS driver!
You will have to upport it from github.com/anholt/linux (I'm currently away from my Pi2, so I don't have the source tree)
Would it be possible (when you are back at your Pi2) to get some further information on how to compile and run this driver.

Thanks!
I used git bisect between the driver commits and the 3.18 kernel tree and added driver info to bcm2709
Clearly there is a knowledge gap on my part here, is there an idiots guide to this.

H3g3m0n
Posts: 2
Joined: Sat Jul 28, 2012 6:57 am

Re: Pi2 falls back to software rendering

Wed Feb 18, 2015 11:51 am

I would also appreciate more information.

Would building the version here work? https://github.com/raspberrypi/linux

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Pi2 falls back to software rendering

Thu Feb 19, 2015 1:10 pm

H3g3m0n wrote:I would also appreciate more information.

Would building the version here work? https://github.com/raspberrypi/linux
This is what arch builds it's kernel against, look at PKGBUILD, it's almost in script form
https://github.com/archlinuxarm/PKGBUIL ... i/PKGBUILD

H3g3m0n
Posts: 2
Joined: Sat Jul 28, 2012 6:57 am

Re: Pi2 falls back to software rendering

Thu Feb 26, 2015 12:15 am

This is what arch builds it's kernel against, look at PKGBUILD, it's almost in script form
https://github.com/archlinuxarm/PKGBUIL ... i/PKGBUILD
Good to know. I actually tried to compile the repo by hand following the instructions, but it wouldn't boot for some reason. Maybe I ended up with a armv6 instead of v7 or something.

Just been looking a bit more at the github.com/anholt/linux stuff. This seems relevant:
http://www.phoronix.com/scan.php?page=n ... 3D-VC4-LCA
http://dri.freedesktop.org/wiki/VC4/
http://anholt.livejournal.com/

pickfire
Posts: 43
Joined: Fri Dec 19, 2014 3:27 pm

Re: Pi2 falls back to software rendering

Thu Feb 26, 2015 12:25 pm

i3 is a light-weight dynamic tiling window manager.

Return to “Arch”