<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
On 25/01/15 08:08, Aaron Plattner wrote:<br>
</div>
<blockquote
cite="mid:1422148093-6013-1-git-send-email-aplattner@nvidia.com"
type="cite">
<pre wrap="">This series is a counterproposal to Nicolas's patch "dummy: Add support for
custom resolutions (RandR 1.2)" [1]
This version allows using xrandr's --fb option to resize the screen rather than
having to try to create fake modes that pass validation against made-up hardware
constraints. It also allows resizing the framebuffer all the way up to
32767x34767 (assuming malloc succeeds).
I didn't try to test the interaction of that with DGA and opted instead to just
get rid of DGA support. Let me know if you think DGA in xf86-video-dummy is
actually useful for something and I can try to see if that makes sense.</pre>
</blockquote>
If I understand what this is supposed to allow us to do... I like
it.<br>
<br>
The patches still apply cleanly, but when I try to use the dummy
driver, it crashes in libpixman.<br>
Am I missing something?<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
$ gdb --args /usr/libexec/Xorg -noreset -nolisten tcp +extension
GLX +extension RANDR +extension RENDER -auth $XAUTHORITY -logfile
${HOME}/.xpra/Xorg.10.log -config /etc/xpra/xorg.conf :10 <br>
GNU gdb (GDB) Fedora 7.9.1-17.fc22<br>
Copyright (C) 2015 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later
<a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.html></a><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "x86_64-redhat-linux-gnu".<br>
Type "show configuration" for configuration details.<br>
For bug reporting instructions, please see:<br>
<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/bugs/"><http://www.gnu.org/software/gdb/bugs/></a>.<br>
Find the GDB manual and other documentation resources online at:<br>
<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/documentation/"><http://www.gnu.org/software/gdb/documentation/></a>.<br>
For help, type "help".<br>
Type "apropos word" to search for commands related to "word"...<br>
Reading symbols from /usr/libexec/Xorg...Reading symbols from
/usr/lib/debug/usr/libexec/Xorg.debug...done.<br>
done.<br>
(gdb) r<br>
Starting program: /usr/libexec/Xorg -noreset -nolisten tcp
+extension GLX +extension RANDR +extension RENDER -auth
/run/user/1000/gdm/Xauthority -logfile
/home/antoine/.xpra/Xorg.10.log -config /etc/xpra/xorg.conf :10<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib64/libthread_db.so.1".<br>
<br>
X.Org X Server 1.17.2<br>
Release Date: 2015-06-16<br>
X Protocol Version 11, Revision 0<br>
Build Operating System: 4.0.4-202.fc21.x86_64 <br>
Current Operating System: Linux desktop 4.1.6-200.fc22.x86_64 #1 SMP
Mon Aug 17 19:54:31 UTC 2015 x86_64<br>
Kernel command line: BOOT_IMAGE=/vmlinuz-4.1.6-200.fc22.x86_64
root=LABEL=SSDRAIDROOT ro domdadm rd.blacklist=nouveau nomodeset
rd.md.uuid=730e916f:abc3f9b9:f5b2eb84:294a44aa rootfstype=ext4
LANG=en_GB.UTF-8<br>
Build Date: 15 July 2015 08:16:41AM<br>
Build ID: xorg-x11-server 1.17.2-2.fc22 <br>
Current version of pixman: 0.32.6<br>
Before reporting problems, check <a class="moz-txt-link-freetext" href="http://wiki.x.org">http://wiki.x.org</a><br>
to make sure that you have the latest version.<br>
Markers: (--) probed, (**) from config file, (==) default setting,<br>
(++) from command line, (!!) notice, (II) informational,<br>
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br>
(++) Log file: "/home/antoine/.xpra/Xorg.10.log", Time: Wed Sep 16
19:14:06 2015<br>
(++) Using config file: "/etc/xpra/xorg.conf"<br>
(==) Using config directory: "/etc/X11/xorg.conf.d"<br>
(==) Using system config directory "/usr/share/X11/xorg.conf.d"<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
sse2_fill (imp=<optimized out>, bits=<optimized out>,
stride=<optimized out>, bpp=<optimized out>,
x=<optimized out>, y=<optimized out>, width=8192,
height=4068, filler=0) at pixman-sse2.c:3403<br>
3403 save_128_aligned ((__m128i*)(d + 16), xmm_def);<br>
(gdb) bt<br>
#0 sse2_fill (imp=<optimized out>, bits=<optimized
out>, stride=<optimized out>, bpp=<optimized out>,
x=<optimized out>, y=<optimized out>, width=8192,
height=4068, filler=0) at pixman-sse2.c:3403<br>
#1 0x00007ffff6aff91b in _pixman_implementation_fill (imp=0x8398c0,
bits=bits@entry=0x865070, stride=stride@entry=8192,
bpp=bpp@entry=32, x=x@entry=0, y=y@entry=0, width=8192, height=4096,
filler=<optimized out>) at pixman-implementation.c:277<br>
#2 0x00007ffff6ab1869 in pixman_fill (bits=bits@entry=0x865070,
stride=stride@entry=8192, bpp=bpp@entry=32, x=x@entry=0,
y=y@entry=0, width=width@entry=8192, height=4096, filler=0) at
pixman.c:766<br>
#3 0x00007fffef375448 in fbFill
(pDrawable=pDrawable@entry=0x87ab30, pGC=pGC@entry=0x878c90,
x=x@entry=0, y=y@entry=0, width=width@entry=8192,
height=height@entry=4096) at fbfill.c:125<br>
#4 0x00007fffef375cb0 in fbPolyFillRect (pDrawable=0x87ab30,
pGC=0x878c90, nrect=<optimized out>, prect=0x91da58) at
fbfillrect.c:72<br>
#5 0x000000000051fec8 in damagePolyFillRect (pDrawable=0x87ab30,
pGC=0x878c90, nRects=1, pRects=<optimized out>) at
damage.c:1193<br>
#6 0x0000000000578d12 in miPaintWindow (pWin=<optimized out>,
pWin@entry=0x87ab30, prgn=prgn@entry=0x7fffffffdc00,
what=what@entry=0) at miexpose.c:560<br>
#7 0x0000000000579541 in miWindowExposures (pWin=0x87ab30,
prgn=0x7fffffffdc00) at miexpose.c:395<br>
#8 0x0000000000467547 in MapWindow (pWin=0x87ab30, client=0x83bb00)
at window.c:2600<br>
#9 0x000000000043e560 in dix_main (argc=17, argv=0x7fffffffdd98,
envp=<optimized out>) at main.c:263<br>
#10 0x00007ffff5996700 in __libc_start_main (main=0x428990
<main>, argc=17, argv=0x7fffffffdd98, init=<optimized
out>, fini=<optimized out>, rtld_fini=<optimized
out>, stack_end=0x7fffffffdd88) at libc-start.c:289<br>
#11 0x00000000004289c9 in _start ()<br>
<br>
Thanks<br>
Antoine<br>
<br>
<blockquote
cite="mid:1422148093-6013-1-git-send-email-aplattner@nvidia.com"
type="cite">
<pre wrap="">
[1] <a class="moz-txt-link-freetext" href="http://lists.x.org/archives/xorg-devel/2014-November/044580.html">http://lists.x.org/archives/xorg-devel/2014-November/044580.html</a>
Aaron Plattner (6):
Remove pointless empty functions
Delete XV stuff
Delete dPtr->screenSaver
Remove DGA support
Get rid of dPtr->FBBase
Support RandR 1.2
configure.ac | 9 --
src/Makefile.am | 5 --
src/dummy.h | 20 -----
src/dummy_cursor.c | 2 -
src/dummy_dga.c | 175 ------------------------------------
src/dummy_driver.c | 253 ++++++++++++++++-------------------------------------
6 files changed, 73 insertions(+), 391 deletions(-)
delete mode 100644 src/dummy_dga.c
</pre>
</blockquote>
<br>
</body>
</html>