Bug#245021: xserver-xfree86: X crashes sometimes while i830 driver is loaded, leaves screen unusable and garbled

2004-04-24 Thread Michael Olson
Thanks.  Removing the xscreensaver-gl package seems to have fixed the
problem.

On Wed, Apr 21, 2004 at 01:00:38AM -0500, Branden Robinson wrote:
> On Tue, Apr 20, 2004 at 08:52:00PM -0500, Michael Olson wrote:
> > Package: xserver-xfree86
> > Version: 4.3.0-7
> > Severity: important
> > 
> > Sometimes when the computer [Dell Inspiron i1100 laptop, i830M
> > graphics card] is left unattended for a few hours, X crashes or locks
> > up.  This is not heat-related, like some laptop crashes, so it's
> > probably some sort of bug.  I've attached the /var/log/XFree86.0.log
> > file from the time of the crash to this message.
> > 
> > When the crash occurs, the screen is frozen with the display from
> > XScreensaver, which is always running at the time of the crash.
> 
> Yes.  A high percentage of all server crash reports we receive happen
> when xscreensaver is running.
> 
> Especially when the OpenGL screenhacks are used.
> 
> > When I press Ctrl+Alt+F1 to get back to a terminal, the screen is
> > split into two, and the text is green and smaller than usual.
> 
> This is probably because the graphics engine is in a bad state and the
> the driver-specific LeaveVT() logic doesn't succeed in unscrewing it.
> 
> All I can suggest as a workaround is to configure xscreensaver to not
> use the screenhacks that seem to cause trouble.
> 
> -- 
> G. Branden Robinson|It is the responsibility of
> Debian GNU/Linux   |intellectuals to tell the truth and
> [EMAIL PROTECTED] |expose lies.
> http://people.debian.org/~branden/ |-- Noam Chomsky






Processed: patch added for xserver-xfree86.config

2004-04-24 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tag 229850 + patch
Bug#229850: xserver-xfree86: [debconf] monitor name Nokia 446Xpro autodetected, 
but sync ranges were not
Tags were: moreinfo
Tags added: patch

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#229850: patch added for xserver-xfree86.config

2004-04-24 Thread Jay Berkenbilt

tag 229850 + patch
thanks

---

I'm adding the patch tag to indicate the patch included in my previous
post.  I hope this is the correct way to do it.

-- 
Jay Berkenbilt <[EMAIL PROTECTED]>
http://www.ql.org/q/



Bug#229850: xserver-xfree86: Nokia 446Xpro properly detected but sync incorrect

2004-04-24 Thread Jay Berkenbilt

With this patch to xserver-xfree86.config

--- /var/lib/dpkg/info/xserver-xfree86.config   2004-03-17 23:33:04.0 
-0500
+++ /tmp/xserver-xfree86.config.mod 2004-04-24 18:49:01.0 -0400
@@ -1681,8 +1681,8 @@
 esac
 ;;
   Advanced)
-auto_answer validate_monitor_frequency_db_input "$(priority_ceil 
$PRIORITY)" xserver-xfree86/config/monitor/horiz-sync "28-50"
-auto_answer validate_monitor_frequency_db_input "$(priority_ceil 
$PRIORITY)" xserver-xfree86/config/monitor/vert-refresh "43-75"
+auto_answer validate_monitor_frequency_db_input "$(priority_ceil 
$PRIORITY)" xserver-xfree86/config/monitor/horiz-sync $DEFAULT_HORIZ_SYNC
+auto_answer validate_monitor_frequency_db_input "$(priority_ceil 
$PRIORITY)" xserver-xfree86/config/monitor/vert-refresh $DEFAULT_VERT_REFRESH
 ;;
 esac
 


the detected horizontal sync and vertical refresh show up as the
defaults when the advanced monitor selection method is used.  With
this patch, the correct horizontal sync and vertical refresh rates
show up in my XF86Config-4 file.

As for my earlier comment about the video modes, I see that there is
no attempt to compute possible video modes.  I think the X
configuration software should offer the highest video modes
supported.  I'm pretty sure this can be computed from the available
information.  After all, the X server is able to determine whether a
video mode is too high, and other distributions' X configuration
programs have been able to give me 1152x864 on this hardware for some
time without my having to override anything.

With respect to the above patch, the code in xserver-xfree86.config
definitely seems to be written with this intention.  Prior to this
patch, the variables DEFAULT_HORIZ_SYNC and DEFAULT_VERT_REFRESH are
not used after being set to the results found by get-edid.  (Search
for "get-edid reports", then search for "DEFAULT_HORIZ_SYNC".)  The
names of the variables certainly suggest that they should be used for
this purpose.  They are also unconditionally set to the previous
values (28-50, 43-75) so that in the case where get-edid does not
report something, this patch doesn't change the behavior.  In other
words, this patch seems very safe.  I hope you will consider including
it.

-- 
Jay Berkenbilt <[EMAIL PROTECTED]>
http://www.ql.org/q/




Bug#229850: xserver-xfree86: Nokia 446Xpro properly detected but sync incorrect

2004-04-24 Thread Jay Berkenbilt

>   Hmmm.  Okay, can you please do the following?
>
>   1) su
>   2) mv /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.previous
>   3) dpkg -P --force-depends xserver-xfree86
>   4) export DEBUG_XFREE86_DEBCONF=yes DEBIAN_FRONTEND=readline

My default debconf priority is "high", so I have added
DEBIAN_PRIORITY=low to the above.  I've also added TERM=dumb because
typescript files are so much easier to read that way.

>   5) script
>   6) apt-get install xserver-xfree86
>   7) exit
>   8) exit
>   9) mailx -s "Bug#229850: xserver-xfree86: Nokia 446Xpro properly detected b=
>   ut sync incorrect" \
>  [EMAIL PROTECTED] < typescript

I'll just include the results in this message so that they are
accompanied by my comments.

You'll notice that the 30-107 and 50-150 values appear in the output.
Right after the "Attempt monitor autodetection" question:

> xserver-xfree86 config note: get-edid reports horizonal sync of "30-107"
> xserver-xfree86 config note: get-edid reports vertical refresh of "50-150"

Then again after entering monitor identifier:

> xserver-xfree86 config note: $HORIZ_SYNC: "30-107" ; $VERT_REFRESH: "50-150";
>setting question priority to low

Yet after choosing "Advanced" for monitor characteristics, I still see
28-50 and 43-75.  These values also end up in the final configuration
file with medium and high debconf priority when I am not asked about
the monitor characteristics.

If I go through this process and explicitly enter 30-107 and 50-150,
the configuration program still suggests only 800x600 and 640x480 as
video modes.  If I explicitly add 1152x864 and 1024x768, they do work
presuming that I have correctly entered the horizontal sync and
vertical refresh.

In the attached typescript file, I have accepted the defaults to all
questions except that I told it not to emulate a 3 button mouse and I
told it to autodetect whenever possible.

I hope this information is useful.

For what it's worth, I started running XFree86 in 1992 when you had to
calculate all the numbers by hand, and I'm an experienced programmer
as well, so don't be afraid to ask me to do things like applying a
patch to /var/lib/dpkg/info/xserver-xfree86.config and running
dpkg-reconfigure.  I'll spend a few minutes looking at this file
anyway, particularly to try to see why the detected values aren't
making into the prompts.  If I find something that works, I'll post a
patch.

The rest of this message is the typescript file with ^M's removed and
^H's cleaned up (i.e. A^HB replaced by B).

-- 
Jay Berkenbilt <[EMAIL PROTECTED]>
http://www.ql.org/q/

--

Script started on Sat 24 Apr 2004 05:55:05 PM EDT
soup[1]# apt-get install xserver-xfree86
Reading Package Lists... 0%Reading Package Lists... 0%Reading Package Lists... 
9%Reading Package Lists... Done
Building Dependency Tree... 0%Building Dependency Tree... 0%Building Dependency 
Tree... 50%Building Dependency Tree... 50%Building Dependency Tree... Done
Suggested packages:
  libglide2
The following NEW packages will be installed:
  xserver-xfree86
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/5462kB of archives.
After unpacking 15.2MB of additional disk space will be used.
Preconfiguring packages ...
xserver-xfree86 config note: Configuring xserver-xfree86.
xserver-xfree86 config note: $OWNERS does not equal $CHOICES: "xserver-xfree86"
   != ""
xserver-xfree86 config note: $OWNERS has only one value;
   shared/default-x-server will not be asked
xserver-xfree86 config note: auto_answer() "db_input medium
   xserver-xfree86/autodetect_video_card" with default "false"
xserver-xfree86 config note: auto_answer: auto-answering with "false"
xserver-xfree86 config note: auto_answer: asking
   xserver-xfree86/autodetect_video_card
Configuring xserver-xfree86
---

Accept this option if you would like to attempt to autodetect the recommended X 
server and driver module for your video card.  If autodetection fails, you will 
be asked to specify the desired X server and/or driver module.  If autodetection
succeeds, further debconf questions about your video hardware will be 
pre-answered.

If you would rather select the X server and driver module yourself, decline this
option.  You will not be asked to select the X server if there is only one 
available.

Attempt to autodetect video hardware? yes


xserver-xfree86 config note: auto_answer: xserver-xfree86/autodetect_video_card
   is "true"
xserver-xfree86 config note: autodetected X server: XFree86
xserver-xfree86 config note: seen flag of shared/default-x-server is false
xserver-xfree86 config note: db_input low shared/default-x-server
xserver-xfree86 config note: auto_answer() "db_input low
   shared/default-x-server" with default "xserver-xfree86"
xserver-xfree86 config note: auto_answer: auto-answering with "xserver-xfree86"
xserver-xfree86 config note: auto_answer: shared/default-x-server is not
   being

RE: Re: Here is the document

2004-04-24 Thread boutique
Obrigado pelo seu contacto.

Daremos resposta assim que possível.

A equipa infoxadrez.com



X Strike Force XFree86 SVN commit: r1314 - trunk/debian

2004-04-24 Thread X Strike Force SVN Repository Admin
Author: fabbione
Date: 2004-04-24 01:56:26 -0500 (Sat, 24 Apr 2004)
New Revision: 1314

Modified:
   trunk/debian/changelog
   trunk/debian/twm.menu
   trunk/debian/xbase-clients.menu
   trunk/debian/xmh.menu
   trunk/debian/xterm.menu
Log:
Quote all menu items. Remove 111 lintian warnings.


Modified: trunk/debian/changelog
===
--- trunk/debian/changelog  2004-04-23 22:16:08 UTC (rev 1313)
+++ trunk/debian/changelog  2004-04-24 06:56:26 UTC (rev 1314)
@@ -17,6 +17,9 @@
 and updated to build on non-SPARC architectures by Fabio M. Di Nitto.
 (Closes: #241331)
 
+  * Start the long process of lintian cleanup.
++ menu items should be quoted.
+
   Changes by Branden Robinson:
 
   * The tar achive within the .orig tar archive (stored this way due to the

Modified: trunk/debian/twm.menu
===
--- trunk/debian/twm.menu   2004-04-23 22:16:08 UTC (rev 1313)
+++ trunk/debian/twm.menu   2004-04-24 06:56:26 UTC (rev 1314)
@@ -1,6 +1,6 @@
 ?package(twm):\
-  needs=wm\
-  section=WindowManagers\
+  needs="wm"\
+  section="WindowManagers"\
   longtitle="Twm: Tab Window Manager"\
-  title=Twm\
-  command=twm
+  title="Twm"\
+  command="twm"

Modified: trunk/debian/xbase-clients.menu
===
--- trunk/debian/xbase-clients.menu 2004-04-23 22:16:08 UTC (rev 1313)
+++ trunk/debian/xbase-clients.menu 2004-04-24 06:56:26 UTC (rev 1314)
@@ -1,160 +1,160 @@
 ?package(xbase-clients):\
- needs=x11\
- section=Screen/Save\
+ needs="x11"\
+ section="Screen/Save"\
  longtitle="Beforelight: simple screen saver"\
- title=Beforelight\
- command=beforelight
+ title="Beforelight"\
+ command="beforelight"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Graphics\
+ needs="x11"\
+ section="Apps/Graphics"\
  longtitle="Bitmap: editor for X bitmap files"\
- title=Bitmap\
- command=bitmap
+ title="Bitmap"\
+ command="bitmap"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Tools\
+ needs="x11"\
+ section="Apps/Tools"\
  longtitle="Editres: resource editor for X Toolkit applications"\
- title=Editres\
- command=editres
+ title="Editres"\
+ command="editres"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Tools\
+ needs="x11"\
+ section="Apps/Tools"\
  hints="Clocks"\
  longtitle="Oclock: analog clock for X"\
- title=Oclock\
- command=oclock
+ title="Oclock"\
+ command="oclock"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Net\
+ needs="x11"\
+ section="Apps/Net"\
  hints="Mail"\
  longtitle="Xbiff: mailbox flag for X"\
- title=Xbiff\
- command=xbiff
+ title="Xbiff"\
+ command="xbiff"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Math\
- hints=Calculators\
+ needs="x11"\
+ section="Apps/Math"\
+ hints="Calculators"\
  longtitle="Xcalc: scientific calculator for X"\
- title=Xcalc\
- command=xcalc
+ title="Xcalc"\
+ command="xcalc"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Tools\
+ needs="x11"\
+ section="Apps/Tools"\
  longtitle="Xclipboard: clipboard for text cut and paste operations in X"\
- title=Xclipboard\
- command=xclipboard
+ title="Xclipboard"\
+ command="xclipboard"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Tools\
+ needs="x11"\
+ section="Apps/Tools"\
  hints="Clocks"\
  longtitle="Xclock (analog): analog clock for X"\
  title="Xclock (analog)"\
  command="xclock -analog"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Tools\
+ needs="x11"\
+ section="Apps/Tools"\
  hints="Clocks"\
  longtitle="Xclock (digital): digital clock for X"\
  title="Xclock (digital)"\
  command="xclock -digital -update 1"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/System\
+ needs="x11"\
+ section="Apps/System"\
  longtitle="Xconsole: monitor system console messages with X"\
- title=Xconsole\
- command=xconsole
+ title="Xconsole"\
+ command="xconsole"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Tools\
+ needs="x11"\
+ section="Apps/Tools"\
  longtitle="Xcutsel: interchange between cut buffer and selection in X"\
- title=Xcutsel\
- command=xcutsel
+ title="Xcutsel"\
+ command="xcutsel"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Viewers\
+ needs="x11"\
+ section="Apps/Viewers"\
  hints="Troff"\
  longtitle="Xditview: a ditroff file viewer for X"\
- title=Xditview\
- command=xditview
+ title="Xditview"\
+ command="xditview"
 ?package(xbase-clients):\
- needs=x11\
- section=Games/Toys\
+ needs="x11"\
+ section="Games/Toys"\
  longtitle="Xeyes: demo in which a pair of eyes follow the mouse pointer in X"\
- title=Xeyes\
- command=xeyes
+ title="Xeyes"\
+ command="xeyes"
 ?package(xbase-clients):\
- needs=x11\
- section=Apps/Tools\
+ needs="x11"\
+ section="Apps/Tools"\
  hints="Fonts"\
  longtitle="Xfontsel: font viewer/selector for X"\
- title=Xfontsel\
- command=xfontsel
+ title="Xfontsel"\
+ command="xfontsel"
 ?package(xbase-clients):\
- need

Re: Processed: 008_fix_xgetpw_macro.diff breaks Xlib API.

2004-04-24 Thread Daniel Stone
On Fri, Apr 23, 2004 at 01:57:48PM -0700, Chris Waters wrote:
> Can you name a private function "errno"?  No, that's a reserved name.
> Can you name an private function "_x11_fobar"?  Technically, no,
> you cannot, that's a reserved name!  All names that start with
> underscore are reserved by the language standard.

So you're conceding it's a private function, which OpenMotif must not
use by definition?

> Now, I freely grant that in practice, if you're careful, you'll get
> away with it 999,999 times out of a million.  But that doesn't make it
> legal.  It simply makes it relatively unimportant.  It's similar to
> (though MUCH safer than) code that uses "void main()", which also
> tends to work in practice.

If you want to take it upstream to get it changed, I strongly encourage
you to.

> Note that I have not filed any bug reports about this.  The only
> reason I even mentioned it is that Daniel was harrassing some poor
> fellow who happened to mention, in passing, the fact that such
> identifiers are technically forbidden.  Well, Daniel was wrong, and
> the original poster was right, so I quoted chapter and verse to show
> that Daniel was wrong.  It's not a big deal, I was just defending the
> poor guy.

Oh, give it a rest. I wasn't attacking him, I'm just pointing out that
there is one package in the wrong, and it's not X.

> And I have to say, after reading Daniel's irrelevant and incoherent
> response to my post, I have a much greater understanding of why you
> decided to stop working with him! :)

plonk.

-- 
Daniel Stone<[EMAIL PROTECTED]>
Debian: the universal operating system http://www.debian.org


signature.asc
Description: Digital signature