Bug 4363 - openbox crashes with qemu at 24 bit
Status: ASSIGNED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.4.7.2
Hardware: PC Linux
: P1 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2009-11-30 14:55 EST by Jeff Moe
Modified: 2011-08-31 13:32:02 EDT
2 users (show)

See Also:


Attachments
Patch to use width instead of height in a loop (736 bytes, patch)
2011-05-02 19:52 EDT, Pascal Terjan

Description Jeff Moe 2009-11-30 14:55:12 EST
I'm seeing the same problem as reported here:
http://icculus.org/pipermail/openbox/2009-January/005987.html

I am running qemu with a x86_64 Fedora 12 host and a i386 Debian Lenny guest with 24 bit video (which is default).

If I add "DefaultDepth 16" to the qemu guest's xorg.conf things work fine. Without this, openbox starts, but if you click on the desktop it immediately crashes with:

ObRender-ERROR **: Your bit depth is currently unhandled

Thanks!
Comment 1 Dana Jansens 2009-12-09 11:09:06 EST
Could you try this with Openbox 3.4.8 ?  We did add 24-bit support in ObRender at some point, so it's not clear if this has been fixed or not.
Comment 2 Dana Jansens 2010-02-08 15:15:13 EST
waiting for feedback
Comment 3 Jeff Moe 2010-02-09 16:22:11 EST
Sorry, I don't have this setup available to me anymore. If/when I do, I will followup here.
Comment 4 Dana Jansens 2010-02-09 20:59:24 EST
ok going to close this until further feedback, as something similar was addressed which likely fixed it, if it ever is an issue anymore anyhow.
Comment 5 Julien Lavergne 2010-03-25 18:13:19 EDT
I confirmed that it's still a problem on Ubuntu Lucid, which use openbox 3.4.10
Comment 6 Dana Jansens 2010-03-25 20:02:49 EDT
Can you give me steps you used to reproduce it?
Comment 7 bugreport 2010-08-12 09:27:21 EDT
Hello,

I can reproduce this bug.
I got here from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545031

I use Debian Lenny with kvm as host.
Host versions:
kvm  72+dfsg-5~lenny5
qemu 0.9.1-10lenny1

I use Debian Squeeze (testing) as kvm guest.
Guest versions:
lxde    0.5.0-4
openbox 3.4.11.1-1

The error message in .xsession-errors (guest) is an endlessly repeated:
> ObRender-ERROR **: Your bit depth is currently unhandled
> 
> aborting...
> 

It makes no difference if I 
- let kvm show the display directly (in an X11 window) or
- connect to the guest display via vnc.

No special setup is needed to reproduce the bug. I can log in, but as soon as I open a window (browser, filemanager, lxde-tip, does not matter) I get a blinking screen, no window decorators, the error messages, and an ever increasing openbox pid.

I hope this helps. It would be neat if this could be fixed in the to-be-released debian squeeze. Tell me if you need more information.

Thanks,
Wolfgang
Comment 8 bugreport 2010-08-12 10:21:17 EDT
Hello,

I forgot to say in my previous comment that I logged in to lxde, which uses openbox. I used gdm to log in. But you probably already guessed that due to my version information.

I also tried Ubuntu 10.04 as kvm guest (with the same host).
Guest versions:
lxde    0.5.0-3ubuntu2
openbox 3.4.10-1

Same error behaviour as above.

Thanks,
Wolfgang
Comment 9 Pascal Terjan 2011-05-02 19:52:59 EDT
Created attachment 2681 [details]
Patch to use width instead of height in a loop

24 bit is supported except in swap_byte_order.

While looking at it I noticed something looking like an obvious bug, but I wonder why it never caused any visible problem.
Comment 10 Dana Jansens 2011-08-31 13:32:02 EDT
Thanks for the patch! I'll definitely apply that.

Um, so the bit depth issue is still unhandled though I guess.  I will take a look at swap_byte_order, thanks for pointing out the problem for me.