Re: [Xpert]Best 2D-only card for X11

2002-01-03 Thread Ross Vandegrift

> What is the best pure 2D card in X11 with non-binary-only (read nvidia) drivers? 
>Does a Matrox G450/550 compare to GeForce & Radeon in 2D?

Matrox is the only company I've ever heard make noise about their 2D performance.  The 
box from my G400 DualHead billed it as the fastest 2D accelerator ever created.  Don't 
know if it's true, but the 2D performs quite well for me!

Ross Vandegrift
[EMAIL PROTECTED]
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Start X without changing VT

2002-01-03 Thread pesarif


Hi everyone!

One of the computers I use is particularly slow.
So when I start X, I would like it to load in the background on VT7 _without_ 
changing the current VT.

e.g. I'm happily tapping away on VT1 and then decide that I need to play 
Maelstrom.  So I "startx" but as soon as I press Enter, X opens up on VT7 and 
automatically changes to VT7.  But I want to stay on VT1 (to continue my 
work), until I press CTRL+ALT+F7 after X has finished loading (this is a slow 
computer, after all :).

I'd be very glad if someone could give me a solution for both (hopefully) 
XFree 3.3.6 and XFree >= 4.0.3.

Thanks in advance,
pesarif

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Derrik Pates

On Thu, 3 Jan 2002, Paulo Vitor Magacho da Silva wrote:

> First, sorry for the very long email that I am sending.
> So you are saying that I don't need the tdfx_dri.so file anymore ?

You need that library. XFree's libGL is just an intermediary, it uses that
library to talk to 3Dfx boards to do direct rendering.

> (II) TDFX(0): [DRI] installation complete <
> (==) TDFX(0): Direct rendering enabled<

> What it's wrong, what else do I need ? I have the opengl library provided by the 
>XFree 4.1.0, I
> also have installed the Mesa-utils 3.4.1 libs and the glide libraries. I can't use 
>any program that
> need hardware acceleration, such as tuxracer.

Say what? Please say you didn't overwrite your libGL. First, do 'ldd
/usr/X11R6/bin/glxinfo' and make sure it's linking the correct libGL.
Second, as Michel said, run 'LIBGL_DEBUG=1 glxinfo' and see if it spits
out any errors. You may need to look at /dev/dri/* and see if the
permissions are set correctly for you to access the DRI devnode. If not,
'man XF86Config' is your friend. Look for info on the DRI section.

Derrik Pates  |   Sysadmin, Douglas School   |#linuxOS on EFnet
[EMAIL PROTECTED] | District (dsdk12.net)|#linuxOS on OPN

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]X quits right after cursor appears

2002-01-03 Thread Mark Vojkovich

On Thu, 3 Jan 2002, James Herschel wrote:

> Just trying to get into the BSD swing of things with the new OpenBSD 3.0
> - I haven't changed too much, just ran the xf86config, things seemed to
> be working fine with the default window manager FVWM, but FVWM is FVWM. 
> 
> X seemed to work fine before changing to blackbox, I ran the xf86config
> (text mode, my mouse doesn't pick up in xf86cfg) set up everything fine
> - then I installed BlackBox (crappy hardware) and put that in place of
> 'fvwm &' in the /etc/X11/xinit/xinitrc - if I run 'startx' now,
> everything shows up, then quits - if I run just 'X' xwindows starts up,
> but of course I have no window manager and can't do anything but stare
> at the cursor - removing 'blackbox &' and replacing it with the fvwm &
> hasn't fixed anything
> 
> Here is the error and my xinitrc...
> 
> # cat xinitrc
> #!/bin/sh
> # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
> # $OpenBSD: xinitrc.cpp,v 1.6 2001/06/04 12:42:30 matthieu Exp $
> 
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
> 
> # merge in defaults and keymaps
> 
> if [ -f $sysresources ]; then
> xrdb -merge $sysresources
> fi
> 
> if [ -f $sysmodmap ]; then
> xmodmap $sysmodmap
> fi
> 
> if [ -f $userresources ]; then
> xrdb -merge $userresources
> fi
> 
> if [ -f $usermodmap ]; then
> xmodmap $usermodmap
> fi
> 
> # if we have private ssh key(s), start ssh-agent and add the key(s)
> id1=$HOME/.ssh/identity id2=$HOME/.ssh/id_dsa id3=$HOME/.ssh/id_rsa if [
> -e /usr/bin/ssh-agent ] && [ -f $id1 -o -f $id2 -o -f $id3 ]; then
> eval `ssh-agent -s`
> ssh-add $id1 $id2 $id3 < /dev/null
> fi
> 
> # start some nice programs
> 
> xclock -geometry 50x50-1+1 &
> xconsole &
> xterm -geometry 80x24 &
> fvwm &

   When it's through with this script, the server terminates
so you don't want to run the window manager as a background 
process (ie. remove the '&' from the last line).

Mark.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Best 2D-only card for X11

2002-01-03 Thread Andy Sparrow


> Well, I use FreeBSD and I figure I'm not going to get great 3D performance no matter 
>what with nvidia only producing linux binary drivers. So I may as well go for the 
>absolute best 2D I can get. Cost really isn't an issue, other than not wanting to pay 
>$400 for top-end 3D performance I'll never see anyway.
> I just want support for high resolutions and refresh rates, say 1920x1440@85hz, true 
>color.

Hi Steve,

But would it make a difference to your decision process if you /could/ get 
hardware 3D under FreeBSD?

Firstly, you may or may not have known that there's a project to get the 
NVDIDIA binary-only drivers working on FreeBSD as well as Linux, which has 
been apparently been quite successful. The web page is here:

http://nvidia.netexplorer.org/news.html

Secondly, (and more interestingly to those who get a warm, fuzzy feeling from 
knowing that they have the source code to everything they run), is this URL 
posted by Doug White:

http://gladstone.uoregon.edu/~eanholt/dri/index.html

The thread started today on freebsd-multimedia, search for MsgID 
[EMAIL PROTECTED] for the start.

As this won't be in the archives yet, I'll quote another tidbit:

Additionally, joeo at cracktown.com said:
> Most common AGP capable northbridge chipsets are supported by stable
> and current.  What is also needed for direct rendering is the kernel
> module for the card type.  Currently supported for direct rendering
> with freebsd are;

> 3Dfx Voodoo 3/4/5  (both PCI and AGP varieties work) ATI AGP radeon
> (the older generation of cards) ATI AGP r128's (but not the "fury
> maxx") MGA AGP G200/G400/G450's

> The PCI versions of the latter cards are not supported since the
> person who ported the card specific kernel modules didn't have the pci
> versions of the cards available or the time/interest to make it work.

> Much of the work on the uoregon.edu site mentioned earlier in this
> thread has been folded back into the XFree86-CVS head branch for
> possible inclusion with the 4.2.0 XFree86 release, but it needs some
> FreeBSD users testing it.

HTIOI. Let me know if you want the details of the branch tags etc. Me, I'm 
pumped!! :)

Cheers,

AS




msg02886/pgp0.pgp
Description: PGP signature


Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Paulo Vitor Magacho da Silva

Em Qui 03 Jan 2002 23:18, you wrote:

> It's what libGL uses for the hardware rendering, so yes, it's still very
> much needed. :) That said, I know next to nothing about Conectiva but my
> impression is that it's a fairly reasonable distribution so I'd expect
> them to provide means to find out which package contains it.
>
> Everything looks good as far as the X server is concerned. To get some
> debugging information run glxinfo (or any GL client for that matter)
> with LIBGL_DEBUG=verbose.

For some reason when Conectiva released the version 4.1.0 of XFree, it didn't release
the package that has this driver. Is there some way to compile only this library 
without 
the need to recompile the entire XFree ?

Thanks a lot for the help,
Paulo Vitor
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]X quits right after cursor appears

2002-01-03 Thread James Herschel

Just trying to get into the BSD swing of things with the new OpenBSD 3.0
- I haven't changed too much, just ran the xf86config, things seemed to
be working fine with the default window manager FVWM, but FVWM is FVWM. 

X seemed to work fine before changing to blackbox, I ran the xf86config
(text mode, my mouse doesn't pick up in xf86cfg) set up everything fine
- then I installed BlackBox (crappy hardware) and put that in place of
'fvwm &' in the /etc/X11/xinit/xinitrc - if I run 'startx' now,
everything shows up, then quits - if I run just 'X' xwindows starts up,
but of course I have no window manager and can't do anything but stare
at the cursor - removing 'blackbox &' and replacing it with the fvwm &
hasn't fixed anything

Here is the error and my xinitrc...

# cat xinitrc
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
# $OpenBSD: xinitrc.cpp,v 1.6 2001/06/04 12:42:30 matthieu Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# if we have private ssh key(s), start ssh-agent and add the key(s)
id1=$HOME/.ssh/identity id2=$HOME/.ssh/id_dsa id3=$HOME/.ssh/id_rsa if [
-e /usr/bin/ssh-agent ] && [ -f $id1 -o -f $id2 -o -f $id3 ]; then
eval `ssh-agent -s`
ssh-add $id1 $id2 $id3 < /dev/null
fi

# start some nice programs

xclock -geometry 50x50-1+1 &
xconsole &
xterm -geometry 80x24 &
fvwm &

if [ "$SSH_AGENT_PID" ]; then
ssh-add -D < /dev/null
eval `ssh-agent -s -k`
fi

* error **

(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(**) Option "BaudRate" "1200"
(WW) fcntl(8, F_SETOWN): Inappropriate ioctl for device
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!
(II) PM Event received: Unknown Event
Waiting for X server to shut down

**

why does x run with 'X' but it doesn't bomb out to console when I run
'startx'?

ever seen this???

PS - thanks for your help, I'm trying to be as concise as possible ;-)


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Best 2D-only card for X11

2002-01-03 Thread Kenneth Crudup

On Thu, 3 Jan 2002, Steve Wingate wrote:

> I just want support for high resolutions and refresh rates, say
> 1920x1440@85hz, true color.

I have a $90 (last-year's price, retail) 16MB 3DFx Voodoo 3000 AGP in my
main machine that does 1920x1440x32bpp (well, 24bpp/32pixmap in 4.X), @81Hz
(limited by my monitor's 300MHz dotclock bandwidth) under 3.3.6/4.1.0 with
nary a problem. As I don't do games (but will watch MPEGs from time to time),
I'm very happy.

-Kenny

-- 
Kenneth R. Crudup   Sr. SW Engineer, Scott County Consulting, Washington, D.C.
Home1: PO Box 914 Silver Spring, MD 20910-0914 [EMAIL PROTECTED]
Home2: 38010 Village Cmn. #217  Fremont, CA 94536-7525  (510) 745-0101

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Best 2D-only card for X11

2002-01-03 Thread Steve Wingate


> 
> > What is the best pure 2D card in X11 with non-binary-only (read nvidia) drivers? 
>Does a Matrox G450/550 compare to GeForce & Radeon in 2D?
> 
> Well, I am not sure what precisely you are looking for, but if you want an
> inexpensive card ATI Rage Pro and Rage 128 are quite good. And (last time
> I checked) there were plenty of them on the shelves. You get good 2d
> perfomance, YUV->RGB, and support for  high-resolution modes. 
> 

Well, I use FreeBSD and I figure I'm not going to get great 3D performance no matter 
what with nvidia only producing linux binary drivers. So I may as well go for the 
absolute best 2D I can get. Cost really isn't an issue, other than not wanting to pay 
$400 for top-end 3D performance I'll never see anyway.
I just want support for high resolutions and refresh rates, say 1920x1440@85hz, true 
color.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Laptop backlight question

2002-01-03 Thread Kenneth Crudup


The main reason I went with the 4.X series is 'cause I'd read on the 'net
that it has the ability to use APM (DPMS?) to darken laptop backlights,
but I haven't seen the ability to do this anywhere.

I've got a ProStar (AKA Sager/Kapok/Clevo/...) laptop with a dumber BIOS
than my Transmonde, so it doesn't dim the backlight automatically via the
BIOS and will stay on forever.

I know it can be done programmatically, as Windows '98 can do it with no
special S3 Virge (/MX) driver necessary, just the generic one off of the
S3 site. If it's just a matter of adding the relevant code in, I guess
I could do it if someone knows the spec.

Any clues, or have I been misinformed?

-Kenny

p.s. - BTW, thanks, Adam Richter- your CR33 fixes (which I got off
Kevin B's site) fixed the VT-switching problem that also plagued me (and
had me pulling my hair out trying to find the XF86Config option that
I'd assumed made it happen).
-- 
Kenneth R. Crudup   Sr. SW Engineer, Scott County Consulting, Washington, D.C.
Home1: PO Box 914 Silver Spring, MD 20910-0914 [EMAIL PROTECTED]
Home2: 38010 Village Cmn. #217  Fremont, CA 94536-7525  (510) 745-0101

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Michel Dänzer

On Fri, 2002-01-04 at 02:13, Paulo Vitor Magacho da Silva wrote:
> Em Qui 03 Jan 2002 11:53, you wrote:
> >
> > That shouldn't be needed, the tdfx module that comes with kernel 2.4.12
> > should work. I suspect there's some kind of version conflict with the
> > client libraries. Hard to tell without any real info though.
> 
> First, sorry for the very long email that I am sending.
> So you are saying that I don't need the tdfx_dri.so file anymore ?

It's what libGL uses for the hardware rendering, so yes, it's still very
much needed. :) That said, I know next to nothing about Conectiva but my
impression is that it's a fairly reasonable distribution so I'd expect
them to provide means to find out which package contains it.

Everything looks good as far as the X server is concerned. To get some
debugging information run glxinfo (or any GL client for that matter)
with LIBGL_DEBUG=verbose.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Paulo Vitor Magacho da Silva

Em Qui 03 Jan 2002 11:53, you wrote:
>
> That shouldn't be needed, the tdfx module that comes with kernel 2.4.12
> should work. I suspect there's some kind of version conflict with the
> client libraries. Hard to tell without any real info though.

First, sorry for the very long email that I am sending.
So you are saying that I don't need the tdfx_dri.so file anymore ?
The Xfree log say that DRI extension has been installed.

% PART OF THE XFREE LOG %

(II) TDFX(0): 3327 lines of offscreen memory available for 2D and video
(II) TDFX(0): [drm] loaded kernel module "tdfx"
(II) TDFX(0): [drm] created "tdfx" driver at busid "PCI:1:0:0"
(II) TDFX(0): [drm] added 4096 byte SAREA at 0xc88bf000
(II) TDFX(0): [drm] mapped SAREA 0xc88bf000 to 0x40026000
(II) TDFX(0): [drm] framebuffer handle = 0xf000
(II) TDFX(0): [drm] added 1 reserved context for kernel
(II) TDFX(0): [drm] Registers = 0xe000
(II) TDFX(0): visual configs initialized
(II) TDFX(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Dashed Lines
Offscreen Pixmaps
Driver provided NonTEGlyphRenderer replacement
Setting up tile and stipple cache:
32 128x128 slots
18 256x256 slots
6 512x512 slots
(==) TDFX(0): Backing store disabled
(==) TDFX(0): Silken mouse enabled
(II) TDFX(0): X context handle = 0x0001
(II) TDFX(0): [drm] installed DRM signal handler
(II) TDFX(0): [DRI] installation complete   < 
(==) TDFX(0): Direct rendering enabled  <
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER

% END %

But when I run the glxinfo program I get the following response :

name of display: :0.0
display: :0  screen: 0
direct rendering: No<===
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa GLX Indirect   <===
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

What it's wrong, what else do I need ? I have the opengl library provided by the XFree 
4.1.0, I
also have installed the Mesa-utils 3.4.1 libs and the glide libraries. I can't use any 
program that
need hardware acceleration, such as tuxracer.

Thanks for any help,
Paulo Vitor
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Best 2D-only card for X11

2002-01-03 Thread Vladimir Dergachev



On Thu, 3 Jan 2002, Steve Wingate wrote:

> What is the best pure 2D card in X11 with non-binary-only (read nvidia) drivers? 
>Does a Matrox G450/550 compare to GeForce & Radeon in 2D?

Well, I am not sure what precisely you are looking for, but if you want an
inexpensive card ATI Rage Pro and Rage 128 are quite good. And (last time
I checked) there were plenty of them on the shelves. You get good 2d
perfomance, YUV->RGB, and support for  high-resolution modes. 

Vladimir Dergachev

> 
> ___
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
> 

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Best 2D-only card for X11

2002-01-03 Thread Steve Wingate

What is the best pure 2D card in X11 with non-binary-only (read nvidia) drivers? Does 
a Matrox G450/550 compare to GeForce & Radeon in 2D?

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]*Severe* time lossage with XF86 4.1.0 and S3Virge MX LCD

2002-01-03 Thread Alan Hourihane

On Thu, Jan 03, 2002 at 12:33:16PM -0800, Mark Vojkovich wrote:
> On Thu, 3 Jan 2002, Yuri van Oers wrote:
> > On Wed, 2 Jan 2002, Kenneth Crudup wrote:
> > > Looking thru a couple of months of list archives turned up nothing, so:
> > > 
> > > When running 4.1.0 on my laptop using a S3Virge MX, my system clock loses
> > > at least two seconds per minute.
> > > 
> > > I've done everything I can to narrow this down, and the bottom line is
> > > when X is running, even in a "fresh" weave (running "X" only), even when
> > > the VT is not active, my clock is slowed. I've tried pulling out all
> > > the optional stuff (fifo_aggressive, the pci-burst/retry stuff,
> > > NoPM, you name it). I've got an AMD K6-2 at 400MHz.
> > 
> > I must say I've been noticing a time shift in my PC's clock as well. It
> > didn't bother me much, as the difference is not that big, over quite a 
> > long period of time (in my case, anyway). Therefore, I haven't sought to
> > find the cause.
> > My hardware differs a lot from yours, so if the X server is causing time
> > loss, I wouldn't blame it on any of the drivers.
> > 
> > I'm curious as to what others think and/or experience...
> 
>I recall a typo in the 3Dlabs driver a long time ago that was
> doing outb to a register that messed with the clock.  I don't
> remember which.  You might look for portIO happening on 
> non vga registers (ie, something outside of the 0x3cX range).
> 
That was in the 3.3.x days - a LONG time ago.

Alan.
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]'make install' on 1/1 cvs

2002-01-03 Thread Michel Dänzer

On Wed, 2002-01-02 at 12:18, emanuel goldstein wrote:
> Today I attempted to install X from cvs. Make world
> worked fine, but when i attempted to make the install
> target the process exited with the errors pasted
> below. This is the first time I've attempted to
> install from cvs, so if I am doing something wrong I
> appologize.

make World doesn't stop on errors. It's a good idea to do something like

make World 2>&1|tee World.log

and then grep '\*\*\*' World.log and if there are matches check the log
for the errors.


> This is where the error occurs:
> 
> sis_alloc.c: In function `sis_alloc_fb':
> sis_alloc.c:124: `SIS_IOCTL_FB_ALLOC' undeclared
> (first use in this function)
> sis_alloc.c:124: (Each undeclared identifier is
> reported only once   
> sis_alloc.c:124: for each function it appears in.)
> sis_alloc.c: In function `sis_free_fb':
> sis_alloc.c:154: `SIS_IOCTL_FB_FREE' undeclared (first
> use in this function)
> sis_alloc.c: In function `sis_alloc_agp':
> sis_alloc.c:197: `SIS_IOCTL_AGP_ALLOC' undeclared
> (first use in this function)
> sis_alloc.c: In function `sis_free_agp':
> sis_alloc.c:224: `SIS_IOCTL_AGP_FREE' undeclared
> (first use in this function)
> sis_alloc.c: In function `sis_alloc_z_stencil_buffer':
> 
> 
> I've failed to locate these SIS_IOCTL* constants
> anywhere. I appreciate any help you are able to give
> me.

They're defined in
programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/drm.h. It's
probably picking up drm.h from somewhere else, that's all I can say.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Disabling DGA2

2002-01-03 Thread Mark Vojkovich

On 3 Jan 2002, Mike wrote:

> Does anyone know of an easy way of disabling DGA2 in Xfree86 4.0.3 in the source or 
>at runtime. Whenever it is used it freezes the server on my VooDoo3 but I have 
>disabled its use in one of the applications and DGA1 works fine, but an app I am 
>using now is commercial and it always uses DGA2. Thanks.
> 

There isn't really DGA1 in the 4.X XFree86 servers.  The API
is offered but it is emulated by DGA2 (partially, DGA1 in 4.x
servers doesn't behave exactly like it did in 3.x servers).
You can disable all of DGA in the XF86Config file by replacing

   Load "extmod"

with

SubSection  "extmod"
Option  "omit xfree86-dga"
EndSubSection


Mark.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Dual monitor support with Elsa Gladiac 511 Twin

2002-01-03 Thread Mark Vojkovich

On Thu, 3 Jan 2002, VisoTech - Johannes Püller wrote:

> Hi,
>  
> I am using Xfree86 4x with an Elsa Gladiac 511 Twin graphics adapter.
> This card has two VGA outputs. Of course I would like to use two
> monitors now, but I stumbled into some configuration problems. In the
> documentation I found out, that the BusID is mandatory in such a
> setting. What I tried now is to start the XServer with the -scanpci
> option and not surprisingly it found the following:
> "(1:0:0) unknown card (0x1048/0x0c65) using a Nvidia GeForce2 MX"

   The "nv" driver that comes with XFree86 does not support the
second head on NVIDIA cards.  You can only use the second head
if you are using NVIDIA's binary Linux drivers.  It is not configured
the way other dual-head cards, like Matrox, are configured.  
Read the documentation that comes with the drivers - look for
the section on TwinView(TM).


Mark.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]*Severe* time lossage with XF86 4.1.0 and S3Virge MX LCD

2002-01-03 Thread Mark Vojkovich

On Thu, 3 Jan 2002, Yuri van Oers wrote:
> On Wed, 2 Jan 2002, Kenneth Crudup wrote:
> > Looking thru a couple of months of list archives turned up nothing, so:
> > 
> > When running 4.1.0 on my laptop using a S3Virge MX, my system clock loses
> > at least two seconds per minute.
> > 
> > I've done everything I can to narrow this down, and the bottom line is
> > when X is running, even in a "fresh" weave (running "X" only), even when
> > the VT is not active, my clock is slowed. I've tried pulling out all
> > the optional stuff (fifo_aggressive, the pci-burst/retry stuff,
> > NoPM, you name it). I've got an AMD K6-2 at 400MHz.
> 
> I must say I've been noticing a time shift in my PC's clock as well. It
> didn't bother me much, as the difference is not that big, over quite a 
> long period of time (in my case, anyway). Therefore, I haven't sought to
> find the cause.
> My hardware differs a lot from yours, so if the X server is causing time
> loss, I wouldn't blame it on any of the drivers.
> 
> I'm curious as to what others think and/or experience...

   I recall a typo in the 3Dlabs driver a long time ago that was
doing outb to a register that messed with the clock.  I don't
remember which.  You might look for portIO happening on 
non vga registers (ie, something outside of the 0x3cX range).


Mark.


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Strange Xinerama configuration problems...

2002-01-03 Thread Tim

Okay.. as is always the way.. 5minutes after posting to this list, I 
managed to find the bit of information I was after..

Seriously, I have been searching all day using various combinations
of xinerama related words to try and come up with a fix.. including
'xpert xinerama' to try and get any older references out of this
mailing list.

Anyway.. to quote Mark Vojkovich from the 31 Oct 2001 in a thread
called 'can't get xinerama to work, but 2 screens work'..

=
> I'm having trouble getting xinerama to work; the server
> when started with startx -- +xinerama just exits with
> > Fatal server error:
> Caught signal 11.  Server aborting

This has come up many times before.  There is a Xineramification
bug in Xv.  In the XF86Config file, instead of

   Load "extmod"

Do:

  SubSection "extmod"
Option "omit XVideo"
  EndSubSection 

  Either that or run XFree86 built from CVS.

===

Well.. I've just added the flag, and it works perfectly..

Sorry about the needless traffic, but might stop someone else making
the same mistake :)

--
Tim
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Strange Xinerama configuration problems...

2002-01-03 Thread Tim

Hiya,

I've been using Xinerama for the past few months happily until yesterday
when I returned from the xmas holidays to find out that my box had been
'broken' by an over ambitous collegue..

After re-installing everything I set to re-configuring XFree86 to enable
xinerama again.. and thats when the problems started..

With my current configuration I can:

a) Start up X with either just Screen0 or just Screen1 perfectly (by 
   modifying XF86Configs Layout section).
b) Startup X on both Screen0 and Screen1 (using the config provided).
   (this is how I'm currently stuck.. two instances of Enlightenment
running.. one on each screen.  The mouse moves between screens fine
but as they're seperate instances I can't drag windows between them
obviously :/)

However.. whenever I try and run X with Xinerama (e.g. startx -- +xinerama)
X seems to attempt to initialise the display of Screen1 then just exits
out with a signal 11.

I've played around with this all day and just can't work out why Xinerama
refuses to initialise so I'm having to submit this error log to here in the
hope someone else has had simmilar problems in the past.

I've tried to provide the lowest level report possible so this log file is
an attempt to bypass as many of my startup files as possible.  Before I flood
this e-mail with that tho, heres a diff of the output from the following two
commands: `X +xinerama > tmp1 2>&1'
  'X > tmp2 2>&1'

(nb: the first command exits with a sig11, the second command starts X fine)


= 1) diff of 'X +xinerama > tmp1 2>&1' and 'X > tmp2 2>&1' =

10c10
< (==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan  3 16:50:36 2002
---
> (==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan  3 16:50:49 2002
32d31
< (++) Xinerama: enabled
352,361d350
<
< Fatal server error:
< Caught signal 11.  Server aborting
<
<
< When reporting a problem related to a server crash, please send
< the full server output, not just the last messages.
< This can be found in the log file "/var/log/XFree86.0.log".
< Please report problems to [EMAIL PROTECTED]
<

As you can see.. theres no obvious differences appart from acknowledgement
that Xinerama is being used..

Okay.. heres the full output from 'X +xinerama > tmp1 2>&1'.  

I've also included my /etc/X11/XF86Config right at the bottom of this file
to for reference (and yes, it is definatly that file which is being read by
X).


= 2) xmessages after starting with 'X +xinerama > tmp1 2>&1`   =


XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.2.19 i686 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan  3 16:50:36 2002
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Layout1"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "Monitor1"
(**) |   |-->Device "Card1"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc105"
(**) XKB: layout: "gb"
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
Entry deleted from font path.
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(++) Xinerama: enabled
(--) using VT number 7

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(0:14:0) Matrox MGA 2164W rev 0, Mem @ 0xd800/24, 0xd900/14, 
0xda00/23
(--) PCI: (0:16:0) ATI Mach64 GR rev 39, Mem @ 0xdc00/24, 0xdd00/12, I/O @ 
0xdc00/8
(--) PCI: (1:0:0) NVidia Riva Ultra 64 r

Re: [Xpert]Xinerama incorrect DPI values

2002-01-03 Thread Dr Andrew C Aitchison

On Fri, 28 Dec 2001, Eddy Ilg wrote:

> Hi,
 
> I startet using Xinerama with KDE some time ago and it works fine,
> up to the fact that it displays True Type fonts twice as wide as
> they should be. I have searched for other people having this problem
> and found a few but no solution. Is there a solution?  The problem
> is that my virtual resolution of 2880x1200 pixels gets mapped to
> 406x305mm, so a pixel is not sqare any more. (more horizontal Dots
> Per Inch than vertical)

Are you running XFree86 version 4.1.99.2 or later (you will be running
a version built from CVS if you are) ?

This version fixes a bug which sounds like your problem.

If that doesn't help, try starting with
startx -- -dpi 100
(or use whatever value you like).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Matrox G200 agp and syncongreen == no go

2002-01-03 Thread Robbert Muller

Hi,
after trying about 8 hours, and reading almost everything i could find,
could the matrox g200 agp ( mgag200 ) do sync on green ?

because my working config for the Matrox Millennium won't work with the
g200.

i've tried the folling servers:
svga   3.3.6 ( millennium works )
xfree8 4.1.0 ( didn't try the mmillenium because the card isn't present
here right now )

thx in advance

grtz
Robbert Muller

-- 
Robbert Muller   | Never let a luser on your console.
mjrider@enschede dot com | Because that means they're in your room.
uin: 9659330 | finger [EMAIL PROTECTED]
PGP-key 0x2F634245   | for the PGP key
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-03 Thread Michel Dänzer

On Thu, 2002-01-03 at 13:47, Mike wrote:

> A similar thing happens to me with my VooDoo3 when it freezes during
> fullscreen 3D and one thing you can do to avoid rebooting is to run
> xinit or whatever in the remote session that you used to kill X and
> you should find that the X server starts up again on the main machine
> and you can use it as normal without rebooting. The only problem with
> this is that if you kill the remote sesson Xgoes down with it.

man nohup (or zsh has disown, ...)

> You'll also find that if you exit the X session normally the frozen
> screen that you had before will miraculously(?) return.

The server restores the VT to whatever it was when it started.

With a real framebuffer device, you should be able to get the console
back using fbset.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert][Newbie]What config files for Linux PPC , GLIB 2.2 (fwd)

2002-01-03 Thread Michel Dänzer

On Thu, 2002-01-03 at 15:05, Philippe Trottier wrote:

> I have these 2 setups
> 
> Machine 1:
>  -PPC 7450 (G4) Mac
>  -ATI RAGE 128 PRO
>  -Linux Kernel 2.4.18-pre1 (include ppc patches)
> 
> machine 2
>  -PPC 750 (G3 Mac,9500/120, upgraded)
>  -ATI Technologies Inc 3D Rage I/II 215GT [Mach64 GT] (rev 65).
>  -Linux Kernel 2.4.18-pre1 (include ppc patches)
> 
> I tried many make world with different site.cf and host.cf
> and I tried with 4.0.3 and 4.1.0.

Why don't you use binaries?

> manually use xf86config and then edit the XF86Config myself
> 
> 4.0.3
> XFree86 -configure finds a generic driver
> test fails, even with generic driver ...
> startx = Failed to load module "ati" (module does not exist)
> same fro generix
> 
> 4.1.0
> XFree86 -configure Signal 11
> manual configuration give the same error messages as 4.0.3

The ati driver didn't get built by default on PPC, this has been fixed
in CVS.

> What is the best way to config the site.cf and host.cf in this case ?

The easiest way to get a reasonable host.def is probably to copy
xf86site.def and edit it. Don't forget to add ati to the list of drivers
to build. ;)


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Michel Dänzer

On Thu, 2002-01-03 at 14:01, Mike wrote:
> Paulo Vitor Magacho da Silva <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> > since I upgraded my XFree86 from 4.0.3 to 4.1.0, I can't you the dri extension 
>for 
> >the Voodoo 4.
> > The XFree 4.0.3 had a RPM package called XFree86-tdfx-dri-4.0.3 ... that 
>provided the 
> >dri capability for the Voodo 4500. It worked quite well.
> > The Xfree 4.1.0 doesn't have this package. Although the performance using 
>software 
> >renderer has improved, I can't use the hardware acceleration. I
> >have already installed the glide
> >library for this board and I use the Opengl libs provided by the Xfree package.
> > My distribuition is Conectiva Linux 7.0, and I use the kernel 2.4.12 . 
> >
> You need to compile and install the tdfx drm kernel module from the source.
> If Connectiva do not supply this as a separate SRPM then you will have to
> get the full Xfree 4.1.0 SRPM and find it in the os-support directory
> in there somewhere.

That shouldn't be needed, the tdfx module that comes with kernel 2.4.12
should work. I suspect there's some kind of version conflict with the
client libraries. Hard to tell without any real info though.

> I bet your DGA does not work though.

Not that it's needed anyway...


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Voodoo 4 4500 AGP

2002-01-03 Thread Mike

Paulo Vitor Magacho da Silva <[EMAIL PROTECTED]> wrote:
>Hi,
>
>   since I upgraded my XFree86 from 4.0.3 to 4.1.0, I can't you the dri extension 
>for 
>the Voodoo 4.
>   The XFree 4.0.3 had a RPM package called XFree86-tdfx-dri-4.0.3 ... that 
>provided the 
>dri capability for the Voodo 4500. It worked quite well.
>   The Xfree 4.1.0 doesn't have this package. Although the performance using 
>software 
>renderer has improved, I can't use the hardware acceleration. I
>have already installed the glide
>library for this board and I use the Opengl libs provided by the Xfree package.
>   My distribuition is Conectiva Linux 7.0, and I use the kernel 2.4.12 . 
>   
>   Thanks,
> Paulo Vitor
>   
>___
>Xpert mailing list
>[EMAIL PROTECTED]
>http://XFree86.Org/mailman/listinfo/xpert
>
You need to compile and install the tdfx drm kernel module from the source. If 
Connectiva do not supply this as a separate SRPM then you will have to get the full 
Xfree 4.1.0 SRPM and find it in the os-support directory in there somewhere. I bet 
your DGA does not work though.

Mike.


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-03 Thread Mike

Mark Vojkovich <[EMAIL PROTECTED]> wrote:
>On Wed, 2 Jan 2002, F. Heitkamp wrote:
>
>> >module installed.
>> >
>> >   You said it crashed.  Do you mean it segfaulted?  Do you have
>> >a stack trace?
>> >
>> X just stops.  The image of the session remains in the framebuffer but 
>> no interaction
>> can take place.  Trying to kill X using the ps command (from
>a remote 
>
>   Does the cursor move? 
>
>> terminal)  is
>>  not able to remove X or the image from the screen.  The only way to get 
>> the console
>> back is to reboot.  I vaguely remember looking at the log files, and 
>> seeing nothing
>> out of the ordinary.
>> 
>> I would be glad to provide more information, if I could (suggestions 
>> welcome).
>
>   If the server is still running it would be good to see a
>gdb backtrace to find out where it is at.  It if segfaulted,
>a backtrace on the core dump would be useful.
>
>
>
>   Mark.
>
>___
>Xpert mailing list
>[EMAIL PROTECTED]
>http://XFree86.Org/mailman/listinfo/xpert
>

A similar thing happens to me with my VooDoo3 when it freezes during fullscreen 3D and 
one thing you can do to avoid rebooting is to run xinit or whatever in the remote 
session that you used to kill X and you should find that the X server starts up again 
on the main machine and you can use it as normal without rebooting. The only problem 
with this is that if you kill the remote sesson Xgoes down with it. You'll also find 
that if you exit the X session normally the frozen screen that you had before will 
miraculously(?) return.

Mike.



___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Dual monitor support with Elsa Gladiac 511 Twin

2002-01-03 Thread VisoTech - Johannes Püller



Hi,
 
I am using Xfree86 
4x with an Elsa Gladiac 511 Twin graphics adapter. This card has two VGA 
outputs. Of course I would like to use two monitors now, but I stumbled into 
some configuration problems. In the documentation I found out, that the 
BusID is mandatory in such a setting. What I tried now is to start the XServer 
with the -scanpci option and not surprisingly it found the 
following:
"(1:0:0) unknown 
card (0x1048/0x0c65) using a Nvidia GeForce2 MX"
 
So I put the 
following in the configuration file in the graphics device 
section:
--
Section "Device" 
Identifier "NVIDIA 1" Screen 0 
BusID 
"PCI:1:0:0"Driver "nv" Option "DPMS" "on" EndSection Section 
"Device" Identifier "NVIDIA 2" Screen 1
BusID "PCI:1:0:0"Driver 
"nv" Option "DPMS" "on" EndSection --
 
When I tried to start the XServer now, I 
got an error message, telling me that the device I am trying to use is already 
in use. So I guess I have to use another BusID for the second entry, but I have 
not got no other BusID?
 
Any 
ideas?
 
/Johannes 
Püller


Re: [Xpert]*Severe* time lossage with XF86 4.1.0 and S3Virge MX LCD

2002-01-03 Thread Yuri van Oers


On Wed, 2 Jan 2002, Kenneth Crudup wrote:

> 
> Looking thru a couple of months of list archives turned up nothing, so:
> 
> When running 4.1.0 on my laptop using a S3Virge MX, my system clock loses
> at least two seconds per minute.
> 
> I've done everything I can to narrow this down, and the bottom line is
> when X is running, even in a "fresh" weave (running "X" only), even when
> the VT is not active, my clock is slowed. I've tried pulling out all
> the optional stuff (fifo_aggressive, the pci-burst/retry stuff,
> NoPM, you name it). I've got an AMD K6-2 at 400MHz.

I must say I've been noticing a time shift in my PC's clock as well. It
didn't bother me much, as the difference is not that big, over quite a 
long period of time (in my case, anyway). Therefore, I haven't sought to
find the cause.
My hardware differs a lot from yours, so if the X server is causing time
loss, I wouldn't blame it on any of the drivers.

I'm curious as to what others think and/or experience...

-Yuri

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert