Bug 1091

Summary: Xvfb cannot start
Product: xorg Reporter: Stefan Dirsch <sndirsch>
Component: Server/DDX/XvfbAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: kem, mharris
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 351    

Description Stefan Dirsch 2004-08-16 03:59:38 UTC
Looks like Xvfb is currently (CVS sources from 2004-08-15) completely broken. 
 
# Xvfb :99 
 
Fatal server error: 
Couldn't add screen 0
Comment 1 Kevin E. Martin 2004-08-17 08:58:18 UTC
This is a problem with 8bpp.  Xvfb works fine at depth 15, 16, 24.
I am testing a fix for 8bpp and will check it in when it is ready.
Comment 2 Stefan Dirsch 2004-08-17 09:43:38 UTC
Thanks. Using e.g. 
 
 Xvfb :99 -screen 0 1600x1200x15 
 Xvfb :99 -screen 0 1600x1200x16 
 Xvfb :99 -screen 0 1600x1200x24 
 
works for me. 
Comment 3 Stefan Dirsch 2004-08-17 09:52:18 UTC
I'll try to do so. Surprisingly it works fine on AMD64, but not on IA32 ... 
Comment 4 Kevin E. Martin 2004-08-17 10:35:14 UTC
(In reply to comment #3)
> I'll try to do so. Surprisingly it works fine on AMD64, but not on IA32 ... 

Did you mean to put this comment here or in bug 1092?

I've got a patch just about ready for Xvfb to fix 8bpp mode, which I should be
able to check in shortly.
Comment 5 Stefan Dirsch 2004-08-17 10:55:45 UTC
> > I'll try to do so. Surprisingly it works fine on AMD64, but not on IA32 ...  
 
> Did you mean to put this comment here or in bug 1092? 
 
Yes, that was for 1092. I'm sorry. 
Comment 6 Kevin E. Martin 2004-08-17 11:01:14 UTC
(In reply to comment #5)
> Yes, that was for 1092. I'm sorry. 

No problem, just wanted to make sure that there wasn't another problem.

I just checked in the fix for 8bpp.  It should work now with just "Xvfb :99".
Closing.
Comment 7 Stefan Dirsch 2004-08-17 12:56:37 UTC
Just verified. The patch fixes the problem, which prevented Xvfb from starting 
in 8bpp. Thanks! 

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.