Re: [XFree86] Re: TV-out messes up things when TV is plugged in

2003-02-22 Thread Peter Finderup Lund
On Sat, 22 Feb 2003, Tony Wright wrote:

 In the UK this is 50hz. But my monitor is set (in linux) for 50 to 70hz.
 If I set my res to 800x600 I don't get a picture on the monitor (Or any
 output from the tv) How do I set linux to output 50hz to the monitor?

Just a thought -- maybe you have to ask for an interlaced 800x600 mode?

-Peter

Of course, I'm not unbiased, but in my humble opinion, I've
 gotten close to something that I can be really proud of.
 -- Knuth on The Art of Computer Programming.
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] plantage du xwindow

2003-02-18 Thread Peter Finderup Lund
On Tue, 18 Feb 2003, sylvain wrote:

 J'ai trouvé un bug.
 Quand je passe en mode texte (control+alt+F1 par exemple), Xfree86 plante
 après quelques secondes. Et je ne peu plus redémarrer startx.

I have found a bug.
When I pass through a text mode (ctrl+alt+F1, for example), XFree86
*plante* after some seconds.  And I can't restart(?) startx
any longer.

My severely limited French-Danish dictionary is no help with plante.
Unless you are talking about planting and gardening.  I suppose it's argot
for crashing.

Please write in English the next time.  Why should it be easier for others
to read your French than for you to write English?  The onus is on you to
make yourself understandable.

I could mutter something here about typical French arrogance which we see
plenty of in the EU but I won't.

-Peter

Of course, I'm not unbiased, but in my humble opinion, I've
 gotten close to something that I can be really proud of.
 -- Knuth on The Art of Computer Programming.
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] XFree86 Installation Problem

2003-02-10 Thread Peter Finderup Lund
On Mon, 10 Feb 2003, Mete Kural wrote:

 in that snapshot and overwrote my old configuration
 files.

Bummer -- that was perhaps not the brightest move ;)

google for Richard Dawes' explanation of how to get it running.  Of course
you have to set up things like xdm/gdm/kdm and gnome/kde yourself, now
that you busted your config files but that is more a gnome/kde issue than
it's an xfree86 issue.

-Peter

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



RE: [XFree86] XFConfig requirements for kbd and mouse

2003-02-08 Thread Peter Finderup Lund
On Sat, 8 Feb 2003, David Turetsky wrote:

 For example, where is Alt-F7 documented (I fully stand ready to be
 embarrassed)

man 1 chvt

(chvt is for scripted change of virtual terminals - it also mentions how
to do it from the keyboard)

I also think it is mentioned in several of the XFree86 documents -- but my
memory isn't too great either :/

-Peter

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



Re: [XFree86] xlib source

2003-02-06 Thread Peter Finderup Lund
On Thu, 6 Feb 2003, Navin Ariyaratna wrote:

 Hi,

 I'm looking for the Xlib source code. Where may I able
 to get this from?

http://www.xfree86.org/

-Peter

We need to see ex-girlfriends occasionally so that we remember why we
aren't with them anymore.

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



Re: [XFree86] please unsubscribe me from the list

2003-01-30 Thread Peter Finderup Lund
On Fri, 31 Jan 2003, rabiya wrote:

 Hello

 Please unsubscribe me from the list.

follow the link at the bottom of every email from the list.

-Peter

We need to see ex-girlfriends occasionally so that we remember why we
aren't with them anymore.

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



Re: [XFree86] Boot failure due to file system error help required!

2003-01-28 Thread Peter Finderup Lund
On Tue, 28 Jan 2003, Mahendra 'Raj' wrote:

 Sir,

 While booting through Linux 7.2 , in complete boot shows message /contains a filoe 
system with errors, check forced

 Inoed 179266 has imagic flag set.

 /: un expected Inconsistency; RUN fsck MANUALLY (ie. without -a or -p options)

 Kindly help me out to solve the problem in my PC.

sarcasm

Madam,

pleasantly contact the people you bought your linux 7.2 from and ask them
for support.

/sarcasm

Or:

 1) contact a Linux User Group -- they usually have install parties where
you bring your machine and both learn something about the operating system
and get it fixed.

 2) get a friend who is a Linux guru to help you

 3) search the web -- there are plenty of pages that explain how to run
fsck.

 4) if you have another machine with Linux 7.2, check the documentation
for fsck by running man fsck.

When you write Linux 7.2 it tells me three things:

 1) you probably know /very/ little about Linux

 2) you aren't precise unless told to be --
that's a very bad habit when you work with computers, and

 3) you definitely don't mean Linux 7.2.  You probably mean something
like Red Hat Linux 7.2 or Mandrake Linux 7.2 or whatever.  There
is no such thing as Linux 7.2.

The distribution vendor (the people who gathered all the software on the
CDs you probably used) has mailing lists and support forums you can
contact, too.  You can probably even do so for free, if you can live with
a fellow user answering you instead of a company support person.

This list is not for help when a disk has crashed or a file system is in
disrepair -- it is for questions on the XFree86 X server and associated
programs.

-Peter

PS:  How in the world did you end up asking on this mailing list?  It is
probably as far away from being the wrong place as it can possibly be.
We would like to have future queries like yours directed to the right
place in the future both to help the hapless user and (most importantly)
to avoid getting them here.

Anything you can say about this will help!

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



Re: [XFree86] XFree86, Radeon 7000, and 3D hardware support

2003-01-28 Thread Peter Finderup Lund
On Tue, 28 Jan 2003, John S. Chalice wrote:

 And what do I do with this .diff file?  I am quite the linux newbie.. :)

It is the difference between two versions of a set of source files -- a
delta, so to speak.

You apply it to the older of the two versions with a nice utility called
patch.

The diff file (also called a patch) is the result of running the utility
called diff on two files or two sets of files.  It prints the
differences to stdout, which the programmer can choose to look at or to
redirect to a file (which is what happened in this case).

The diff file is human-readable - go have a look to see which files are
changed and how :)

Three great points about diffs:

 o it is used to synchronize developers placed all over the world.
   Whenever somebody has written a newer version of some code s/he/it
   sends the diff file (usually in the socalled unified format because most
   people find it easier to read).  It is pretty clear to the rest if the
   changes are worthwhile or not just from reading those diff.

 o you can concatenate several diff files to make one big patch:

 cat diff1 diff2 diff3  bigpatch

 o you can insert a diff file right in the middle of an email and later
   feed it into patch -- which will obediently ignore the text in
   your email and just apply the patch!

Linus Torvalds used to export all the emails with interesting patches to
one big file and then apply the whole shebang.  You can also massage
patch files pretty easily in a text editor if you need to.

man patch should help you with the rest of the details.

(you will probably need to type something like patch -p0 
radeonpatchwhatever.diff while in the directory with all the other source
code and then recompile)

-Peter

We need to see ex-girlfriends occasionally so that we remember why we
aren't with them anymore.


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



Re: [XFree86] LG Electronic Flatron 795FT Plus

2003-01-24 Thread Peter Finderup Lund
On Fri, 24 Jan 2003, Rina e Corrado On BTOpenworld wrote:

 Are there known compatibility problems between LG Electronic Flatron 795FT
 Plus and XFree86 4.2.1 (on Linux Mndarke 9.0 on Athlon, with ATI
 All-in-wonder 128 graphic card)?

There might be with ATI All-in-wonder 128 but there shouldn't be
otherwise.  I have such a monitor and I have run 4.2.0 (compiled from
source) and 4.1.0.1 (debian woody version) without any problems.

-Peter

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



Re: [XFree86] Re: linux-drm-4.2.0-kernelsource.tar.gz alanh

2003-01-24 Thread Peter Finderup Lund
On Fri, 24 Jan 2003, Kurt Wall wrote:

 Only 20? Here at KurtWerks, it takes just over an hour on one machine,
 just over 45 minutes on another.

206 minutes and 45 seconds.  500 MHz K6-2, 256 MB RAM.  It might be due to
one of the harddisks involved being a bit slow.  Should really install
ccache.

-Peter

We need to see ex-girlfriends occasionally so that we remember why we
aren't with them anymore.

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



Re: [XFree86] XFree86-4.3!

2003-01-21 Thread Peter Finderup Lund
On Tue, 21 Jan 2003, Ramesh K. Sistla wrote:

 I am new to the list and XFree86 as such(even though I am using X for
 past 5 yrs!). I would like to know if 4,3 version of X has been
 released. Info. reg. this will be of help.

No, not yet.  There has just been released a new prerelease snapshot (or
rather, the newest files in CVS were tagged ;) ).  Go back a day or two in
the archive to see the schedule for 4.3.

-Peter

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



Re: [XFree86] XFree86 problems with Sony Vaio pcg-fxa59 (fx705)

2003-01-21 Thread Peter Finderup Lund
On Mon, 20 Jan 2003, Bill Swingle wrote:

  That looks weird.  Does it always happen at the same place (with the same
  size NUL block)?

 I don't think so but I can reproduce the result (my laptop powers off
 ,via ACPI presumedly) right when the X build crashes. There are multiple

Can't you change that in the BIOS setup?

There doesn't seem to be anything wrong with the logs except that they
stop prematurely and are padded with zeros.

-Peter

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



Re: [XFree86] X locked up and now will not load

2003-01-21 Thread Peter Finderup Lund
josef: If you try this, please don't delete them.  Move them to a separate
directory instead so you have a way of getting them back.

-Peter

On Tue, 21 Jan 2003, Yury Tarasievich wrote:

 This is only guessing, but could you try removing files in your ~
 directory which have names like .X... (dot capital X something). Also
 remove everything having such names in /tmp directory.

 Of course all this has to be done before attempting to run X.

 [EMAIL PROTECTED] wrote:

 Tried all the actions you suggested, with no success.
 Tried killing 2935 and all other X-related processes,
 but the screen instantly goes blank and the system just
 tries to restart all the same processes, causing another
 lock-up.  So, where do I go from here?

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



Re: [XFree86] X locked up and now will not load

2003-01-20 Thread Peter Finderup Lund
On Mon, 20 Jan 2003, [EMAIL PROTECTED] wrote:

 I have tried to kill all related processes and it just respawns.
 I have rebooted several times by shutdown -r now and by CTRL+ALT+DEL
 Yes, the process IDs are different, and I have tried killing every
 applicable process by the most recent process ID numbers, always
 with the same blacked screen and respawn that locks up.

Ok - I initially thought some glitch had happened that tripped the X
server and once you got rid of it things would work fine again.

Apparently that is not the case :(

Did you try a complete power off?  (sometimes a reset isn't as complete
as a power off is)

How long had the machine been on before things went wrong?  Could you have
done something that changed some configuration files some time ago without
restarting X or rebooting?  I have seen this happen a couple of times,
where a machine seems to be perfectly configured until one tries to
restart a service or reboot it whereupon it trips on a broken
configuration file :/

Does the monitor work on other machines?  If it didn't, that would be a
confirmation that something nasty really did happen to the power and that
your UPS didn't handle it all too well :/   In that case you might have an
acute case of bad hardware on your hand and no amount of reconfiguration
and software trickery will fix it :(

-Peter


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



Re: [XFree86] Indication of wether an email here was sent vianon-subscriber

2003-01-19 Thread Peter Finderup Lund
On Sun, 19 Jan 2003, Mike A. Harris wrote:

 The web CGI on XFree86.org that allows people to submit bug
 reports here.  Also, I believe the list allows people to email
 reports here without being subscribed.

 When someone on the list reads a report, there isn't always an
 easy way to know if the reporter is subscribed or not to the
 list.  As such, a reply might get sent back only to the list, and
 the original reporter might not ever see it.

That's what dawned upon me, too, a couple of days ago.

 Any ideas for how this situation might be improved?

Is it possible to send a prewritten mail back to people the first time
they post here (if they are not subscribed)?

Is it possible to include [UNSUBSCRIBED] or similar in the subject?

Would it be a good idea if the XFree86 error messages didn't state an
email address but a URL to a webpage that contains explanations, info on
the most common errors, a suggestion to search the mailing list,
links to the archives  and only THEN a link to the subscription page for
xfree86?  (it should skip the page with all the mailing lists on the site)

-Peter

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



Re: [XFree86] [XFree86(TM) Bug Report] Nvidia Geforce2Go: autodetects1400x1050 LCD, then refuses to use it (hysnc out of range)

2003-01-19 Thread Peter Finderup Lund
On Sun, 19 Jan 2003, Mike A. Harris wrote:

 You know why?  Because NVidia keeps it a secret how their cards work :(

 While that's true, in fairness to Nvidia, the XFree86 source code
 was updated to support the GeForce 2 Go almost a year ago.  There
 just has not been an official XFree86 release which contains this
 updated driver since then.

Great :)

I love their hardware and I /am/ truly happy that they have at least
binary drivers and that Mark does good stuff on the open source drivers :)

-Peter

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



Re: [XFree86] Linux kernel style tainting of non-open sourcemodules?

2003-01-19 Thread Peter Finderup Lund
On Sun, 19 Jan 2003, Mike A. Harris wrote:

 engineer knowing these things can save themselves a _LOT_ of time
 in tracking down red herring types of bug reports.

Precisely.

 show nvidia as the driver.  This is already very aparent, so no
 special tainting infrastructure really needs to be in place.

Yes, but it is not very clear -- I'd like it to be displayed at the bottom
of the error message instead of buried somewhere inside a log file.  We
want people to see it and understand it /before/ they send bug reports.

Also, people seem to copy and paste the error message and attach the log
file.  It is much faster to skip/give standard reply if the tainted
message is in the error message instead of in the log.

 shipping a proprietary driver could use that same tag in their
 driver also, and not be violating the license, since the MIT
 license allows you to do pretty much anything with the code.

Good point -- hadn't thought of that.

 XFree86 would have to change the license to GPL, or add some
 clause to the license in order to implement some form of tainting
 infrastructure.

Would never fly -- and shouldn't!

 One thing that would be a much more useful parallel to the
 kernel's taint feature, would be some form of digitally signed
 modules.  Have an option that is off by default in the X sources
 that allows the builder to have the modules all digitally signed
 at build time.  This presents a number of options.

Now, /that's/ a good idea.  But does it have to be signed?  Wouldn't a
good hash (MD5?) be enough?

I agree with you that it should not be used as a security mechanism and
loading unsigned modules should never be blocked.

It only has merit for improving the bug report process, both for the
end-user (oh, it didn't work and it suggests that I try with one of the
modules it knows about instead.  Ok, I'll try that and see if it works
better.  And if it doesn't, then I'll at least know not to blame the
XFree86 people) and the XFree86 developers.

-Peter

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



Re: [XFree86] what is this/??/

2003-01-19 Thread Peter Finderup Lund
On Sun, 19 Jan 2003, daniel aquino wrote:

 dude i asked one ? and got liek 20 other peoples ?s

That's because this is a mailing list.

http://www.webnovice.com/mailing_lists.htm :

Basically, all mailing lists work the same way: Any messages sent to the
list manager that are intended for the list members get delivered to every
member on the list in their mailbox. When a member of the list logs onto
the Internet with their email program, the list messages are delivered
just like any other email. In other words, if you send a message to the
list, everyone who is subscribed to receive messages from the list will
get them. Pretty simple, huh?

 what is this all i want to know why cant anyone but
 root startx tthats all cant u asnwere this its s
 permission problem so you should know what it is

Because of your lack of grammar and ortography and very sloppily
formulated question.

Such is usually a good predictor that somebody won't be able to understand
the answer and that it would be a waste of time to try.

Sorry if that sounds elitist - I don't write it to slight you, it's just
my experience :(

You also sound like somebody who expects customer service -- but you are
not a customer of the XFree86 project.  You are a customer of whomever you
bought your computer from (unless it was a gift ;) ), perhaps also of the
company you bought your graphics card from and of the company you bought
your Linux (?) distribution from (presuming you bought it).

If you paid somebody money then you can ask for customer support from them
-- and /do/ indeed deserve to be treated as a customer.

The volunteers at the XFree86 project will be glad to help you if you
provide enough information for us to be able to help you and do your part
of the work, for example looking up faqs, searching the mailing list
archives, google for information.

If you don't they tend to ignore you at best because then you are to all
intents and purposes just noise.

-Peter

PS: The question about the X server requiring root priviliges /was/
answered recently on the mailing list.

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



Re: [XFree86] Compile problems for 4.2.99.3/startx problems

2003-01-19 Thread Peter Finderup Lund
On Mon, 20 Jan 2003, Greg Julius wrote:

 No.  It didn't.  At least I have a variation of the EV700 Gateway monitor
 with a lower refresh rate than the install program picked.

 Bummer, all of this time, all of you good folk's help, patience, and
 effort, just because of a mis-direction.  Crum.

 I want to say
 THANK Y'ALL,
 THANK Y'ALL,
 THANK Y'ALL.

You are welcome :)

Thank you for the post-mortem analysis on how it ended up being so
difficult.  Very useful, I think!

-Peter

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



Re: [XFree86] Compile problems for 4.2.99.3

2003-01-18 Thread Peter Finderup Lund
On Sat, 18 Jan 2003, Greg Julius wrote:

   When I first compiled, it couldn't find png.h so I went and found
   that.  Then it said it needed zlib so I went and found that.  Installed
   zlib with no apparent errors.  Then installed libpng with no apparent
   errors.  Recompiled again.  Still couldn't find png.h.
 
 You need the development version of the rpm, I think.

 I did source installs.  The png.h was there, it just couldn't find it.

Presumably the Makefile with the source probably installed png.h
someplace different from where the Red Hat rpm would have put it.  The
build environment on a Red Hat system is set up to use slightly different
search paths from what the libpng sources default to, I think.

I was thinking about something like this:
http://rpmfind.net/linux/rpm2html/search.php?query=libpng-devel

(No, I don't know which version would be relevant to you -- I switched to
Debian on my machine years ago)

   I've got a zillion zlibs on this system.  I have my source at
   /usr/src/zlib-1.1.4 and symbolic link to same as /usr/src/zlib.
 
 It is not looking for the source to zlib, only for the lib so it can
 satisfy the dependencies that libpng has.

 Excuse me, I meant to imply that the object modules (from my zlib compile)
 were in the same directory.  I didn't figure it meant the source :)  See next.

gcc (when invoked as a linker) doesn't look for .o files unless you tell
it to.

   Q2  3: There is no zlib.so anywhere and I have the deflate.o (and all the
   rest) where the source is.  Where should I put them?  I see there is a
   deflate.c in the XFree86 cvs tree - shouldn't it be building and using
  that?
 
 Can you find an RPM with zlib?  Preferably a devel version?

 The rpms that I found (libpng  zlib) were of a release before the fix for
 some kind of overrun bug.  Figured to get it right while I was at it.

OK - it sounds like you asked for more problems than necessary, though.

   Thanks again for all of your patience and assistance.
 
 It's okay as long as you 1) make progress, 2) ask good questions where we
 don't have to guess too much 3) make an effort to look up the obvious
 before you post and 4) mostly follow instructions :)

 1) I (hope I) am making progress (although it flll so
 slw).  2) I figure my posts border on the verge of tedious, but
 I want to give good data so I can receive good feedback  ideas.  That's
 why they are sortta digests of what has transpired.  They show what I've
 attempted and where I am.  Possibly from that y'all can see what i'm doing
 wrong.  3) I've spent hours after each problem trying to figure it out, but
 end up at an impasse.  4) I try, sometimes even the answer/instruction is
 beyond my understanding.  Sometimes I get an answer that was already
 discovered/tried  mentioned later in the post.

I think you are doing fine :)

 I searched the generated log for deflate et. al. and found where make World
 did the xcursorgen stuff.  Captured the generated commands to a script file
 so I could play with them.  The script is (gcc line broken to make it
 readable in the mail)
 #!/bin/sh -v
 cd /usr/src/cvs/xc-4.2.99.3/xc/programs/xcursorgen
 echo Entering directory $PWD 

 gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic
 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations -Wredundant-decls
 -Wnested-externs -Wundef
 -I../.. -I../../exports/include
 -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
 -D_XOPEN_SOURCE -D_BSD_SOURCE
 -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO
 -c -o xcursorgen.o xcursorgen.c

 rm -f xcursorgen

 gcc -m32 -o xcursorgen -O2 -fno-strength-reduce -fno-strict-aliasing -ansi
 -pedantic
 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations -Wredundant-decls
 -Wnested-externs -Wundef
 -L../../exports/lib   xcursorgen.o -lXcursor -lXext -lX11 -lpng
 -lm  -Wl,-rpath-link,../../exports/lib

 I found that the first (the compile?) worked fine and the second (the
 link?) is where the failure is.  This didn't tell me much at the time, but

Yes, the first is the compile and the second is the link.

 I went searching for deflate in the log because it was one of the problem
 children.  I found in the log where it did:
 (typed from notes)
 from directory /usr/src/cvs/xc-4.2.99.3/xc/lib/zlib
 remove libz.a  (an archive ar called it)
 ar clq  libz.a  (created archive libz.a from my missing objects (and
 more) - create, don't look for dups, quietly)
 ranlib libz.a  (make an index in libz.a)
 made a symbolic link xc/exports/lib/libza to the one just built

 All of that proceeded without errors.  So the question became why can't the
 xcursorgen step find them?  I tried putting libz.a in the same directory as
 the libpng.so but that didn't help.  Investigated the offending gcc line
 above and noted -lpng on the line and wondered why isn't there a -llibz on
 the line?  Tried that, and it couldn't 

Re: [XFree86] Direction on X Programming

2003-01-18 Thread Peter Finderup Lund
On Sat, 18 Jan 2003, Thiago Silva Conceição wrote:

 Hi, I'm a newcomer to X Programming and I would like to know what would
 I need to learn besides Xlib if I were to build a Window Manager?

 Could anyone recommend any website or book?

No, but I can recommand the sources to aewm.  It is a very minimalistic
window manager with very good documentation and comments.

 I read something about Xt, what comes exactly to be and what is it for?

Ignore it, I'd say.

 If I were to build a toolkit would I need to use it or something?

Not necessarily (but why /would/ you want to build a toolkit?)

-Peter

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



Re: [XFree86] Compile problems for 4.2.99.3

2003-01-18 Thread Peter Finderup Lund
On Sat, 18 Jan 2003, Greg Julius wrote:

 The more leaks I plug, the more leaks I find.

 How do I tell the make to add another library to the compile.

My compile of XFree86 just finished without a hitch -- maybe Debian is a
better build environment than Red Hat? ;)

(no, I don't believe that -- I think you should have installed -devel RPMs
instead of trying to install from source for png and zlib)

-Peter

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



Re: [XFree86] Intel 845 Support

2003-01-17 Thread Peter Finderup Lund
On Fri, 17 Jan 2003, Gary Knopp wrote:

[some obnoxiously long lines - could you fix the settings of your email
program?]

 Hello,

 I was able successfully download, make, and install the lastest
 XFree libraries.  However, I did not see the Intel 845 as one of the
 card choices when using Xconfigurator.  Should I have?

No.

 So I chose the Generic Vesa driver again.  I still was unable to get
 anything better than 600x400.  I have no idea what's wrong.  Could it be
 related to the version of RedHat I'm using?  I am running 7.2. Are there
 any other parameters that I need to manually add to the config file.

Read some of the other recent mails on this list... especially by Greg
Julius and Mike A. Harris.  Check the link to the text by Dawes.

-Peter

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



RE: [XFree86] Asynchronous IO

2003-01-17 Thread Peter Finderup Lund
On Fri, 17 Jan 2003, Alexander Stohr wrote:

 i am sorry, here is the XFree86 x11-windowing project
 that not really can answer your questions.
 (X11 is the GUI driver system for Unix, Linux, BSD, whatever...)

 -Alex.

 PS: why not ask that on the Linux Kernel mailing list (lklm),
 i think you will find it at rutgers.edu, if i remember correct.

Not a good place either.  They are not particularly fond of people who are
too lazy/stupid to google, either.

But at least it's /slightly/ on topic there ;)

Abhilash, google for unix socket faq or something like that.  Or google
for unix programming faq (I think you definitely need that too).  Or
read the book recommendations in the docs that come with the Linux kernel.
Or do just about anything -- if you follow the references and use google
just a teeny-weeny bit you are going to have more than enough stuff within
30 minutes (that is, if you are a slow reader and make many typos).

-Peter

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



Re: [XFree86] Intel 845 Support

2003-01-17 Thread Peter Finderup Lund
On Fri, 17 Jan 2003, Dr Andrew C Aitchison wrote:

 The i810 DRI module doesn't know about the i845 - i810_dri.so is no help;
 i830_dri.o might help, but I don't know.

Dawes writes that the i830 module is necessary.

http://www.xfree86.org/~dawes/845driver.html

-Peter

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



Re: [XFree86] [XFree86(TM) Bug Report] The System has been showingXWindows perfectly...but after a suddenly POWER DOWN, some important troubleshave appear with XServer

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Jesus Celada Perez wrote:

 (++) Using config file: [EMAIL PROTECTED]
 (EE) R128(0): No DFP detected
 Could not init font path element unix/:7100, removing from list!

 Fatal server error:
 could not open default font 'fixed'

Please look back a few days in the archive
http://www.mail-archive.com or http://marc.theaimsgroup.com

or google for could not open default font 'fixed'.

-Peter

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



[XFree86] Make the archive urls clickable on http://www.xfree86.org/mailman/listinfo/xfree86

2003-01-16 Thread Peter Finderup Lund
There are two archive urls listed on
http://www.xfree86.org/mailman/listinfo/xfree86 but they are not clickable
(i.e. they are ordinary text instead of HREF's) so many people will
overlook them.

If we want people to look in the archives instead of spamming us with
incomplete descriptions of how they managed to screw their own
configurations, I think that needs to change.

I also think that even if they /are/ made clickable they are too many
links away from the main xfree86.org page (yes, people /are/ lazy and many
actually have only average IQs ;) ).

-Peter

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



Re: [XFree86] [XFree86(TM) Bug Report] after few days: Caught signal11. Server aborting

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Vlado Potisk wrote:

 Regarding: after few days: Caught signal 11. Server aborting

Have you checked http://www.bitwizard.nl/sig11/ ?

It might be bad hardware and not a real X server error.

-Peter

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



Re: [XFree86] [XFree86(TM) Bug Report] after few days: Caught signal11. Server aborting

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Vlado Potisk wrote:

  It might be bad hardware and not a real X server error.

 It might be, but it is not very probable if you consider:
   - thorough check with memtest86 passed recently

You didn't write that in the original mail.

   - no problem with 3.3.6 in previous years on the same hardware

A chip or a expansion card or a memory module could have gotten slightly
loose.  Or a chip that isn't correctly cooled finally started to give in.

   - problem occurs when clicking in kmail

You said it happened rarely.  That means there could very well be other
situations that could trigger it.  kmail could (in principle) just be
stressing the video card and RAM and net and disk enough simultaneously to
whack the hardware.  Could still be consistent with the bad hardware
hypothesis.

   - segfault occurs in _fs_load_glyphs() - see the stack traces

If it always happens there, then yes.  It does occur there in both traces
-- I overlooked it in the first, sorry.

Maybe the question then becomes: what fonts do you have on your system?

-Peter

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



Re: FW: RE: [XFree86] Fwd: Fatal Server Error

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Alexander Stohr wrote:

 FYI - the reason for the fixed failure was out of disk space

Interesting -- so that code path needs to not only check access
rights/ownership but also free disk space :)

-Peter

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



Re: [XFree86] [XFree86(TM) Bug Report] after few days: Caught signal11. Server aborting

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Vlado Potisk wrote:

  Maybe the question then becomes: what fonts do you have on your
  system?
 I have an external font server, If you want to see any font list, please
 write what command I have to run to produce it.

_fs_load_glyphs() seems to be part of a module that communicates with a
font server.

/etc/X11/xfs/config
/etc/X11/xfs/xfs.options

the Files section of XF86Config

perhaps the font alias lists are also useful (not sure -- I'm not an
expert on any of this): ls -l /etc/X11/fonts/*

Can you recompile the X server with debug symbols on (-g) to get a better
backtrace ... or alternatively thru creative use of gdb correlate the
address in _fs_load_glyphs() from the backtrace with a line number in
xc/lib/font/fc/fserve.c ?


-Peter

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



Re: [XFree86] [XFree86(TM) Bug Report] after few days: Caught signal11. Server aborting

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Vlado Potisk wrote:

  Can you recompile the X server with debug symbols on (-g) to get a
  better backtrace ... or alternatively thru creative use of gdb
  correlate the address in _fs_load_glyphs() from the backtrace with a
  line number in xc/lib/font/fc/fserve.c ?
 OK, I will rebuild it from SRPM, it might take days or even weeks
 to the next crash, I will e-mail you then with the results.

 Many thanks,

You are welcome -- this has become interesting :)

(I'm just a user like you - I hack on a few things here and there but I
don't know all that much about the X internals.  Still, I think we can
nick this one!)

-Peter

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



Re: [XFree86] Intel 845 Support

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Gary Knopp wrote:

 Are there any plans to support the Intel Extreme Graphics
 card (845)?I tried using the vesa driver as documented
 by RedHat as the replacement.  However the only resolution
 I can get is 640x480 which is horrible?  Are there any other
 configuration parameters I can tweak or another driver I can
 use will work better?

Go a few days back in the archive for this mailing list.  You will find
this answered not just once or twice but many times.

-Peter

We must give reparations to, or pay for affirmative action for, black Americans
by identifying and taxing the descendents of the black Africans in Africa who
captured and sold black Africans to the slave ships.

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



Re: [XFree86] CONFIGURATION VIDEO TOSHIBA SATELLITE PRO 4600

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003 [EMAIL PROTECTED] wrote:

 Bonjour,
 Impossible de configurer avec Xconfigurator l' écran ainsi que la carte vidéo
 de ce portable.
 comment puis-je trouver les données utiles à cette mise en oeuvre ?

1) English is the prefered language here.  It has the huge advantage of
being understood by far more people.

2) You don't give us enough information to work on.  What distribution are
you using?  What version of XFree86?  What did you try?  What happened
then?  What was the error message?  Etc...

3) Perhaps it's a distribution vendor support issue?

[For those who read even less French than I do:  he's telling us that he
can't get his screen configured with Xconfigurator and how can he get it
fixed, please? ]

-Peter

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



Re: [XFree86] startx problems.

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Greg Julius wrote:

 (This is a re-send of a previous post).

Ok, now I recognize it.  Aren't you  being just a little bit impatient? ;)
Remember that you are not a customer (of us) nor are the others on this
list your help desk.  We are just people who either use or develop
XFree86, many as unpaid volunteers.


 I have put in the 4.2.20 kernel - just fine now.  I installed the XFree86

No, not kernel.  X server.  Right?

 4.2.99.3 binaries and things stopped.

 I just did a XFree86 -configure and put the resulting configuration file in
 /etc/X11/XF86Config.  I restarted the system.  I did a startx.  Nothing but
 blank screen.  Edited the config file and replaced the i810 driver with
 vesa.  restarted the system again.  I did a startx.  This time I got

ok, so the driver didn't actually work :(

I don't know anything about that -- I think others know more.

 something.  I'm not sure what it was, but it wasn't my pretty interface
 before the binary install.  It a desktop for lack of a better term.  It
 had a clock (hard to read, but analog format).  It had two terminal windows
 with dark backgrounds and one terminal window with a light
 background.  exiting the light one exits everything.

That, I know something about.

 1) How do I get my pretty interface back (GNOME)?  I tried switchdesk
 GNOME, but I got the same stuff.

what is the contents of your .xinitrc file?  Mine just says:

exec gnome-session

 2) Must I always reboot after I stop a startx?  If I don't I just get a
 blank screen.

No, you shouldn't need to.  You don't describe above that you need to.
Can you say more about this?

-Peter

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



Re: [XFree86] startx problems.

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Greg Julius wrote:

   I have put in the 4.2.20 kernel - just fine now.  I installed the XFree86

 Yes, kernel, but I goofed with the #  it is 2.4.20.  Sorry,  The first
 instructions I received indicated I needed the 2.4.20 kernel so I started
 down that line.  See http://www.xfree86.org/~dawes/845driver.html .

Where did you get it?  Compile from source or a binary package from
somewhere?  Did you get the DRI module, too?

What does lsmod tell you before you run startx?

About the weird blanking when switching between virtual consoles
(Ctrl-Alt-Fn), have you tried the vesafb ?  (easier to do if you compile
the kernel from source, I think)

-Peter

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



Re: [XFree86] [XFree86(TM) Bug Report] after few days: Caught signal11. Server aborting

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Mark Vojkovich wrote:

From what I've seen, most segfaults with the last official release
 are due to bugs in the font renderers, or maybe just in the font
 server.  You could try explicitly putting font paths in the XF86Config

Not just in the font server -- a bad font server shouldn't crash a good X
server, should it?

-Peter

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



Re: [XFree86] startx problems.

2003-01-16 Thread Peter Finderup Lund
On Thu, 16 Jan 2003, Greg Julius wrote:

 Where did you get it?  Compile from source or a binary package from
 somewhere?  Did you get the DRI module, too?

 The 2.4.20 kernel I got from Linux.org - compiled from source with gcc 3.2

kernel.org?

what .config?  (did you select anything AGP related?)

 The 4.2.99.3 XFree I got from XFree86.org as a binary.  I have also brought
 the cvs tree for 4.2.99.3 down yesterday so I have the source. I haven't as
 yet figured out how to build XFree86 and all of its parts from the source.

 Did I get the DRI module?  How would I know?  What should it have been
 in.  I didn't download anything specific.

From http://www.xfree86.org/~dawes/845driver.html :

In addition to building/installing XFree86 CVS code, a recent 2.4.x kernel
is needed. 2.4.19 or later is recommended. If you want to use the DRI
support, an updated i830 DRM module is also required, and it is best to
build one from either the XFree86 or DRI source tree. To do this you will
also need your kernel source installed. Here is an example of how to
build and load the new i830 DRM module:

# cd xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
# make -f Makefile.linux i830.o
# modprobe agpgart
# rmmod i830
# insmod i830.o Here is an example of how to install the new i830 DRM module so 
that
it will be loaded automatically when needed:
# mv /lib/module/`uname -r`/kernel/drivers/char/drm/i830.o \
 /lib/module/`uname -r`/kernel/drivers/char/drm/i830.o.save
# cp i830.o /lib/module/`uname -r`/kernel/drivers/char/drm

[end]



 What does lsmod tell you before you run startx?

 I have put some stuff up on my website:
 lsmod:  http://www.outtacyte.com/outtacyte/ref/lsmodlist
 XFree86.0.log:  http://www.outtacyte.com/outtacyte/ref/XFree86-log
 XF86Config: http://www.outtacyte.com/outtacyte/ref/XF86Config

 The config file comes from XFree86 -configure and I've only changed the
 driver from i810 to vesa.

Thanks.

See if you can change it back after recompiling the kernel with vesafb.


 About the weird blanking when switching between virtual consoles
 (Ctrl-Alt-Fn), have you tried the vesafb ?  (easier to do if you compile
 the kernel from source, I think)

 what is vesafb?  Is this a driver?  What would I do to try it out?

in the kernel source tree:  make menuconfig and find the right option.
Then make dep bzImage modules followed by make install modules_install as
root -- just your standard kernel compile.

The vesafb is another way of handling the text-mode console.  It
actually doesn't have to run in text mode, even for text output.  vesafb
keeps the video card in graphics mode all the time.  It was suggested in
Dawes' document:

Lots of people have reported problems related to VT switching with the
830M. Feedback from the 9 December update indicates that most of these
problems are now fixed, but that a few less-frequent problems still
remain. If you are seeing this type of problem, please send me details,
including a log file (/var/log/XFree86.0.log) and your laptop brand and
model, and BIOS revision. If you saw this problem with the previous
version, and don't see it after the 9 December update, please also drop
me a note.

I've had a report that (on Linux) if you use the vesafb console instead of
the default text-mode console, the VT switching problem can be avoided. As
Calum Mackay suggested, this is a good workaround if you're being bitten
by this problem (and if the 9 December update doesn't fix it).

 I have the following AGP/DRM
 CONFIG_AGP=m

Load the module before you start X or change to y and recompile.  It
might work.

 CONFIG_AGP_INTEL=y
 CONFIG_AGP_I810=y
 CONFIG_AGP_VIA=y
 CONFIG_AGP_AMD=y
 # CONFIG_AGP_AMD_8151 is not set
 CONFIG_AGP_SIS=y
 CONFIG_AGP_ALI=y
 CONFIG_AGPSWORKS=y
 CONFIG_DRM=y
 # CONFIG_DRM_OLD is not set

 #
 # DRM 4.1 drivers
 #
 CONFIG_DRM_NEW=y
 CONFIG_DRM_TDFX=m
 CONFIG_DRM_R128=m
 CONFIG_DRM_RADEON=m
 CONFIG_DRM_I810=m
 # CONFIG_DRM_I810_XFREE_41 is not set
 CONFIG_DRM_I830=m

Looks as if you build the right type of module with the kernel, but Dawes
writes that you need the module from the DRI or XFree86 source instead of
from the kernel source.

-Peter

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



Re: [XFree86] Missing XFree86 DGA Extension

2003-01-15 Thread Peter Finderup Lund
On 15 Jan 2003, Steven P. Auerbach wrote:

 I am running VMware on my Linux box, running Red Hat 8.0. This software
 (which runs Windows under Linux) has a full-screen mode, which I
 successfully used under Red Hat 7.3. Now, when I start VMware, I get the
 message:

 XFree86 DGA extension not present.
 Either your X Server is built without this extension,
 or it is not configured to use it.
   ^^

 XFree86 direct graphics (DGA extension) initialization
 failed.

 I'm using XFree86 Version 4.20, with an nVidia Quadro2 EX card.

So, what /is/ your configuration?

And what does the logfile look like? (/var/log/XFree86.0.log or something
like it -- it will tell us if it was compiled in or not, whether it tried
to initialize it or not, etc.)

And what version of VMWare are we talking about?

Could it be an old one that can only use DGA 1 and RH 7.3 used an X server
that supported DGA 1 whereas your current one only supports DGA 2?

Just an idea...

-Peter

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



Re: [Xpert]how to get global key release events ?

2002-07-30 Thread Peter Finderup Lund

  On Fri, 26 Jul 2002, Alexander Neundorf wrote:
 
   I need to get global key release events in my app, i.e. also if none of the
   windows of my app has focus.
   My app is based on Qt/KDE and I am able to get the key press events, but not
   the release events.
   I read some things about input masks, grabbing keys, window attributes and so
   on, but I don't  really understand what I have to do.
   Can somebody please shed some light on me about key grabbing, input masks,
and stuff ?

Turns out I /did/ overlook something!  Ah, the joys of early brain damage ;)

There are a couple X extensions intended for macro recording/playback and
regression testing purposes (mainly): XTrap, XTEST, RECORD.

XFree86 4.2.0 contains the docs for XTEST and RECORD but not for XTrap.

However, I couldn't find any demos or test code for XTEST and RECORD in it
but I did find xc/programs/xtrap/*, which contains many useful little
programs to use or to steal code from.  They do seem to be able to snoop
keyboard press/release events (among a ton of other things).

-Peter

Never judge the strength of foundation by size of building.

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



Re: [Xpert]how to get global key release events ?

2002-07-30 Thread Peter Finderup Lund

On Tue, 30 Jul 2002, Peter Finderup Lund wrote:

 XFree86 4.2.0 contains the docs for XTEST and RECORD but not for XTrap.

The docs for XTrap can be found here, at The X Consortium's website:

http://ftp.x.org/contrib/extensions/XTrap.tar.gz


-Peter

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



Re: [Xpert]two x-server on one vt

2002-07-23 Thread Peter Finderup Lund

On Tue, 23 Jul 2002 [EMAIL PROTECTED] wrote:

 -  and when i want to start a application at the first x it will work
 correctly. but on the second x the warning can't do this! please start the
docpserver!. What's this?

That's a KDE problem (it says dcopserver, right?).

KDE programs use the X server for interprocess communication, together
with a litle helper application called the DCOPserver.

Maybe KDE doesn't particularly like it if you are using two X servers with
one user.

What if you create a dummy user that belongs to the same group as your
ordinary user (so they can read/write each other's files) and have
the dummy user start the second X server?

Since you are tyring to run two different X servers anyway, I guess you
are not expecting programs on one screen to be able to cooperate with
those on the other so you don't loose anything there.

-Peter

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



Re: Antwort: Re: [Xpert]two x-server on one vt

2002-07-23 Thread Peter Finderup Lund

On Tue, 23 Jul 2002 [EMAIL PROTECTED] wrote:

 OK, that's fine. I tried this, and it works. Now I have a problem when I want
 to logout. If I want to logout, the X-Server is chrashing. So I get no screen
 and it hangs up.

 What's about this?

Dunno... why do you want them to use the same virtual terminal?
(which one of the X servers crash on you?)

-Peter

If Bush is serious about his goal of having Palestine democratically
choosing a replacement for Arafat, he's sending the wrong people. He
shouldn't send Colin Powell. The one he should send is Katherine
Harris.
 (seen on advogato.org/person/raph)

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



Re: Antwort: Re: Antwort: Re: [Xpert]two x-server on one vt

2002-07-23 Thread Peter Finderup Lund

On Tue, 23 Jul 2002 [EMAIL PROTECTED] wrote:

 I've two monitors at two Graphic Cards. Now I want to display one X-Server at
 one of them. This is only possible, when I start the X-Servers at ONE vt. One
 time with :0 and one time with :1 and different XF86Configfiles. Isn't it
 correct??

Not really.

 I will see the two X-Servers at the same time and when I tried to display them
 at different vt's I have to change between them with str+alt+(f7/8. That
 isn't what I want.

That explains the vt thing.  But why aren't you using Xinerama?  It's much
better suited to your needs - actually I thought you were going to use
that as per the earlier discussion on using multiple mice.

http://www.tldp.org/HOWTO/Xinerama-HOWTO.html

 I don't know? Where can I seen this? It's so, that when I press the
 logout-Button one display will be black, and the other shows on one half the
 KDE on the other half a very bad text console.

The one with half a KDE image would be my guess ;)

-Peter

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



Re: Antwort: Re: Antwort: Re: [Xpert]two x-server on one vt

2002-07-23 Thread Peter Finderup Lund

On Tue, 23 Jul 2002 [EMAIL PROTECTED] wrote:

 I will see the two X-Servers at the same time and when I tried to display them
 at different vt's I have to change between them with str+alt+(f7/8. That
 isn't what I want.

You are using the same keyboard (standard PC compatible) with both
X servers, as far as I can tell from your config files!?!?

How does that work?  Honestly, I can't how it should work at all.  Not
with the X servers being on the same virtual terminal.

I think you should take a look at Xinerama - remember you can use two (or
more) mice if you want to.

-Peter

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



Re: [Xpert]Automatically copying selection

2002-07-18 Thread Peter Finderup Lund

On Wed, 17 Jul 2002, y wrote:

 When I select text it automatically copies it to the clipboard.
 While a lot of people love this feature, I just hate it.
 People sometime select text to delete it, for example (especially in GUI
 editors).

 Could you tell me how to disable it, or is it hopeless?

I think it is hopeless :(

It's too deeply built into the X architecture to change for all clients -
it's not just a question of setting a boolean flag to another value.

Some clients and toolkits, however, have workarounds so the behaviour
might end up being closer to your liking.

Background info:

(I hope I got the details right - it's complex stuff)

There isn't one entity that you could call the clipboard in X, there are
several.  One set of those are the cut buffers, another are the
selections.  Cut buffers have numbers and selections have names.  Usually
cut buffer #0 and the selections PRIMARY and CLIPBOARD are used.

When you select paste in an application, some toolkits will paste from
PRIMARY first, if it is non-empty, and try CLIPBOARD next -- I think.
Others will always use PRIMARY if you paste with the middle button and
CLIPBOARD if you select paste from a menu or use a keyboard shortcut.

The buffer for the CLIPBOARD selection gets overwritten only when you
actually select copy in the application (and PRIMARY also gets written).
When you select something (before the delete/copy/cut) only the PRIMARY
selection gets overwritten.

(there is also a standard selection called SECONDARY, just to make things
more complicated - but few use that)

You can read almost the whole story here:

 http://www.freedesktop.org/standards/clipboards.txt

if you are really curious you can always check the three references at the
bottom.

KDE 2.x applications didn't quite follow the above standard but current
KDE and Gnome apps do.  Many applications not made with either won't.

-Peter

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



Re: [Xpert]Setting up MTRR support

2002-07-18 Thread Peter Finderup Lund

On Thu, 18 Jul 2002, Andy Isaacson wrote:

  Doesn't work here. If I do cat /proc/mtrr before running an X-server I
  get nothing at all:
  

 Ah, perhaps your CPU only has 1 MTRR.  You could check the kernel code
 if you're very curious.

The AMD K6-2 has two (I was curious some months ago and read the
documentation from AMD).

  Running cat /proc/mtrr after starting the X server gives me the
  following:
 
  reg00: base=0xd000 (3328MB), size=  32MB: write-combining, count=1

 That looks a whole lot like a framebuffer.  So what's the point of this
 thread, then, if it's working fine for you? :)  (I came in at the tail
 end here, sorry if I'm missing context.)

It probably is his framebuffer.  What troubles him, I think, is that lspci
tells him that the video card has two memory ranges and only one of them
is covered by an MTRR.

I have an AMD K6-2 500 MHz and a RIVA TNT2 M64 card.  I'm running Linux
2.2.21 and XFree86 4.2.0.

cat /proc/mtrr:
reg00: base=0xe600 (3680MB), size=  32MB: write-combining, count=1

lspci:
01:00.0 VGA compatible controller: nVidia Corporation Riva TNT2 Model 64
(rev 15) (prog-if 00 [VGA])
Subsystem: AOPEN Inc.: Unknown device 000d
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 9
Memory at e400 (32-bit, non-prefetchable)
Memory at e600 (32-bit, prefetchable)
Expansion ROM at e500 [disabled]
Capabilities: [60] Power Management version 1
Capabilities: [44] AGP version 2.0

If anybody knows why my card also shows up twice in the memory map I'd be
much obliged.  Is the first (non-prefetchable) part memory-mapped control
registers for the accellerator functions and the second one the
framebuffer?

(I think I used to know this... :/ )

-Peter

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



Re: Antwort: Re: [Xpert]2 mice with 2 mouse pointer

2002-07-17 Thread Peter Finderup Lund

Sorry 'bout the late answer but I only just got your letter.  I don't know
if the mailing list program at XFree86 is to blame or my university's
qmail setup or the script kiddies who did a DoS attack recently :/

(but mails from the xpert mailing list do come at extemely odd intervals
and quite often bunched up with 10-20 of them showing up at once)


On Thu, 11 Jul 2002 [EMAIL PROTECTED] wrote:

 On Wed, 10 Jul 2002, Trent Whaley wrote:

[actually, I think it was me but never mind...]

 Or would it be enough for CAD or GIS work if one the pointers was the
 real pointer, which would generate normal events, and the other one
 controlled another cursor -- with a distinct look -- that generated
 another kind of mouse events that only prepared applications would
 receive ?

 Yes it is so. I want to have one pointer which is the normal mouse pointer to
 generate normal events, and the other should be a graphic table that only react
 when I do something in a prepared application.



 If so, I think it is already supported.


 Where is it supported? Can you give me a little bit help?

Well, it's supported in XFree86 of course ;)

(sorry, cheap shot)

The prepared application has to use the X Input Extension (as an other
poster also wrote).  The documentation can be found in the tarball in the
directory xc/doc/hardcopy/Xi.

The server has to be configured correctly, of course -- see the file
xc/programs/Xserver/hw/xfree86/doc/xinput (or the source file
xc/programs/Xserver/hw/xfree86/doc/sgml/xinput.sgml)

and the man page for XF86Config, especially the INPUTDEVICE section.

-Peter

Besides, anybody who can't handle needless complexity shouldn't be fooling
around with dangerous machines such as computers.
 - Dan Rabin (Haskell mailing list, May 1993)

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



Re: [Xpert]Accessing selection from command line

2002-07-17 Thread Peter Finderup Lund

On Fri, 12 Jul 2002, Ville Herva wrote:

 I was wondering whether people feel that something like this should exist in
 the XFree86 distribution:

Yes, please!

I was very fortunate to find xcut some months ago, which does the paste
thing but not the cut:

http://xcut.sourceforge.net/

   echo puppa | xsel -c  # 'puppa' is now the current X selection
   echo puppa | xsel --copy  # same as above

   xsel -p | less# pastes the current X selection to less
   xsel --paste | less   # same as above

Btw. it should be possible to see if stdin or stdout was a pipe and do the
right thing automatically.

-Peter

C++ is more of a rube-goldberg type thing full of high-voltages,
large chain-driven gears, sharp edges, exploding widgets, and spots to
get your fingers crushed. And because of it's complexity many (if not
most) of it's users don't know how it works, and can't tell ahead of
time what's going to cause them to loose an arm. -- Grant Edwards

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



Re: [Xpert]XVideo extension docs

2002-07-17 Thread Peter Finderup Lund

On Tue, 16 Jul 2002, Jacek Bator wrote:

 I'm tring to find documentation on capabilities and use of XVideo
 extension. Mabey someone knows where to find some manuals or so?

xc/doc/hardcopy/Xv in the tarball.
xc/doc/specs/XvMC in the tarball.
xc/doc/man/Xv in the tarball.

-Peter

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



Re: [Xpert]Book?

2002-07-16 Thread Peter Finderup Lund

On Tue, 16 Jul 2002, Bharathi S wrote:

1. Oreilly published 7 volumes for Xwindow. It deals
   from XProtocol to New X Tool Kits.

2. X Window System Programming By NABAJYOTI BARKAKATI ( PHI )
   It is also nice book to learn all basic concepts.

I have read it and in retrospect consider it mostly a waste of time.
The documentation from the X Consortium and from xfree86 is mostly good
and complete if it exists -- the problem lies in finding it and in knowing
what to read in what order.

(Just putting these documents in HTML versions on a web site in a flat
list would probably be an improvement from having to dig them out from
various places and file formats inside the tarball -- I had /not/ expected
such a variety of both!)

-Peter

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



Re: [Xpert]RE: Is the XFree development stuck in a dead end?

2002-07-16 Thread Peter Finderup Lund

On Tue, 16 Jul 2002, Andrew Berg wrote:

 This thread has gone all over the place, but I have a suggestion.  Has
 anyone considered setting up something like LXR (http://lxr.linux.no)
 against the sources for XFree86?  I have occasionally had the need to browse

I second that motion!

-Peter

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



Re: [Xpert]Re: Is the XFree development stuck in a dead end?

2002-07-15 Thread Peter Finderup Lund

On Mon, 15 Jul 2002, Mike A. Harris wrote:

 An effort at a website with tutorials, HOWTO's and other
 developer related help information geared at helping NEW
 developers get up to scratch on given areas would be very useful
 if someone has the time to work on it.  I've been writing some
 things for a while, none of which are complete.  Something like
 the dri website's new developer info, etc.  That would start to
 help anyway.  I think it will happen in time.

We need the X-newbies website - www.x-newbies.org ;)

Changing the organization of www.xfree86.org so the stuff would be easy to
find if somebody put it there is probably not going to happen anytime
soon.

I think it is much more probable that somebody sits down and creates a new
site for this stuff, similar to kernelnewbies.org.

-Peter

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



Re: [Xpert]2 mice with 2 mouse pointer

2002-07-10 Thread Peter Finderup Lund

On Wed, 10 Jul 2002, Trent Whaley wrote:

 On July 10, 2002 12:32 am, Nick Name wrote about Re: [Xpert]2 mice with 2
 mouse pointer:

  Still I can't see the point-er :) What use could a second pointer be of?

 If you're doing CAD or GIS work, the second pointer could be a digitizer.

That's how you would /control/ the second pointer.  The lo-level driver
side has always been clear.  The question is how the hi-level
representation of two coordinate sources should be.

Would you want one pointer controlled by both the mouse and the digitizer?

Do you want two pointers, one controlled by the mouse and one by the
digitizer?

Would they be equal?

Would they both be displayed at all times?

Could clicks with both of them be seen as normal mouse clicks by legacy
X applications?

What about focus issues?

What about mouse grabs?

Or would it be enough for CAD or GIS work if one the pointers was the
real pointer, which would generate normal events, and the other one
controlled another cursor -- with a distinct look -- that generated
another kind of mouse events that only prepared applications would
receive ?

If so, I think it is already supported.

-Peter

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



Re: AW: [Xpert]framebuffer 2D acceleration

2002-06-28 Thread Peter Finderup Lund

On Fri, 28 Jun 2002, Matthias Zacharias wrote:

 We also working on a framebuffer 2D acceleration. So again the question
 where to find the XAA.HOWTO. The path you wrote in the mailing list seems to
 be your local path.

No, what Mark wrote really is the right path - I just
checked:

firefly@charybdis:~/Work$ locate CURSOR.NOTES
/mnt/old/home/firefly/XFree86/xc/programs/Xserver/hw/xfree86/ramdac/CURSOR.NOTES
firefly@charybdis:~/Work$ locate XAA.HOWTO
/mnt/old/home/firefly/XFree86/xc/programs/Xserver/hw/xfree86/xaa/XAA.HOWTO
firefly@charybdis:~/Work$

xc is one of the top-level directories inside the tarball (the others are
doctools and utils).

-Peter

To announce that there must be no criticism of the president, or that we
are to stand by the president right or wrong, is not only unpatriotic and
servile, but is morally treasonable to the American public.
 -- Theodore Roosevelt

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



Re: [Xpert] Pointers to the AccessX programming API?

2002-05-28 Thread Peter Finderup Lund

On Tue, 28 May 2002, Alan Coopersmith wrote:

 Unfortunately, there is no API provided - the client side of the AccessX
 protocol is completely embedded in the accessx client application.  There

:/

 was minimal documentation released - I managed to get some of it from the
 original authors (Earl Johnson, who still works for Sun, and Will Walker,
 who used to work for DEC and now works for Sun) and have attached it below

Thanks! :)

I had given up all hope -- this is the second time you've been able to dig
up documentation for me :)))

 for whatever help that will be (it does include a protocol spec - note that
 the library referred to was DEC's implementation, Sun never provided this
 library as far as I can tell).

 The best news I can provide is that Sun is committed to the XKB extension
 and is in the process of moving from the old AccessX extension to XKB in our
 X server.

I figured you (Sun) would be.

Getting the documentation might be good enough for me, though... [exports
it from pine, scp's it tohome machine, reading, reading, reading, Aha,
AccessX Protocol, mumble, mumble]

Yes, I think sending an X_AccessXSelectInput request and then listening
for XAccessXEvents with the subtype X_AccessXModifierXX might work :)


(I'm writing a hack for text-mode = terminal applications that will enable
them to distinguish between things like ctrl-left arrow and
shift-ctrl-left arrow -- nice for selecting text in editors -- by using
XKeyboard to get events every time the modifier keys change and keep the
newest shift-state around in a variable which gets combined with whatever
escape codes are read from stdin into a 16-bit keycode.  It works well
enough to be useful for XKeyboard and the terminal emulators I have tried
it on.  It's not combined with S-lang yet but it will be.

In short, I wanted something similar to just reading the byte at 40h:17h
under DOS.

A similar hack for the Linux console (the same idea is also used by the
Linux version of Turbo Vision and in RHIDE, a Turbo C++ IDE clone):

http://www.linuxgazette.com/issue76/marinov.html

A description of my hack:
http://groups.yahoo.com/group/zepp/message/381

And a follow up with notes on another, grosser though unimplemented X
hack:
http://groups.yahoo.com/group/zepp/message/386
)

-Peter

My coffee is cold and I will sue all of you for that - Jerzy Karczmarczuk

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



[Xpert]Pointers to the AccessX programming API?

2002-05-15 Thread Peter Finderup Lund

I know, wrong forum :)

XFree86 implements XKB which is newer and better than AccessX anyway ...
but I want my program to work well on old and outdated equipment that only
supports AccessX, such as the Sun equipment my university uses ;)

(Lots of SunRay1 terminals served by three big Sun machines, calling
themselves something like sun4u sparc SUNW,Ultra-250)

So, can anyone (from Sun or DEC^WCompaq^WHPAQ) point me to some docs on
it?

-Peter

...they may well attempt to treat the gangrene they got when blowing off
their foot by amputating their leg with a shotgun!


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



[Xpert]Docs for MIT-SCREEN-SAVER, MIT-SUNDRY-NONSTANDARD, XFree86-Bigfont,etc?

2002-05-04 Thread Peter Finderup Lund

Does anybody know where I can find the docs for the following extensions:

 o MIT-SCREEN-SAVER
 o MIT-SUNDRY-NONSTANDARD
 o XFree86-Bigfont
 o XFree86-Misc
 o XFree86-VidModeExtension
 o FontCache

Does anybody know what the big difference is between GLX and SGI-GLX?

-Peter, trying to understand X in general and the XFree86 implementation
in particular...

Dance like no one is watching and love like it's never going to hurt.

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



Re: [Xpert]Docs for MIT-SCREEN-SAVER, MIT-SUNDRY-NONSTANDARD,XFree86-Bigfont, etc?

2002-05-04 Thread Peter Finderup Lund

Thanks :)

On Sat, 4 May 2002, Mark Vojkovich wrote:

 On Sun, 5 May 2002, Peter Finderup Lund wrote:

  Does anybody know where I can find the docs for the following extensions:
 
   o MIT-SCREEN-SAVER
   o MIT-SUNDRY-NONSTANDARD

Probably on the web someplace.  I can't find them in our tree.

Neither could I.   man xset hints that one of the purposes of
MIT-SUNDRY-NONSTANDARD is to switch pre-X11R4 bug compatibility on/off ;)

   o XFree86-Bigfont

Big font isn't really something and end user would be exposed to
 so I don't think it's documented anywhere.

   o XFree86-Misc

I don't know if that's documented.  I think maybe only xset uses it.

   o XFree86-VidModeExtension

man XF86VidModeQueryExtension

Ah, got it.  man XF86VM :)

(except that I must have done something wrong during the installation --
anyway, it's xc/programs/Xserver/hw/xfree86/doc/man/XF86VM.man)

I found the other one, too - XFree86-Misc lurks in XF86Misc.man :)
(didn't get installed either, weird)

The -Misc is for reading/changing the low-level (hardware) setup of mouse
and keyboard without editing XF86Config and restarting the server.  Part
of the functionality (keyboard repeat rate + delay) is duplicated by
XKEYBOARD.


The -VideModeExtension is similar for the monitor configuration -
reading/validating/setting the modeline(s), getting the name of the
manufacturer and model, horiz/vert sync ranges, bandwidth, moving/querying
the viewport if the X screen size is bigger than the current mode,
locking/unlocking mode switches.


   o FontCache

I think this is only used with XTT?  I'm not sure it's expected
 that anything other than the font server would use it.

Ok, I'll look around some more.

  Does anybody know what the big difference is between GLX and SGI-GLX?

It's an alias.  The same extension.

Ok - thanks :)

I thought that there might be a few extra requests that were only
available if the program used SGI-GLX.

-Peter

I use emacs, which might be thought of as a thermonuclear
 word processor.
-- Neal Stephenson, In the beginning... was the command line


PS:  I think the two #if 0 lines in
xc/programs/Xserver/hw/xfree86/doc/man/Imakefile might explain some of
it... and the misspelled ExpandNamNames.  And the install.man target in
the generated Makefiles doesn't seem to be used - at least according to
the log I made of make World when I installed the server.  But I /do/ get
a huge amount of man pages installed by some other mechanism...  Me and
Imakefiles are not exactly friends yet :/

[from xc/programs/Xserver/hw/xfree86/doc/man/Imakefile]

#if 0

InstallManPage(XF86DGA,$(MANDIR))
#if ExpandNamNames
InstallManPageAliases(XF86DGA,$(MANDIR),XF86DGAQueryExtension
XF86DGAQueryVersion XF86DGAQueryDirectVideo XF86DGAGetVideo
XF86DGADirectVideo XF86DGASetVidPage XF86DGASetViewPort
XF86DGAViewPortChanged XF86DGAGetViewPortSize XF86DGAInstallColormap
XF86DGAForkApp)
#endif

#endif

#if 0

InstallManPage(XF86Misc,$(MANDIR))
#if ExpandNamNames
InstallManPageAliases(XF86Misc,$(MANDIR),XF86MiscQueryExtension
XF86MiscQueryVersion XF86MiscGetSaver XF86MiscSetSaver
XF86MiscGetMouseSettings XF86MiscSetMouseSettings XF86MiscGetKbdSettings
XF86MiscSetKbdSettings)
#endif

#endif

/* XXX Check if this is up to date */
InstallManPageLong(XF86VM,$(MANDIR),XF86VidMode)
#if ExpandManNames
InstallManPageAliases(XF86VidMode,$(MANDIR),XF86VidModeQueryExtension
XF86VidModeQueryVersion XF86VidModeGetModeLine XF86VidModeGetAllModeLines
XF86VidModeDeleteModeLine XF86VidModeModModeLine XF86VidModeSwitchMode
XF86VidModeSwitchToMode XF86VidModeLockModeSwitch XF86VidModeGetMonitor
XF86VidModeGetViewPort XF86VidModeSetViewPort XF86VidModeValidateModeLine)
#endif


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



Re: [Xpert]NVidia RIVA TNT2 M64 and Xv - how can I implement it?

2002-04-29 Thread Peter Finderup Lund

On Sun, 28 Apr 2002, Mark Vojkovich wrote:

I'm told that pre GeForce cards have different overlay hardware
 that is more difficult to program.  I've never really looked into
 it and wasn't planning on it since I don't have docs for the
 deprecated TNT overlay engine.

:(

When even you don't have the docs then it's really hopeless for the rest
of us.

Seems I have to go play with bochs :/

-Peter

A man's library is a sort of harem.  -- Ralph Waldo Emerson.

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



[Xpert]NVidia RIVA TNT2 M64 and Xv - how can I implement it?

2002-04-28 Thread Peter Finderup Lund

I upgraded to XFree86 4.2.0 from source a couple of days ago but was
disappointed to find that the nv driver doesn't really support Xv for my
video card.

I looked at the CVS sources yesterday and it seems to be only NV_ARCH_10
and up that support it... I think that translates into GeForce and newer.

Apparently my card is a member of the NV_ARCH_4 group, having the card id
002D.

The driver looks surprisingly clean and the Xv part in nv_video.c that
actually plays with the hardware is a lot smaller than I thought.

If the TNT2 hardware is similar to the GeForce hardware it should be quite
simple to fix.

Does anybody (Mark Vojkovich?) know what I should change in the driver to
make it work?

-Peter

A celibate clergy is an especially good idea, because it tends to suppress
any hereditary propensity toward fanaticism.
 -- Carl Sagan

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