[Xprint] Unified video/print Xserver...

Julien Lafon julien.lafon at gmail.com
Wed Oct 20 08:48:33 EDT 2004


On Sun, 17 Oct 2004 02:07:04 +0200, Roland Mainz
<roland.mainz at nrubsig.org> wrote:
> 
> Hi!
> 
> ----
> 
> We are currently investigating whether it's usefull to make an unified
> video+print Xserver (HP-UX has such a unified Xserver since a long
> time).
> 
> Attached is a small patch which demonstrates how such a unified
> video/print server would look like...
> 
> * Known bugs:
> - DAMAGE needs to be turned off (otherwise a SIGSEGV follows)
> - Spooling print jobs seems to be broken somehow, e.g. only
> print-to-file works
Maybe it is related to the following two messages I found in my system log:
./messages:Oct 19 08:11:21 minou kernel:
request_module[char-major-10-134]: fork failed, errno 1
./messages:Oct 19 08:11:21 minou kernel:
request_module[char-major-81-0]: fork failed, errno 1

> - Xprint-specific options are not listed in the usage output
> 
> * Known limitations (these limitations only apply when both vdeio and
> print screens are acive at the same time. If video and print server are
> seperate processes on seperate display ids then there is no problem...):
> - Xinerama won't be usefull (and won't work as the visuals of the print
> DDX are likely very different from the video DDX) unless Xinerama starts
> to support the combining of multiple physical screens to multiple
> logical screens
Did you file a bug against Xinerama into the fdo bugzilla yet?

> - RENDER disables itself as the print DDX do not have the
> prerequirements (available depths etc.) and do not implement RENDER
> - RANDR is useless (unless there is a way to select only a single screen
> in RANDR, I didn't check that)
What about implementing RANDR support for Xprt that users can change
the geometry of the print screens on the fly?

> 
> * Usage (on SuSE Linux 8.2):
> 1. Checkout tree
> 2. Create xc/config/cf/host.def with the following lines:
> -- snip --
> #define HasFreetype2 NO
> #undef OptimizedCDebugFlags
> #define OptimizedCDebugFlags -g -DDEBUG_$(LOGNAME)
> 
> #define DoLoadableServer NO
> #define PrintOnlyServer NO
> 
> #define BuildServersOnly YES
> -- snip --
> 3. Apply the patch
> 4. % make World 2>&1 | tee -a buildlog.log
> 5. Run Xorg server with
> % (XPCONFIGDIR=/tmp/xptestinstall001/usr/X11R6/lib/X11/xserver gdb
> --args ./Xorg -dumbSched -dpms -audit 4 -pn -extension DAMAGE :2) # (you
> need a Xprint config in
> /tmp/xptestinstall001/usr/X11R6/lib/X11/xserver/).
> 
> Comments/suggestions/etc. welcome...
Roland:
Three words: This is wicked! :)
Do you intend to work on that in te near future or is that something for later?

-- 
Julien Lafon
Consultant Software Engineer


More information about the Xprint mailing list