Closed Bug 742717 Opened 12 years ago Closed 6 years ago

[Desktop Build]B2G Desktop graphics problems on Ubuntu

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-basecamp:-)

RESOLVED WONTFIX
blocking-basecamp -

People

(Reporter: benfrancis, Unassigned)

Details

(Whiteboard: b2g-desktop-builds)

Attachments

(1 file)

Whenever I run a B2G desktop build on Ubuntu I get very choppy graphics, with parts of the UI disappearing (e.g. the homescreen icons disappear and the background shows through) or being replaced by black boxes. If I move the B2G window or move the UI elements on the screen they re-appear, but then disappear again after a second or so.

If I run B2G with the -jsconsole flag, the graphics problems apply to the JSConsole window as well.

This has been a problem for as long as I can remember and occurs for me on a MacBook, a MacBook Pro and an Intel i7 desktop machine running Ubuntu 11.10. Etienne has the same problem on his new Thinkpad running Ubuntu.

I'm not sure if this is a Gecko problem, a graphics library problem or a graphics driver problem on Ubuntu.
Sounds like an OpenGL/driver issue.
The default b2g prefs file forces on GL layers compositing.  When we first wrote the code, GL layers was forceably disabled on mobile, so we had to override that.

You're probably running tests on machines with blacklisted graphics cards.  All GPUs are blacklisted on X11 right now.

We should investigate removing the force-GL pref.
kaze mentioned that as a workaround you can add

user_pref("layers.acceleration.disabled", true);

to prefs.js in your profile.
Not a Basecamp blocker.
blocking-basecamp: --- → -
using whiteboard "b2g-desktop-builds" for ease of tracking
Whiteboard: b2g-desktop-builds
I add user_pref("layers.acceleration.disabled", true);

to prefs.js in my gaia/profile 
still when you press home key. Icons disappeared.
This doesn't sound like the same bug weijia, what do you mean when you say icons disappear? Is it just app icon on the homescreen pages, or icons in the dock as well? are you able to provide a screenshot?
Attached image bug-icons- gone
Yes, it doesn't sound like the same one.
Let me describe it a little bit.(Ubuntu 12.04 64 bits
1. download b2g latest(b2g-19.0a1.en-US.linux-i686.tar.bz2)
2. run b2g -profile $MYPROFILE/profile
  messages are 
/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64

(plugin-container:2977): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64

(plugin-container:2977): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

3. open browser at bottom right.

4. press home key on the keyboard.

Just background picture shows up. no any icons.
see the screenshot
Summary: B2G Desktop graphics problems on Ubuntu → [Desktop Build]B2G Desktop graphics problems on Ubuntu
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: