Bug 96260

Summary: patch for startx that enables IGLX
Product: xorg Reporter: Rich Cook <wealthychef>
Component: App/xinitAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: RESOLVED FIXED QA Contact: Jeremy Huddleston Sequoia <jeremyhu>
Severity: normal    
Priority: medium CC: bfree, dauria, eric_berggren, lluis.blancafort, magda.tsintou, peter.kirchweger, rcwelsh62, walter.bonivento
Version: unspecified   
Hardware: Other   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch file for startx none

Description Rich Cook 2016-05-28 15:51:44 UTC
Created attachment 124148 [details] [review]
patch file for startx

XQuartz 2.7.9 stock install:
rcook@surface86 (~ ): glxgears
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  23
  Current serial number in output stream:  24
rcook@surface86 (~ ): glxinfo
name of display: surface86:18.0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  17
  Current serial number in output stream:  18
rcook@surface86 (~ ):

XQuartz 2.7.9 with +iglx added to serverargs on line 112 of /usr/X11R6/bin/startx
defaultserverargs="$defaultserverargs +iglx"

Works perfectly.
name of display: surface86:18.0
display: surface86:18  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
etc etc etc.

Attached is a patch file.  After patching startx, users can then do this: 
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
Comment 1 Jeremy Huddleston Sequoia 2016-05-28 17:53:08 UTC
*** Bug 96261 has been marked as a duplicate of this bug. ***
Comment 2 Jeremy Huddleston Sequoia 2016-05-28 21:11:46 UTC
https://cgit.freedesktop.org/xorg/app/xinit/commit/?id=4525e14fcfeaaf526227e3addec67d0ce4632270

This should be addressed in XQuartz 2.7.10 beta2 or later (not released yet).
Comment 3 Jeremy Huddleston Sequoia 2016-05-28 21:46:10 UTC
*** Bug 93669 has been marked as a duplicate of this bug. ***
Comment 4 Jeremy Huddleston Sequoia 2016-05-29 08:49:02 UTC
*** Bug 93953 has been marked as a duplicate of this bug. ***
Comment 5 Jeremy Huddleston Sequoia 2016-06-08 05:41:36 UTC
*** Bug 96433 has been marked as a duplicate of this bug. ***
Comment 6 Jeremy Huddleston Sequoia 2016-06-13 08:52:50 UTC
*** Bug 96506 has been marked as a duplicate of this bug. ***
Comment 7 Jeremy Huddleston Sequoia 2016-06-17 03:30:36 UTC
*** Bug 96559 has been marked as a duplicate of this bug. ***
Comment 8 Jeremy Huddleston Sequoia 2016-07-07 19:52:58 UTC
*** Bug 96849 has been marked as a duplicate of this bug. ***
Comment 9 Jeremy Huddleston Sequoia 2016-10-24 16:32:39 UTC
*** Bug 98407 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.