Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display problem #2

Closed
bobblkabb opened this issue May 28, 2015 · 26 comments
Closed

display problem #2

bobblkabb opened this issue May 28, 2015 · 26 comments

Comments

@bobblkabb
Copy link

Having display trouble with Neverball 1.6.0-1 on a Nexus 4 device (Ubuntu Touch only, no android).
System: Ubuntu 14.10 (r19)

screenshot20153128_093157110

@nikwen
Copy link

nikwen commented May 28, 2015

I am seeing this on my Nexus 4 as well. However, I'm on devel-proposed (15.10).

@popey
Copy link

popey commented May 28, 2015

I see similar corruption on Nexus 7. I would be inclined to file a bug against Mir.

@nikwen
Copy link

nikwen commented May 28, 2015

I think it's worth noting that when I tap the screen where the buttons are supposed to be, the app responds to that.

Here's the log output when I open the app:

phablet@ubuntu-phablet:~/.cache/upstart$ cat application-click-neverball.lb_neverball_1.6.0-1.log 
libust[3803/3805]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3803/3805]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3803/3806]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3803/3806]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
[1432811798.732386] Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/client-platform/
[1432811798.734340] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/mesa.so.2
[1432811798.738918] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/dummy.so
[1432811798.740993] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/android.so.2
shm_open() failed: Permission denied
shm_open() failed: Permission denied
Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.0'
Creating a window (768x1280, fullscreen)
Created a window (1, 768x1280, fullscreen)
Size change event (1, 768x1280)

@pseuudonym404
Copy link
Owner

I've been testing on 14.10 on my Aquaris.

I'd really like to fix this, but as I don't have any nexus devices, I can't really do much at the moment apart from answer questions if somebody else feels like having a go at fixing it.

@nikwen
Copy link

nikwen commented May 28, 2015

@pseuudonym404 You could try running your app in the emulator to see whether it works there. (If there's an option for that, choose a different resolution than the bq's one.)

@pseuudonym404
Copy link
Owner

I just successfully got neverball to run in the emulator (i386 build), with no graphical corruption.

I changed the code to load glTexGeniOES dynamically to solve link errors in the i386 build.

I don't know if that made any difference to nexus hw, but I'm going to clean that up a bit (it just assumes it'll work at the moment), and update the package.

@bobblkabb
Copy link
Author

Unfortunately there's no difference to the previous version.

@nikwen
Copy link

nikwen commented May 29, 2015

Yes, sadly, it didn't change anything for me.
It could still be a Mir bug though.

@pseuudonym404
Copy link
Owner

I built a couple of the SDL tests, if you could try them and let me know the results?
Chessboard uses software rendering, to check if it's a window creation problem.

https://www.dropbox.com/s/ri1qw0xja7pnfdq/chessboard.lb_1.0-1_armhf.click
https://www.dropbox.com/s/t48lfztstkm8m95/gles.lb_1.0-1_armhf.click

@popey
Copy link

popey commented May 29, 2015

@pseuudonym404
Copy link
Owner

It could also be an SDL bug, although given that it does work on some devices, mir does seem more likely.
Do you want to file the bug, or should I?

@popey
Copy link

popey commented May 29, 2015

@ghost
Copy link

ghost commented May 31, 2015

Same with 1.6.0-3.

@nikwen
Copy link

nikwen commented Jun 1, 2015

Thanks for filing the bug report.

@pseuudonym404
Copy link
Owner

I just released an update with a possible workaround for nexus, is it actually working for anyone?

@popey
Copy link

popey commented Jul 6, 2015

Works on Nexus 7 2013! Nice one!

@pseuudonym404
Copy link
Owner

Thanks for letting me know. :)
I'll leave this bug open for a few days just in case it's not working for everyone.

@bobblkabb
Copy link
Author

1.6.0-4 works now on Nexus 4.
Thanks a lot!

@nikwen
Copy link

nikwen commented Jul 7, 2015

Working perfectly on my Nexus 4. Thank you very much!

@zubozrout
Copy link

Yes, works flawlessly (both Neverball and Neverputt) on Nexus 7 LTE. Thank you 👍

@popey
Copy link

popey commented Jul 24, 2015

@pseuudonym404 is it possible to get the source for the above chessboard and gles demos? They're helpful for testing sdl and mir :)

@pseuudonym404
Copy link
Owner

They're part of the SDL source, in the test directory. :)

I just built them manually with gcc in a click chroot.

@popey
Copy link

popey commented Jul 24, 2015

Ok thanks. I thought you may have tweaked them a little :)

@pseuudonym404
Copy link
Owner

I did use SDL_FULLSCREEN_DESKTOP instead of SDL_FULLSCREEN.
They do run without modifcation though. :)

@pseuudonym404
Copy link
Owner

Forgot to close this. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants