jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22747
Joined: Sat Jul 30, 2011 7:41 pm

New Open GL Driver, Bug report thread

Wed Feb 10, 2016 11:11 am

This is a Bug Report thread for the new OpenGL driver.

Note this driver is still experimental, and therefor will have issues. Please report any UNIQUE issues on this thread. Do not expect an answer, this is for reports only. Please include as much detail as possible on the issues you are reporting (e.g. The program you are running, the issue seen, any debugging messages displayed). Non-report posts will be deleted without warning.

Thank for your help in testing this driver.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Heater
Posts: 12739
Joined: Tue Jul 17, 2012 3:02 pm

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 11:17 am

Jessie won't but with GL Driver enabled but no HDMI screen attached.
-----------------------------------------------------------------------------------------

Sorry, this is a copy of a post under the Raspbian section.

I downloaded and installed a new Raspbian Jessie image, enabled the GL driver and set up WIFI networking. Everything worked fine.

However on removing the keyboard, mouse and display and power cycling WIFI does not come up. Neither does ethernet when I tried that.

After some futzing around I come to one conclusion: With the new GL driver enabled the thing does not boot without my HDMI screen plugged in.

How do I know?

The WIFI does not work, as stated, but also I notice the green LED gets stuck hard on instead of going off like it normally does after a successful boot.

So, I go into raspi-config and disable the GL driver. BINGO every thing works fine again.

Now, you might say "That's silly, why enable the GL driver if you want to run headless". True enough, but I'm always experimenting with this and that, headless or otherwise, it would be nice to not have to keep tweaking the config to get it to boot.

Thanks for creating this wonderful driver !

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

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 11:39 am

So far the only issue I have noted is scrolling in Epiphany is jerky compared to how it is by default. I am using HDMi to a HD 1080p TV.
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Buster.
Raspberry Pi Model 2B v1.1

gamecat666
Posts: 14
Joined: Thu Nov 01, 2012 12:59 pm

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 11:52 am

black screen after power on colour gradient
(theres a similar bug which others get which is console only, and fixed when setting pi to boot into GUI. this is not that issue)

- mine seems to function and boot up okay, I can SSH into it while it is displaying black, but I get no display at all. I suspect its a TV issue as the TVdisplay shows a 'unsupported format' screensavery thing floating about
Its using the same HDMI as before enabling it, and the TV was okay with the settings beforehand. (does the new driver not use the hdmi/framebuffer settings in the config.txt?)

Micha1982
Posts: 261
Joined: Wed Oct 03, 2012 11:18 am

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 1:00 pm

the reason for my bootup-blackscreen:

- it only works when booting directly to gui
- screensize does not fit, its unusable atm with 720p-mode in config.txt
Last edited by Micha1982 on Thu Feb 11, 2016 2:31 am, edited 1 time in total.
Alles, was schiefgehen kann, wird auch schiefgehen.

Akselmo
Posts: 19
Joined: Tue Feb 09, 2016 3:04 pm

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 1:05 pm

I will copy paste my troubleshoot thread here, in case it helps. :)

Anyway, after installing all the updates introduced here: https://www.raspberrypi.org/blog/anothe ... n-release/ and after enabling the OpenGL drivers, a pink line appeared on the far left side of my TV. I don't really mind it, but I don't think that's supposed to happen.

Glxgears ran just fine, but when trying to launch neverball from terminal, the game says that it couldn't get EGL display. Trying to launch it from the shortcut does nothing.

When my Pi opens up screensaver, it loses the HDMI connection. This also happens with anything fullscreen, like Dosbox. I tried to set Dosbox into OpenGL mode, that didn't work either.

Also, when trying to play Darkplaces Quake, the Pi just crashed and I couldn't do anything but pull the plug.

Disabling OpenGL drivers made everything normal again, the pink line dissapeared and I could set Dosbox fullscreen, Quake didn't crash etc.

I don't know if something went wrong with the installation but I ran every command for like three times and it always said that everything was up to date.
And to add, I'm using HDMI to TV and resolution is 1360x768

ait
Posts: 125
Joined: Sun Oct 30, 2011 6:51 pm

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 1:29 pm

Hello,
on my RPI2 with the GL Driver enabled and with only the official 7" Touch Display the RPI won't boot (only the big coulered square).
With HDMI Monitor plugged in it works fine on the HDMI monitor - GLX -Gears on a monitor with 800x600 is 80 FPS.
With HDMI- Monitor plugged in the official 7" Touch Display stays black.

Professor
Posts: 24
Joined: Fri May 22, 2015 2:16 pm

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 3:52 pm

My RPi 2 just freezes on boot with driver enabled, few times it had successfully booted but the screen got outta site (in 720p mode, in 1080p mode it just doesn't boot at all). I tried to change video memory split - no results. And yea, my TV used to say "unsupported format" while my experiments, both HDMI and DVI.

mung
Posts: 506
Joined: Fri Nov 18, 2011 10:49 am

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 3:53 pm

I hate making bug reports as I am never quite sure if it is actually a pebkac error.

Anyways, I have not made any proper tests on this yet, not sure I will get time to until the weekend.

Problem maybe pyopengl or TK python-tk related?

linuxcnc axis gui running causes screen redraw problems in X, either whole screen is blanked or certain possibly random windows get blanked on focus.

e.g. on running 'linuxcnc' when the tk based gui configuration selector window is mapped the whole screen goes black or sometimes just the mapped window will become be black, mouse pointer is still visible, if mouse clicking finds a window and focuses it for dragging the blanked areas of screen are redrawn as the window is moved unobscuring areas lower in stacking order.

Sometimes the fully drawn screen gets mapped after dragging the window around, but after clicking subwindows (buttons) other parts of the screen or seemingly random windows will be blanked.

e.g. once axis is running moving mouse over tk buttons may map them, then clicking a button may blank the whole axis window or just a few buttons or even some of the buttons on the window manager frame for the axis window.

I am guessing somewhere there is lack of memory, which makes me wonder if I should have changed gpu_memory in /boot/config.txt, but this maybe a problem with tk window management?

Although now I think about it not certain axis is tk based, so maybe disregard this guess, other than the errors, anyways I will look at it over the weekend and maybe make another report.

aworan
Posts: 13
Joined: Tue Jun 23, 2015 9:09 am

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 5:45 pm

Hi,
I have an old 4/3 monitor with resolution of 1280x1024.
I use a HDMI to DVI cable.
When I don't use the new driver all is working good.
When I activate the new opengl driver, my desktop don't fit my monitor screen.
I have a resolition of 1 152 × 864 for the desktop and a useless void part on the bottom of the screen.
I make a photo (gray part is not usable, I can't put the mouse pointer on it).
http://www.hostingpics.net/viewer.php?i ... opengl.jpg
I try to force hdmi group and hdmi mode to force screen resolution to 1280x1024 but it changes nothing.

Aworan
Last edited by aworan on Thu Feb 11, 2016 5:59 pm, edited 2 times in total.

Pithagoros
Posts: 580
Joined: Wed Nov 12, 2014 8:16 pm

Re: New Open GL Driver, Bug report thread

Wed Feb 10, 2016 5:53 pm

Identical 7" Touchscreen behaviour as described by "ait" in the comment in this thread at Wed Feb 10, 2016 1:29 pm.

SD Card configured using the update / dist-upgrade process.

mung
Posts: 506
Joined: Fri Nov 18, 2011 10:49 am

Re: New Open GL Driver, Bug report thread

Thu Feb 11, 2016 7:15 pm

Another bug found, I think......

OpenOffice calc crashed using the new GPU driver, totally locked the pi solid so I powered it off(probably should have tried plugging in a network cable or serial to see if remote login was possible?)

Anyways I have no idea how to try and trace such a problem, the sheet was about 6 columns by 55 rows and I was just starting to input and copy a formula into multiple cells.

I am using a 2A 'genuine rpi' psu and no sign of the low power icon top right of screen.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: New Open GL Driver, Bug report thread

Fri Feb 12, 2016 12:38 pm

In openarena it works well in windowed mode but in full screen mode the colors look washed out, for example the starting slash screen with the open arena logo has a while background, but in full screen mode it has a grey background.

GLmark2 testing also resulted in a few bugs:
1) one of the asteroids is only rendered partially: https://youtu.be/yVuIAmf8OEU?t=110

2) This is supposed to be a shiny bunny: https://youtu.be/yVuIAmf8OEU?t=277

3) at the end of the benchmark instead of a proper result it shows a segmentation fault error: http://geektillithertz.com/wordpress/in ... benchmark/

PS: i know this is a bug report thread, but you know what i am really interested in seeing (apart from what already has been done which is freaking awesome): DUAL display DSI+HDMI support.
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

texy
Forum Moderator
Forum Moderator
Posts: 5156
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: New Open GL Driver, Bug report thread

Fri Feb 12, 2016 1:53 pm

ric96 wrote:In openarena it works well in windowed mode but in full screen mode the colors look washed out, for example the starting slash screen with the open arena logo has a while background, but in full screen mode it has a grey background.

GLmark2 testing also resulted in a few bugs:
1) one of the asteroids is only rendered partially: https://youtu.be/yVuIAmf8OEU?t=110

2) This is supposed to be a shiny bunny: https://youtu.be/yVuIAmf8OEU?t=277

3) at the end of the benchmark instead of a proper result it shows a segmentation fault error: http://geektillithertz.com/wordpress/in ... benchmark/

PS: i know this is a bug report thread, but you know what i am really interested in seeing (apart from what already has been done which is freaking awesome): DUAL display DSI+HDMI support.
That's already there with software packages that support it.
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
karrika
Posts: 1052
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: New Open GL Driver, Bug report thread

Fri Feb 12, 2016 4:24 pm

I feel a little embarrassed to report a bug as it is a miracle that KiCad is usable on the Raspberry Pi in the first place.

The VRML display of components and the board work in real time. I would estimate 20-30 frames per second.

Image

But there is some bugs when you choose the "fill" option for traces and text.

Image

When choosing "sketch" everything works perfectly. But the traces are hollow.

Image

The last option "line" works also fairly good. Some thick silk-screen texts look like in the "fill" mode-

Image

The kicad is the latest stock-version from raspbian. It appeared 2-3 days ago.

Edit: I also disabled OpenGL and ran this on PiZero. Everything worked perfectly. Also the "fill" mode and 3D VRML models. But the drawing speed went down to 3 seconds per frame. So it is roughly 20 times slower than a Raspberry Pi 2.

PiZero can also be used without the 3D displays nicely for editing schematics and routing the pcb.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: New Open GL Driver, Bug report thread

Fri Feb 12, 2016 7:36 pm

Completely messes up moonlight-stream
Usually it work well even at 1080p but with the gpu driver i am getting way less that 1fps.
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

fanoush
Posts: 454
Joined: Mon Feb 27, 2012 2:37 pm

Re: New Open GL Driver, Bug report thread

Sat Feb 13, 2016 8:15 am

Not sure if someone mentioned it but there is conflict with the undervoltage rainbow square warning that sometimes appears in upper right corner. With new driver it causes big rainbow square across whole screen similar to the one seen at boot time.

It can be disabled via avoid_warnings=1 in config.txt

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: New Open GL Driver, Bug report thread

Sat Feb 13, 2016 1:01 pm

It's already reported, but I and a couple of others can confirm:

Enabling the Open GL driver prevents the Pi from running headless.
viewtopic.php?f=28&t=136095

My testing environment was my latest Pi and the latest Raspbian on a wired connection. If Open GL is enabled, the Pi never becomes visible on the network. (Tested with FIng.) If Open GL is disabled then the Pi is visible on the next boot. Rinse and repeat.

Heater
Posts: 12739
Joined: Tue Jul 17, 2012 3:02 pm

Re: New Open GL Driver, Bug report thread

Sat Feb 13, 2016 1:40 pm

Yep, the failure to run headless, is the first bug report in this thread. Good to have confirmation.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: New Open GL Driver, Bug report thread

Sun Feb 14, 2016 7:48 am

Kodi in the raspbian repo doesn't work and while compiling from source i get bombarded with the following errors http://paste.ubuntu.com/15052103/

Compilation Guide: http://kodi.wiki/view/HOW-TO:Compile_Ko ... _or_Ubuntu
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

Musketeer
Posts: 138
Joined: Fri Feb 12, 2016 1:23 pm
Location: CZ

Re: New Open GL Driver, Bug report thread

Sun Feb 14, 2016 10:59 am

After instlling RAspbian on Pi 2 and enabling OpenGL there are two BIG problems. 1. OMXplayer freezes and do not work or only play with sound. 2. Desktop look broken - menu looks too big but cannot be resized correctly. rest of display is simply unaccesible (1280 x 1024 - 5:4). It looks like OpenGL force 4:3 or likewise. Config is set correctly to 35 mode of course. And it works while booting. Strange is too that when I PrintSreen desktop and past it to Image Viewer it looks fine (desktop size).
Linux is like woman - both wants 180 % of your time...
You want speed Java 9.8x? Throw it out of some Window(s)!
My girlfriend is terribly unmature - she always sinks my boats in bathtub!

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

Re: New Open GL Driver, Bug report thread

Sun Feb 14, 2016 12:40 pm

Is this thread being monitored by the people in the know ?
If i had to guess Mailinglists are still the right place to
communicate issues to the developer(s).

Futhermore most involved projects should have a proper
bugtracker which would be easier for the devs to work with ?!


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

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5269
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: New Open GL Driver, Bug report thread

Sun Feb 14, 2016 12:44 pm

ric96 wrote:Kodi in the raspbian repo doesn't work and while compiling from source i get bombarded with the following errors http://paste.ubuntu.com/15052103/
Nothing that uses the gpu side API for acceleration will work with the arm side driver.

You will never run the raspberry pi build of Kodi from raspbian repo using this driver.
You might have more luck the generic debian build of Kodi (without raspberry pi specifics in).
In theory that will use the OpenGL interface with Eric's driver. No hardware video support, but software video decode could work.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22747
Joined: Sat Jul 30, 2011 7:41 pm

Re: New Open GL Driver, Bug report thread

Sun Feb 14, 2016 1:11 pm

ghans wrote:Is this thread being monitored by the people in the know ?
If i had to guess Mailinglists are still the right place to
communicate issues to the developer(s).

Futhermore most involved projects should have a proper
bugtracker which would be easier for the devs to work with ?!

ghans
As you can see, Dom is keeping an eye, and I have asked Eben to point Eric Anholt at this thread.

The problem with a proper 'bugtracker' is that most people reporting bugs for this particular driver won't know what that is or how to use it.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: New Open GL Driver, Bug report thread

Sun Feb 14, 2016 3:53 pm

dom wrote:
ric96 wrote:Kodi in the raspbian repo doesn't work and while compiling from source i get bombarded with the following errors http://paste.ubuntu.com/15052103/
Nothing that uses the gpu side API for acceleration will work with the arm side driver.

You will never run the raspberry pi build of Kodi from raspbian repo using this driver.
You might have more luck the generic debian build of Kodi (without raspberry pi specifics in).
In theory that will use the OpenGL interface with Eric's driver. No hardware video support, but software video decode could work.
hmmm... ive been trying to compile one for sometime but getting many errors related to libgles and the generic debian repo version has many dependency issues.
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

Return to “General discussion”