[PATCH xf86-video-dummy 0/6] Cleanups and RandR 1.2 support
Antoine Martin
antoine at nagafix.co.uk
Wed Sep 16 05:16:42 PDT 2015
Hello,
On 25/01/15 08:08, Aaron Plattner wrote:
> 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.
If I understand what this is supposed to allow us to do... I like it.
The patches still apply cleanly, but when I try to use the dummy driver,
it crashes in libpixman.
Am I missing something?
$ 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
GNU gdb (GDB) Fedora 7.9.1-17.fc22
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/libexec/Xorg...Reading symbols from
/usr/lib/debug/usr/libexec/Xorg.debug...done.
done.
(gdb) r
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
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: 4.0.4-202.fc21.x86_64
Current Operating System: Linux desktop 4.1.6-200.fc22.x86_64 #1 SMP Mon
Aug 17 19:54:31 UTC 2015 x86_64
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
Build Date: 15 July 2015 08:16:41AM
Build ID: xorg-x11-server 1.17.2-2.fc22
Current version of pixman: 0.32.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/antoine/.xpra/Xorg.10.log", Time: Wed Sep 16
19:14:06 2015
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Program received signal SIGSEGV, Segmentation fault.
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
3403 save_128_aligned ((__m128i*)(d + 16), xmm_def);
(gdb) bt
#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
#1 0x00007ffff6aff91b in _pixman_implementation_fill (imp=0x8398c0,
bits=bits at entry=0x865070, stride=stride at entry=8192, bpp=bpp at entry=32,
x=x at entry=0, y=y at entry=0, width=8192, height=4096, filler=<optimized
out>) at pixman-implementation.c:277
#2 0x00007ffff6ab1869 in pixman_fill (bits=bits at entry=0x865070,
stride=stride at entry=8192, bpp=bpp at entry=32, x=x at entry=0, y=y at entry=0,
width=width at entry=8192, height=4096, filler=0) at pixman.c:766
#3 0x00007fffef375448 in fbFill (pDrawable=pDrawable at entry=0x87ab30,
pGC=pGC at entry=0x878c90, x=x at entry=0, y=y at entry=0,
width=width at entry=8192, height=height at entry=4096) at fbfill.c:125
#4 0x00007fffef375cb0 in fbPolyFillRect (pDrawable=0x87ab30,
pGC=0x878c90, nrect=<optimized out>, prect=0x91da58) at fbfillrect.c:72
#5 0x000000000051fec8 in damagePolyFillRect (pDrawable=0x87ab30,
pGC=0x878c90, nRects=1, pRects=<optimized out>) at damage.c:1193
#6 0x0000000000578d12 in miPaintWindow (pWin=<optimized out>,
pWin at entry=0x87ab30, prgn=prgn at entry=0x7fffffffdc00, what=what at entry=0)
at miexpose.c:560
#7 0x0000000000579541 in miWindowExposures (pWin=0x87ab30,
prgn=0x7fffffffdc00) at miexpose.c:395
#8 0x0000000000467547 in MapWindow (pWin=0x87ab30, client=0x83bb00) at
window.c:2600
#9 0x000000000043e560 in dix_main (argc=17, argv=0x7fffffffdd98,
envp=<optimized out>) at main.c:263
#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
#11 0x00000000004289c9 in _start ()
Thanks
Antoine
>
> [1] http://lists.x.org/archives/xorg-devel/2014-November/044580.html
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150916/d8eeb812/attachment.html>
More information about the xorg-devel
mailing list