- 15 Mar, 2020 2 commits
-
-
Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 13 Mar, 2020 1 commit
-
-
Spice uses evdev codes, and this provides a better default on RHEL 7.3, which defaults to the base rules. Without evdev, the 'grey' extended keys (e.g. up/down/home/end) do not function properly. Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 11 Mar, 2020 1 commit
-
-
Jeremy White authored
gcc 4.x warns if you use a { 0 } initialization construct for a structure with an initial member that is also a struct. The { } construct is simpler and appears to work on a wider range of gcc versions. This is a correction to fdfdf110
-
- 20 Feb, 2020 8 commits
-
-
Jeremy White authored
Using NULL causes the server to relay the message on to the agent, which does a superior job to anything we currently want to do. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
This is probably not strictly needed, but it's easy and gets rid of the "Xlib: extension "DPMS" missing on display ":2"." message. Signed-off-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
Signed-off-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
Jeremy White authored
This allow us to size and dynamically resize the dummy driver. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
Signed-off-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
Signed-off-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
Signed-off-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
Jeremy White authored
Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Signed-off-by:
Henri Verbeet <hverbeet@codeweavers.com>
-
- 20 Aug, 2019 3 commits
-
-
Add a cache to allow the reuse of SHM segments. Shared memory segments are added to the cache instead of being deallocated, and the cache is searched instead of/before allocating a new segment. Both the SHM segments and their attachment with the X server are cached. The cache currently has a fixed number of 10 entries, this provided a good cache hit rate while keeping memory usage under control. Building with DEBUG_SHM_CACHE defined and running with G_MESSAGES_DEBUG=all will periodically print out the SHM cache hit rate. On my Ubuntu 18.04 system running XFCE4 with a 2560x1440 screen, the cache hit rate starts around 72%. On-screen windows that update often and have consistently-sized damage rectangles are the best case. With several of those (scrolling terminal windows, web browser showing a WebGL demo), the hit rate slowly rises to around 92%. Operations that generate rapid damage reports (like resizing or moving windows) will lower the hit rate. Signed-off-by:
Brendan Shanks <bshanks@codeweavers.com> Acked-by:
Jeremy White <jwhite@codeweavers.com>
-
Signed-off-by:
Brendan Shanks <bshanks@codeweavers.com> Acked-by:
Jeremy White <jwhite@codeweavers.com>
-
Signed-off-by:
Brendan Shanks <bshanks@codeweavers.com> Acked-by:
Jeremy White <jwhite@codeweavers.com>
-
- 07 Aug, 2019 1 commit
-
-
The 'display->fullscreen' SHM segment was previously being used for both x11spice's internal change scanning and as the spice primary surface. I don't think spice wants anything else writing to the primary surface, and this caused sporadic test failures and graphical corruption. Create a separate SHM segment 'display->primary' and use it only for the primary surface. Signed-off-by:
Brendan Shanks <bshanks@codeweavers.com> Acked-by:
Jeremy White <jwhite@codeweavers.com>
-
- 05 Aug, 2019 1 commit
-
-
Check the Debian/Ubuntu path for the non-wrapper Xorg binary Signed-off-by:
Brendan Shanks <bshanks@codeweavers.com> Acked-by:
Jeremy White <jwhite@codeweavers.com>
-
- 01 Aug, 2019 2 commits
-
-
Fixes compilation on RHEL 7.3. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
In Xorg 1.18, X changed so that GLAMOR_USE_EGL_SCREEN was the only flag required and it implies the behavior previously requested with the GLAMOR_USE_SCREEN and GLAMORE_USE_PICTURE_SCREEN flags. Thus, if we are building against an older Xorg, we need to specify those now deprecated flags. Additionally, the compat-api header conflicts with the older glamor header file, so it needs to be moved to be included after glamor.h. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 26 Jul, 2019 5 commits
-
-
Frediano Ziglio authored
Signed-off-by:
Frediano Ziglio <fziglio@redhat.com> Acked-by:
Jeremy White <jwhite@codeweavers.com>
-
Frediano Ziglio authored
Signed-off-by:
Frediano Ziglio <fziglio@redhat.com> Acked-by:
Jeremy White <jwhite@codeweavers.com>
-
Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
This fixes a bug with --config=handling. Removed old testing code as obsolete instead of updating unused code. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
This is largely the work of Frediano Ziglio <fziglio@redhat.com>. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 24 Jul, 2019 2 commits
-
-
We were overly dependent on timing for success; now we deliberately wait for our GC and drawing to finish. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 23 Jul, 2019 2 commits
-
-
Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 15 Jul, 2019 1 commit
-
-
When launching with no config file or arguments, the "You must provide some authentication method" dialog appears. Clicking the Close button would hang the application and it would never quit. s->draw_command_in_progress was uninitialized, and flush_and_lock() would get stuck in an infinite loop waiting for it to be 0. Initialize the entire session struct to 0. Signed-off-by:
Brendan Shanks <bshanks@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 12 Jul, 2019 1 commit
-
-
Quitting with the Quit button or closing the window always causes a segfault for me. Destroying the surface before removing the interface seems to resolve the problem. log from valgrind: ==7741== Invalid read of size 8 ==7741== at 0x6943517: red_qxl_destroy_primary_surface_sync (red-qxl.c:313) ==7741== by 0x6943517: red_qxl_destroy_primary_surface (red-qxl.c:338) ==7741== by 0x6943517: spice_qxl_destroy_primary_surface (red-qxl.c:696) ==7741== by 0x111F60: spice_destroy_primary (spice.c:506) ==7741== by 0x111F60: spice_end (spice.c:694) ==7741== by 0x10CBDA: main (main.c:154) ==7741== Address 0x88 is not stack'd, malloc'd or (recently) free'd ==7741== ==7741== ==7741== Process terminating with default action of signal 11 (SIGSEGV) ==7741== Access not within mapped region at address 0x88 ==7741== at 0x6943517: red_qxl_destroy_primary_surface_sync (red-qxl.c:313) ==7741== by 0x6943517: red_qxl_destroy_primary_surface (red-qxl.c:338) ==7741== by 0x6943517: spice_qxl_destroy_primary_surface (red-qxl.c:696) ==7741== by 0x111F60: spice_destroy_primary (spice.c:506) ==7741== by 0x111F60: spice_end (spice.c:694) ==7741== by 0x10CBDA: main (main.c:154) Signed-off-by:
Brendan Shanks <bshanks@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 19 Jun, 2019 1 commit
-
-
Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Acked-by:
Frediano Ziglio <fziglio@redhat.com>
-
- 03 May, 2019 5 commits
-
-
-
Jeremy White authored
Provide some basic documentation as to how to use the new spice-video-dummy driver.
-
Jeremy White authored
This makes the dummy driver similar to the mode setting driver. This work was done by Henri Verbeet, which was in turn based heavily on the Xorg modesetting driver.
-
Jeremy White authored
Do this using the spice_indent script which uses indent to apply current Spice styles (as per Frediano Ziglio on 2019-05-01). This also includes a fixup from Frediano which provides braces around all ifs and removes extra parens from returns.
-
Jeremy White authored
This gives x11spice access to a modern virtual/offscreen frame buffer driver for the Xorg X server. We will then make slight revisions to make it more suitable for use with Spice. The overall result should be a more functional stack, as compared to the existing xf86-video-qxl driver, as we gain a wide range of Mesa features for free. It also simplifies the overall process. This is from https://gitlab.freedesktop.org/xorg/driver/xf86-video-dummy as of 850c0516.
-
- 05 Feb, 2018 1 commit
-
-
Jeremy White authored
Fix build on Ubuntu 16.04 See merge request !1
-
- 03 Feb, 2018 2 commits
-
-
Sam Protsenko authored
As -Werror flag is used in src/Makefile.am, next error occurs: gui.c: In function ‘gui_report_error’: gui.c:134:17: error: format not a string literal and no format arguments [-Werror=format-security] message); Disable -Wformat-security in order to fix the build, before the code is actually fixed. Signed-off-by:
Sam Protsenko <joe.skb7@gmail.com>
-
Sam Protsenko authored
Libraries flags (like -lglib-2.0) should be provided in the end of compile command. It's not how it's done right now in tests/Makefile.am, because _LDFLAGS is used where we should actually use _LDADD. Due to this, on Ubuntu 16.04 with GCC 5 we have next linking errors: gcc -lxcb-damage -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-xtest -lxcb -lxcb-shm -lxcb -lxcb-util -lxcb -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lspice-server -lglib-2.0 -lpixman-1 -o x11spice_test tests.o x11spice_test.o xcb.o xdummy.o util.o main.o -laudit tests.o: In function `check_binary': src/tests/tests.c:83: undefined reference to `g_log' src/tests/tests.c:84: undefined reference to `g_test_skip' tests.o: In function `test_common_start': src/tests/tests.c:46: undefined reference to `g_test_build_filename' src/tests/tests.c:56: undefined reference to `g_log' src/tests/tests.c:57: undefined reference to `g_test_fail' src/tests/tests.c:39: undefined reference to `g_test_skip' src/tests/tests.c:48: undefined reference to `g_log' src/tests/tests.c:49: undefined reference to `g_test_fail' Use _LDADD instead of _LDFLAGS for libs, so that libraries are specified in the end of compile line. Signed-off-by:
Sam Protsenko <joe.skb7@gmail.com>
-
- 16 Jan, 2017 1 commit
-
-
Jeremy White authored
Make it compile on the latest Fedora
-