Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-25 Thread Frederic Lepied

"Brian J. Murrell" [EMAIL PROTECTED] writes:

 On Fri, Mar 23, 2001 at 07:43:08PM +0100, Frederic Lepied wrote:
  "Brian J. Murrell" [EMAIL PROTECTED] writes:
  
  Bad news. I have contacted Matrox and the G400 dual head can't work
  without libhal. Sorry.
 
 So what does that mean for Mandrake and the G400?  SOL?
 

It means no dual head support for G400 in Mandrake 8.0
-- 
Fred - May the source be with you





Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-24 Thread Brian J. Murrell

On Fri, Mar 23, 2001 at 07:43:08PM +0100, Frederic Lepied wrote:
 "Brian J. Murrell" [EMAIL PROTECTED] writes:
 
 Bad news. I have contacted Matrox and the G400 dual head can't work
 without libhal. Sorry.

So what does that mean for Mandrake and the G400?  SOL?

b.


-- 
Brian J. Murrell




Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-23 Thread Frederic Lepied

"Brian J. Murrell" [EMAIL PROTECTED] writes:

 Has anyone gotten the G400 dual head mode to work with the 4.0.3-1mdk
 using the driver shipped by Mandrake?
 
 My Xserver sees both screens (it's showing a screen size of 2880:
 1600 + 1280) but it does not actually display on the second monitor.
 
 Anyone got this mode working?
 

I have reproduced the bug here. Under investigation...
-- 
Fred - May the source be with you





Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-23 Thread Brian J. Murrell

On Fri, Mar 23, 2001 at 04:23:52PM +0100, Frederic Lepied wrote:
 "Brian J. Murrell" [EMAIL PROTECTED] writes:
 
 I have reproduced the bug here. Under investigation...

Awesome!!

b.


-- 
Brian J. Murrell




Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-23 Thread Frederic Lepied

"Brian J. Murrell" [EMAIL PROTECTED] writes:

 On Fri, Mar 23, 2001 at 04:23:52PM +0100, Frederic Lepied wrote:
  "Brian J. Murrell" [EMAIL PROTECTED] writes:
  
  I have reproduced the bug here. Under investigation...
 
 Awesome!!


Bad news. I have contacted Matrox and the G400 dual head can't work
without libhal. Sorry.
-- 
Fred - May the source be with you





Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-23 Thread Alan Olsen

On 23 Mar 2001, Frederic Lepied wrote:

 "Brian J. Murrell" [EMAIL PROTECTED] writes:
 
  On Fri, Mar 23, 2001 at 04:23:52PM +0100, Frederic Lepied wrote:
   "Brian J. Murrell" [EMAIL PROTECTED] writes:
   
   I have reproduced the bug here. Under investigation...
  
  Awesome!!
 
 
 Bad news. I have contacted Matrox and the G400 dual head can't work
 without libhal. Sorry.

Libhal is only used to set the modes.

The only reason that they keep it proprietary is that if you have access
to the source to libhal, you can also turn off macrovision protection for
the DVD decoder.

There is work being done to ignore the need for libhal, but I am not
certain at what point it is at. 

Again the DVD copy protection scam has unintended consiquences.

Sigh.

[EMAIL PROTECTED] | Note to AOL users: for a quick shortcut to reply
Alan Olsen| to my mail, just hit the ctrl, alt and del keys.
"In the future, everything will have its 15 minutes of blame."





Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-22 Thread François Pons

"Brian J. Murrell" [EMAIL PROTECTED] writes:

 Has anyone gotten the G400 dual head mode to work with the 4.0.3-1mdk
 using the driver shipped by Mandrake?

This worked with G450 as DrakX configure it, have you forced DRI, this seems
necessary for some undefined symbols.

Franois.




Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-22 Thread Alan Olsen

On Wed, 21 Mar 2001, Brian J. Murrell wrote:

 Has anyone gotten the G400 dual head mode to work with the 4.0.3-1mdk
 using the driver shipped by Mandrake?
 
 My Xserver sees both screens (it's showing a screen size of 2880:
 1600 + 1280) but it does not actually display on the second monitor.
 
 Anyone got this mode working?

Not on Cooker, but on 4.0.3 built from source.

BTW, there is a REAL nasty little bug that is going to hit you unless the
code is patched.  (It has been in the CVS tree on XFree86.org, but it was
found after the 4.0.3 release.)

If you run dual screen and XScreensaver runs "interference", "Deluxe", or
"Compass" the X client will heave with a signal 11 leaving no core file,
no horse, and no mustache.

I have not had a chance to test the patch.  (It is not very big. About 5
lines get moved down a bit in one file.)

I will get you the patch after I have had a chance to test it or you can
look at the cvs.

If you need a working XF86Config, here you go...

# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **

# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
Section "Module"

# This loads the DBE extension module.

Load"dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  "extmod"
  Option"omit xfree86-dga"   # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load"type1"
Load"freetype"

# This loads the GLX module
Load   "glx"

# This loads the DRI module
Load   "dri"

EndSection

Section "DRI"
 Mode 0666
EndSection


# **
# Files section.  This allows default font and rgb paths to be set
# **

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
# 

FontPath   "/usr/X11R6/lib/X11/fonts/local/"
FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

ModulePath "/usr/X11R6/lib/modules"

EndSection

# **
# Server flags section.
# 

Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-22 Thread Brian J. Murrell

On Wed, Mar 21, 2001 at 11:39:26AM -0800, Alan Olsen wrote:
 On Wed, 21 Mar 2001, Brian J. Murrell wrote:
 

Thanks Alan.

 
 Not on Cooker, but on 4.0.3 built from source.

Cooker folks?  Can we get cooker updated from cvs?  It seems to have
some important fixes.

b.


-- 
Brian J. Murrell




Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-22 Thread Brian J. Murrell

On Thu, Mar 22, 2001 at 11:08:06AM +0100, Franois Pons wrote:
 "Brian J. Murrell" [EMAIL PROTECTED] writes:
 
 This worked with G450 as DrakX configure it, have you forced DRI, this seems
 necessary for some undefined symbols.

I can get it to work on my G400 with Matrox's mga_drv.o (maybe: and
mga_hal_drv.o -- I have it installed but have not checked if it's
running).  It does have an ugly little unaddressed stripe of display
space down the left hand side of the second head though.

b.


-- 
Brian J. Murrell




Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-22 Thread Alan Olsen

On Thu, 22 Mar 2001, Brian J. Murrell wrote:

 On Thu, Mar 22, 2001 at 11:08:06AM +0100, François Pons wrote:
  "Brian J. Murrell" [EMAIL PROTECTED] writes:
  
  This worked with G450 as DrakX configure it, have you forced DRI, this seems
  necessary for some undefined symbols.
 
 I can get it to work on my G400 with Matrox's mga_drv.o (maybe: and
 mga_hal_drv.o -- I have it installed but have not checked if it's
 running).  It does have an ugly little unaddressed stripe of display
 space down the left hand side of the second head though.

Are you sure you are running 4.0.3? That was fixed for me in that version.

[EMAIL PROTECTED] | Note to AOL users: for a quick shortcut to reply
Alan Olsen| to my mail, just hit the ctrl, alt and del keys.
"In the future, everything will have its 15 minutes of blame."





Re: [Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-22 Thread Brian J. Murrell

On Thu, Mar 22, 2001 at 11:35:14AM -0800, Alan Olsen wrote:
 On Thu, 22 Mar 2001, Brian J. Murrell wrote:
 
 Are you sure you are running 4.0.3?

As sure as xdpyinfo will tell me:

# xdpyinfo 
name of display::0.0
version number:11.0
vendor string:Linux Mandrake (XFree86 4.0.3, patch level 1mdk)
vendor release number:4003
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:32, LSBFirst, 32
image byte order:LSBFirst
number of supported pixmap formats:7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:minimum 8, maximum 255
focus:  window 0x38e, revert to Parent
number of extensions:26
BIG-REQUESTS
DPMS
Extended-Visual-Information
FontCache
GLX
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
XC-APPGROUP
XC-MISC
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number:0
number of screens:1

screen #0:
  dimensions:2880x1200 pixels (363x272 millimeters)
  resolution:202x112 dots per inch
  depths (1):16
  root window id:0x3c
  depth of root window:16 planes
  number of colormaps:minimum 1, maximum 1
  default colormap:0x20
  default number of colormap cells:64
  preallocated pixels:black 0, white 65535
  options:backing-store YES, save-unders YES
  largest cursor:64x64
  current input event mask:0x5a20bd
KeyPressMask ButtonPressMask  ButtonReleaseMask
EnterWindowMask  LeaveWindowMask  PointerMotionHintMask
ButtonMotionMask StructureNotifyMask  SubstructureNotifyMask   
SubstructureRedirectMask PropertyChangeMask   
  number of visuals:2
  default visual id:  0x23
  visual:
visual id:0x23
class:TrueColor
depth:16 planes
available colormap entries:64 per subfield
red, green, blue masks:0xf800, 0x7e0, 0x1f
significant bits in color specification:6 bits
  visual:
visual id:0x24
class:TrueColor
depth:16 planes
available colormap entries:64 per subfield
red, green, blue masks:0xf800, 0x7e0, 0x1f
significant bits in color specification:6 bits

 That was fixed for me in that version.

Are you using the mga_drv.o from the XFree86 4.0.3 or are you using
the ones from Matrox?  Which ones from Matrox if you are using them?
What is the file sizes/md5sums of your 

/usr/X11R6/lib/modules/drivers/mga_drv.o
/usr/X11R6/lib/modules/drivers/mga_hal_drv.o

files?

Info is much appreciated, thanx,
b.


-- 
Brian J. Murrell




[Cooker] Dual head on G400 with XFree86 4.0.3 anyone?

2001-03-21 Thread Brian J. Murrell

Has anyone gotten the G400 dual head mode to work with the 4.0.3-1mdk
using the driver shipped by Mandrake?

My Xserver sees both screens (it's showing a screen size of 2880:
1600 + 1280) but it does not actually display on the second monitor.

Anyone got this mode working?

b.


-- 
Brian J. Murrell