summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-09-14Always believe the monitor when it reports a reduced-blanking mode.autoconfig-for-7.2Adam Jackson1-1/+1
CVT reduced blanking modes are typically only seen on digital connections to LCDs, but there are some monitors that report them as supported over the VGA connector too, which is perfectly legitimate, electrically speaking.
2006-09-14In xf86MatchPciInstances, fail gracefully when there's no PCI device at all.Adam Jackson1-0/+2
This allows the autoconfig logic to fall through sanely on non-PCI machines, which importantly includes Xen virtual machines.
2006-09-14Prefer driver-provided modes when matching name strings to modelines.Adam Jackson1-123/+133
Well, kinda. Strictly we prefer M_T_BUILTIN strongest since those are modes where the driver has said it absolutely can't do anything else (VBE). Then we look for user-defined modes, ie, modelines from the config file. Then we consider modes reported by the monitor via EDID. Finally if nothing has matched yet we consider the default mode pool. Within each of the above-mentioned classes, modes with the M_T_PREFERRED bit take priority over other modes in the same class. This logic ensures that the timings sent to the monitor exactly match the timings it reported as supported, which occasionally don't match the numbers you might get for that mode from CVT or GTF.
2006-09-14Mark EDID modes as driver modes. Infer virtual size from driver modes.Adam Jackson2-9/+105
This allows the server to guess an appropriate initial virtual size and resolution. The heuristic is to select the largest driver-reported mode that matches the monitor's physical aspect ratio. We revalidate this estimate after mode validation, since we may have filtered away all modes that would fill that size. Also, the EDID preferred timing is now marked as M_T_PREFERRED as well.
2006-09-14Attempt to add the 'mouse' driver in more situations.Adam Jackson1-1/+31
Always add a mouse driver instance configured to send core events, unless a core pointer already exists using either the mouse or void drivers. This handles the laptop case where the config file only specifies, say, synaptics, which causes the touchpad to work but not the pointing stick. We don't double-instantiate the mouse driver to avoid the mouse moving twice as fast, and we skip this logic when the user asked for a void core pointer since that probably means they want to run with no pointer at all.
2006-09-14Load the default module set when no Module section is given in the config.Adam Jackson2-3/+18
Also, synchronize that list with the list for the pseudoconfig file used when starting with no config file. These really need to be better unified.
2006-09-14Expand the default sync ranges to be large enough for 800x600@60.Adam Jackson1-4/+4
2006-09-14Publish the raw EDID block as a property on the root window.Adam Jackson1-3/+88
This was removed in the patch for bug #5386, but is still useful.
2006-09-14Bump the default pixel depth to 24, and default bpp to 32.Adam Jackson1-2/+2
2006-09-14Fix up EDID blocks where the max pixclock exceeds the preferred mode clock.Adam Jackson1-1/+38
Base EDID only lets you specify the maximum dotclock in tens of MHz, which is too fuzzy for some monitors. 1600x1200@60 is just over 160MHz, but if the monitor really can't handle any mode at 170MHz, then 160 is more correct. Fix up the EDID block before the driver can see it in this case, so we don't spuriously reject modes.
2006-09-14Enable DPMS by default.Adam Jackson1-1/+1
2006-09-14Allow hsync and vsync ranges to be overridden independently again.Adam Jackson1-15/+32
2006-09-14Record all standard timings from EDID as modes, instead of just the first five.Adam Jackson1-1/+1
2006-09-14Record the maximum dot clock of the monitor, and filter by it.Adam Jackson4-1/+10
2006-09-14Don't translate monitor gamma to X gamma.Adam Jackson1-6/+0
The X gamma is used to set the output ramp of the card. Setting a 2.2 output gamma going into a 2.2 monitor gives an effective gamma of 4.84, which is very much not what you want.
2006-09-14Bug #5386: Synthesize modelines from EDID data.Luc Verhaegen3-314/+378
2006-09-14Use correct opcodes for GLX_EXT_texture_from_pixmap.Ian Romanick1-118/+131
Regenerate from glX_API.xml 1.3 from Mesa. The glproto package and libGL (from Mesa) must also be updated.
2006-09-13Bug 7641: fix comment written to Xorg.conf (s/VertSync/VertRefresh/)Bill Nottingham1-1/+1
X.Org Bugzilla #7641 <https://bugs.freedesktop.org/show_bug.cgi?id=7641> Patch #6349 <https://bugs.freedesktop.org/attachment.cgi?id=6349>
2006-09-12Xprint: revert installation of /etc/X11/Xsession.d/cde_xsessiond_xprint.shDrew Parsons1-2/+1
pending resolution of #8232.
2006-09-12transformIsIdentity() now doesn't accept a zero matrix as the identity.Tilman Sauerbeck1-0/+1
Added a non-zero test for one of the diagonal values.
2006-09-11Bug #8226: Fixed SetPictureTransform()'s handling of the argument matrix.Tilman Sauerbeck1-7/+13
It now recognizes scaled variants of the identity matrix, too.
2006-09-10If we're installing libxf86config, install headers needed to build against it.Donnie Berkholz1-0/+6
2006-09-10the new PCI mapping routines are broken on sparc64 (in fact they lookJesse Barnes1-0/+6
broken for any 32 bit X server running on a 64 bit kernel) so #ifdef them out for now. the PCI rework tree will make all this crap go away, so I think we can tolerate the extra #ifdef for the next release.
2006-09-10* Define XPSERVERLIST with `/etc/init.d/xprint get_xpserverlist`Drew Parsons8-15/+18
instead of `/bin/sh /etc/init.d/xprint get_xpserverlist` - allows the initscript to set its own different shell under #! - allows disabling of XPSERVERLIST by making the script non-executable * Allow files to be installed by using dist_*_DATA instead of EXTRA_DIST. Also, use dist_*_SCRIPTS to install scripts. * Fix minor typos in man pages.
2006-09-07Fix AIGLX VT switching.Kristian Høgsberg3-27/+104
See https://bugs.freedesktop.org/show_bug.cgi?id=7916 There may be a simpler, less intrusive fix that involves just rearranging DRI locking between 2D and 3D drivers around VT switch.
2006-09-06Remove prototypes and externs for non-existant functions and variables.Ian Romanick2-8/+0
2006-09-06Remove prototypes for non-existant functions.Ian Romanick1-19/+0
2006-09-06Make sure _XSERVER64 is defined when it should be and gets tested.Michel Dänzer5-1/+16
2006-09-06Fix #include paths for fontcacheproto headers.Michel Dänzer1-2/+2
2006-09-05(unsigned long)(1 << 31) = bad news on x86_64.Aaron Plattner1-1/+1
2006-08-31Add missing file from previous commit.Ian Romanick1-0/+105
2006-08-31Implement GLX_SGI_swap_control.Ian Romanick7-29/+43
Regenerate from glX_API.xml 1.2. Add infrastructure to support GLX_SGI_swap_control for AIGLX when the DRI driver enables it. Tested with R300.
2006-08-31Fix problems with vertex program protocolIan Romanick3-227/+252
There were two sets of bugs in the vertex program (ARB and NV) protocol. First, several of the ARB functions were missing the 'doubles_in_order="true"' annotation. Second, after the ARB decided that glVertexAttrib*ARB functions must not alias fixed-function state for GLSL, Nvidia re-assigned GLX protocol opcodes for glVertexAttrib*NV (circa Septeber 2004). For some reason gl_API.xml was never updated to reflect this, and the updated version of the GL_NV_vertex_program spec never made into the registry. This is just a server-side regeneration from gl_API.xml version 1.68.
2006-08-31Fix previous commit breaking other kdrives pulling in fbdev.aMatthew Allum2-1/+3
2006-08-31Add framebuffer device command line switch for XfbdevMatthew Allum3-9/+29
2006-08-29Minor extension tweaks.Ian Romanick1-2/+1
GLX_EXT_texture_from_pixmap should always be enabled. GLX_SGI_video_sync is only for direct rendering and should never appear in the server's string.
2006-08-29Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserverIan Romanick16-84/+338
2006-08-29Make sure unsupported extensions are disabled.Ian Romanick1-0/+2
GLX protocol isn't supported for GLX_SGI_swap_control or GLX_SGI_video_sync. Remove them from the list of available extensions until they are supported.
2006-08-29Add support for AIGLX drivers to enable GLX extensions that they support.Ian Romanick4-1/+265
2006-08-29Re-add support for tslib (1.0 release) and Xcalibrate extension.Matthew Allum16-84/+338
2006-08-29Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserverIan Romanick18-31/+21
2006-08-29Remove __glXNoSuchRenderOpcode because it is no longer used.Ian Romanick2-7/+0
2006-08-29kdrive: remove @KDRIVE_LIBS@ from Xfoo_DEPENDENCIESDaniel Stone17-25/+16
2006-08-29configure.ac: allow disabling of XSDLDaniel Stone1-6/+5
2006-08-28Remove calls to LoaderCheckUnresolved(), since it's now a stub.Adam Jackson2-9/+0
2006-08-25Enable GL_EXT_texture_filter_anisotropic and GL_EXT_blend_equation_separate.Ian Romanick6-4/+25
Re-generate from gl_API.xml 1.65. This provides the missing bits for GL_EXT_texture_filter_anisotropic and GL_EXT_blend_equation_separate. Enable those extensions.
2006-08-25Enable vertex and fragment programs.Ian Romanick5-21/+176
Implement glGetProgramStringARB and glGetProgramStringNV. With these functions implemented, GL_ARB_{vertex,fragment}_program, GL_NV_{vertex,fragment}_program, and related extensions can be enabled.
2006-08-24Finish support for GL_ARB_texture_compression.Ian Romanick5-11/+141
Fill in __glXDisp_GetCompressedTexImageARB and __glXDispSwap_GetCompressedTexImageARB to finish support for GL_ARB_texture_compression. With this extension (and the related compression extensions), the server-side GLX supports all of the protocol for GL 1.4. w00t! The bad news is that this has received only minimal testing, and Mesa does not contain any good tests for GL_ARB_texture_compression.
2006-08-24Remove GL/glx/g_disptab.c, GL/glx/g_disptab_EXT.c, andIan Romanick8-5225/+1
GL/glx/g_disptab_EXT.h. Unfortunately GL/glx/g_disptab.h has to be kept around a bit longer.
2006-08-24Add some missing bits of GL_SGI_color_table.Ian Romanick4-0/+116