GNOME Bugzilla – Bug 665061
gnome-session-is-accelerated: Zaphod mode not supported.
Last modified: 2012-10-15 21:30:03 UTC
Hello, I am unable to use my Xinerama set-up with the awesome Gnome Shell. gnome-session-is-accelerated doesn't deem my set-up worthy and therefore I only get fallback mode :-( My xorg.conf is as follows: Section "Device" Identifier "RightCard" Driver "ati" Option "Monitor-VGA-0" "RightMonitor" Option "DynamicPM" "true" BusID "PCI:01:00:0" EndSection Section "Device" Identifier "LeftCard" Driver "intel" Option "Monitor-HDMI-3" "LeftMonitor" BusID "PCI:00:02:0" EndSection Section "Monitor" Identifier "RightMonitor" VendorName "CTX" Option "Enable" "true" Option "Primary" "true" EndSection Section "Monitor" Identifier "LeftMonitor" VendorName "SAM" Option "Enable" "true" Option "Primary" "false" EndSection Section "Screen" Identifier "LeftScreen" Device "LeftCard" EndSection Section "Screen" Identifier "RightScreen" Device "RightCard" EndSection Section "ServerLayout" Identifier "BOTHSCREENS" Screen 0 "RightScreen" Screen 1 "LeftScreen" LeftOf "RightScreen" EndSection Section "ServerFlags" Option "DontZap" "false" Option "DefaultServerLayout" "BOTHSCREENS" EndSection I don't really know if zaphod mode not being supported is a bug or a feature to prevent bugs, so I didn't know what to file this bug report as; I apologize if I made any mistake. Thanks for anything you can do :-)
It is not supported because gnome-shell (and mutter, on which it is based) do not support managing multiple screens: bug 648156
So you can mark as confirmed?
I've trivially patched mutter (see https://bugzilla.gnome.org/show_bug.cgi?id=648156 ) and gnome-session-check-accelerated (see attached patch and RPMS at http://koji.fedoraproject.org/koji/taskinfo?taskID=3757894 ). The problem now is that gnome-check-accelerated-helper returns: $ /usr/libexec/gnome-session-check-accelerated-helper ; echo $? gnome-session-is-accelerated: No hardware 3D support. 1 ...despite: $ glxinfo | grep -i render direct rendering: Yes OpenGL renderer string: Gallium 0.4 on llvmpipe But I am getting abrts from glxinfo so I need to investigate further: $ gdb glxinfo GNU gdb (GDB) Fedora (7.3.50.20110722-10.fc16) Copyright (C) 2011 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". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/glxinfo...Reading symbols from /usr/lib/debug/usr/lib64/mesa/glxinfo.debug...done. done. (gdb) run Starting program: /usr/bin/glxinfo [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". name of display: :0.0 [New Thread 0x7ffff2a66700 (LWP 9700)] [...threads...] [New Thread 0x7fffeb257700 (LWP 9715)] display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 server glx extensions: GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_INTEL_swap_event client glx vendor string: Mesa Project and SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB, GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event GLX version: 1.4 GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_multithread_makecurrent, GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group OpenGL vendor string: VMware, Inc. OpenGL renderer string: Gallium 0.4 on llvmpipe OpenGL version string: 2.1 Mesa 7.11.2 OpenGL shading language version string: 1.20 OpenGL extensions: GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, [...] 0x138 0 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x139 0 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow Program received signal SIGSEGV, Segmentation fault. XCreateDrawable (visualid=531, drawable=54525961, dpy=0x606010, pdp=0x85e180) at drisw_glx.c:94 94 pdp->ximage = XCreateImage(dpy, (gdb) bt
+ Trace 229589
(In reply to comment #3) > The problem now is that gnome-check-accelerated-helper returns: > > $ /usr/libexec/gnome-session-check-accelerated-helper ; echo $? > gnome-session-is-accelerated: No hardware 3D support. > 1 > > ...despite: > > $ glxinfo | grep -i render > direct rendering: Yes > OpenGL renderer string: Gallium 0.4 on llvmpipe At least upstream, llvmpipe is marked as not supported in gnome-session. See http://git.gnome.org/browse/gnome-session/tree/data/hardware-compatibility (We might want to change this, I've no idea what's the current state of llvmpipe)
(In reply to comment #4) > At least upstream, llvmpipe is marked as not supported in gnome-session. See > http://git.gnome.org/browse/gnome-session/tree/data/hardware-compatibility > > (We might want to change this, I've no idea what's the current state of > llvmpipe) I don't see an upstream change (perhaps cgit is defeating me) but looks like ajax has already confirmed that llvmpipe is now good enough for F17: http://lists.fedoraproject.org/pipermail/devel/2011-November/158976.html As I see TFP in my F16 driver I have rebuilt gnome-session without the patched-in-rejection-of-llvmpipe and see how far I get. Koji build is http://koji.fedoraproject.org/koji/taskinfo?taskID=3791842
Created attachment 226495 [details] [review] Proposed patch Now that mutter no longer crashes in Zaphod mode (see bug 648156), can we please update gnome-session-check-accelerated?
Review of attachment 226495 [details] [review]: Looks good to me
Comment on attachment 226495 [details] [review] Proposed patch commit e2e38fc7902d1fe3d12053b446770f917c833b69 Author: Jürg Billeter <j@bitron.ch> Date: Mon Sep 10 20:10:17 2012 +0200 gnome-session-check-accelerated: Support zaphod mode Mutter no longer crashes in zaphod mode. https://bugzilla.gnome.org/show_bug.cgi?id=665061