Activating Open GL driver on Pi 3?

Raspberry Pi 2

Re: Activating Open GL driver on Pi 3?

Postby yangxuan8282 » Wed May 18, 2016 8:01 am

hi tornado

I have installed fbturbo driver follow this posts https://archlinuxarm.org/forum/viewtopic.php?f=33&t=5979.
It did improve chromium performance a lot.I also found that it's used in Raspbian Jessie.

I am trying to enable VC 4 driver in archlinux latest kernel now, without xorg.conf but face blackscreen. I have read the /var/log/Xorg.0.log, found

$this->bbcode_second_pass_code('', '[ 13.296] (II) modeset(0): Output HDMI-1 has no monitor section
[ 13.296] (II) modeset(0): EDID for output HDMI-1
[ 13.296] (II) modeset(0): Output HDMI-1 disconnected
[ 13.296] (WW) modeset(0): No outputs definitely connected, trying again...
[ 13.296] (II) modeset(0): Output HDMI-1 disconnected
[ 13.296] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[ 13.296] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 13.296] (==) modeset(0): DPI set to (96, 96)
')

I don't think it's caused by kernel, since I can boot on Raspbian Jessie with VC4 driver, which kernel is 4.4.9- v7.

I guess it's trying to use the wrong monitor, it should be HDMI-0 according to Xorg.0.log from success boot with fbturbo driver.
But I don't know how to set HDMI-0 as default monitor. I have tried xrandr, but got:

$this->bbcode_second_pass_code('', 'xrandr: Failed to get size of gamma for output default ')

compared to xrandr output on Raspbian :

$this->bbcode_second_pass_code('', 'Screen 0: minimum 320 x 200, current 1366 x 768, maximum 2048 x 2048
HDMI-0 connected 1366x768+0+0 (normal left inverted right x axis y axis) 256mm x 144mm
1366x768 60.00*+
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94')

Can you give some hints with how to set default monitor on archlinux arm?
yangxuan8282
 
Posts: 3
Joined: Mon May 09, 2016 4:18 am

Re: Activating Open GL driver on Pi 3?

Postby sdjf » Thu May 19, 2016 11:07 am

Did you create an /etc/X11/xorg.conf.d/99-fbturbo.conf file as shown in that post you linked to? You can call the file anything you want, except that the number at the start tells X what order to use to look at the files.

Are you able to ssh in to see what is going on? I am wondering if the pi may have assigned your monitor a different device reference? It might make it hdmi-1 if the system has not totally updated itself, or even hdmi-2.

Maybe post the contents of your /etc/X11/xorg.conf.d/ file for the monitor. The example references a /dev/fb0 as I recall, you need to change that and anything else to what it should be - I do not have an hdmi monitor, so I cannot check on my own setup.

There should be a line in the conf file that tells Xorg what driver to use for the monitor.

Hunt for examples of xorg.conf.d files that use hdmi monitors - I hesitate posting my conf file used for a usb monitor as it is a different device and driver as well as version of Pi, but the principle is the same.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Activating Open GL driver on Pi 3?

Postby Enverex » Sat Jun 04, 2016 8:15 pm

So what are we missing here? Performance is great on Lakka, but terrible on Arch. Using TurboFB doesn't seem to really help. What should we be doing here? It's like the graphics driver isn't actually being loaded given the terrible performance (I get about 0.3fps in RetroArch for example).
Enverex
 
Posts: 14
Joined: Wed Oct 24, 2012 12:02 pm

Previous

Return to Broadcom

Who is online

Users browsing this forum: No registered users and 3 guests