Re: Video problems (and others?) with ASRock 755i65G/Intel 865G

2007-07-14 Thread Matthieu Herrb

On 7/13/07, Andris [EMAIL PROTECTED] wrote:

On 7/13/07, Matthieu Herrb [EMAIL PROTECTED] wrote:
 On 7/13/07, Andris [EMAIL PROTECTED] wrote:
  Hi, I just got a computer yesterday, which has an ASRock 755i65G*
  motherboard, with an Intel 865G* chipset, 512 MB of RAM, and a
  ViewSonic E70f+* monitor. I'm using OpenBSD 4.1-stable (i386/GENERIC).
 
  I tried to make it run under 1024x768, 24bpp, a h-sync of 30~70kHz and
  a v-sync of 50~160Hz). I can't make X run on it, I've tried i810(4),
  whose man page says it supports my integrated video solution (865G).
  But the X server crashes after showing the cursor for a sec.
 
  Here is the X log:

 From you log, the X server is ok. The problem looks more like a
 problem with your .xinitrc or something like that.

 Can you tell us how you startx X, and try to capture the command's
 stdout and stderr ?

 If you're running ksh or bash, this should be something like

 startx  startx.log 21

 and then look at startx.log for obvious errors, or share it here if
 you don't see anything meaningful for you.


Hi, after moving .xinitrc to .xinitrc.bak I could start X with no
problems, and it doesn't crash :)

I had this line in it:
exec /usr/X11R6/bin/xset r rate 250 50


The 'exec' there is wrong, it causes the shell that parses the
.xinitrc to replace itself with the 'xset' command, which in turn
exits when it has set up the rate.
So the whole .xinitrc script is now done, causing what your were seeing.


It worked with a previous computer, didn't think it would cause
problems.


Are you sure it was exactly the same line ? without the 'exec' it
would have been fine, but with the 'exec'  there's no way it would
work, except it you had it *after* another 'exec' command, for
instance 'exec fvwm'. 'fvwm' doesn't exit until you select 'exit' from
its menu. So 'exec'ing the window manager in .xinitrc is correct, but
since 'exec' replaces the shell with the program it executes, the
lines after an 'exec' in any shell script are ignored.



Re: Video problems (and others?) with ASRock 755i65G/Intel 865G

2007-07-14 Thread Andrés

On 7/14/07, Matthieu Herrb [EMAIL PROTECTED] wrote:

On 7/13/07, Andris [EMAIL PROTECTED] wrote:
 On 7/13/07, Matthieu Herrb [EMAIL PROTECTED] wrote:
  On 7/13/07, Andris [EMAIL PROTECTED] wrote:
   Hi, I just got a computer yesterday, which has an ASRock 755i65G*
   motherboard, with an Intel 865G* chipset, 512 MB of RAM, and a
   ViewSonic E70f+* monitor. I'm using OpenBSD 4.1-stable

(i386/GENERIC).

  
   I tried to make it run under 1024x768, 24bpp, a h-sync of 30~70kHz

and

   a v-sync of 50~160Hz). I can't make X run on it, I've tried i810(4),
   whose man page says it supports my integrated video solution (865G).
   But the X server crashes after showing the cursor for a sec.
  
   Here is the X log:
 
  From you log, the X server is ok. The problem looks more like a
  problem with your .xinitrc or something like that.
 
  Can you tell us how you startx X, and try to capture the command's
  stdout and stderr ?
 
  If you're running ksh or bash, this should be something like
 
  startx  startx.log 21
 
  and then look at startx.log for obvious errors, or share it here if
  you don't see anything meaningful for you.
 

 Hi, after moving .xinitrc to .xinitrc.bak I could start X with no
 problems, and it doesn't crash :)

 I had this line in it:
 exec /usr/X11R6/bin/xset r rate 250 50

The 'exec' there is wrong, it causes the shell that parses the
.xinitrc to replace itself with the 'xset' command, which in turn
exits when it has set up the rate.
So the whole .xinitrc script is now done, causing what your were seeing.

 It worked with a previous computer, didn't think it would cause
 problems.

Are you sure it was exactly the same line ? without the 'exec' it
would have been fine, but with the 'exec'  there's no way it would
work, except it you had it *after* another 'exec' command, for
instance 'exec fvwm'. 'fvwm' doesn't exit until you select 'exit' from
its menu. So 'exec'ing the window manager in .xinitrc is correct, but
since 'exec' replaces the shell with the program it executes, the
lines after an 'exec' in any shell script are ignored.



Heh,  you're right. You see, I got this file where I store all
configuration changes I do in Open. But I separate base configuration
and port/package configuration. So I had this:

~/.xinitrc  exec /usr/X11R6/bin/xset r rate 250 50



~/.xinitrc  exec /usr/local/bin/ion3

Didn't add the second statement with  at the end of the first :P

That's why it worked in my previous system. Now I've done that, and
works just fine :)

Thanks!



Re: Video problems (and others?) with ASRock 755i65G/Intel 865G

2007-07-13 Thread Matthieu Herrb

On 7/13/07, Andris [EMAIL PROTECTED] wrote:

Hi, I just got a computer yesterday, which has an ASRock 755i65G*
motherboard, with an Intel 865G* chipset, 512 MB of RAM, and a
ViewSonic E70f+* monitor. I'm using OpenBSD 4.1-stable (i386/GENERIC).

I tried to make it run under 1024x768, 24bpp, a h-sync of 30~70kHz and
a v-sync of 50~160Hz). I can't make X run on it, I've tried i810(4),
whose man page says it supports my integrated video solution (865G).
But the X server crashes after showing the cursor for a sec.

Here is the X log:



From you log, the X server is ok. The problem looks more like a

problem with your .xinitrc or something like that.

Can you tell us how you startx X, and try to capture the command's
stdout and stderr ?

If you're running ksh or bash, this should be something like

startx  startx.log 21

and then look at startx.log for obvious errors, or share it here if
you don't see anything meaningful for you.



Re: Video problems (and others?) with ASRock 755i65G/Intel 865G

2007-07-13 Thread Andrés

On 7/13/07, Matthieu Herrb [EMAIL PROTECTED] wrote:

On 7/13/07, Andris [EMAIL PROTECTED] wrote:
 Hi, I just got a computer yesterday, which has an ASRock 755i65G*
 motherboard, with an Intel 865G* chipset, 512 MB of RAM, and a
 ViewSonic E70f+* monitor. I'm using OpenBSD 4.1-stable (i386/GENERIC).

 I tried to make it run under 1024x768, 24bpp, a h-sync of 30~70kHz and
 a v-sync of 50~160Hz). I can't make X run on it, I've tried i810(4),
 whose man page says it supports my integrated video solution (865G).
 But the X server crashes after showing the cursor for a sec.

 Here is the X log:

From you log, the X server is ok. The problem looks more like a
problem with your .xinitrc or something like that.

Can you tell us how you startx X, and try to capture the command's
stdout and stderr ?

If you're running ksh or bash, this should be something like

startx  startx.log 21

and then look at startx.log for obvious errors, or share it here if
you don't see anything meaningful for you.



Hi, after moving .xinitrc to .xinitrc.bak I could start X with no
problems, and it doesn't crash :)

I had this line in it:
exec /usr/X11R6/bin/xset r rate 250 50

It worked with a previous computer, didn't think it would cause
problems. Shouldn't it affect only the keyboard?

Anyway, thank so much, I've tried so different things, and couldn't solve it
:P

Again, thanks!



Re: Video problems (and others?) with ASRock 755i65G/Intel 865G

2007-07-13 Thread Andrés

On 7/13/07, Matthieu Herrb [EMAIL PROTECTED] wrote:

Can you tell us how you startx X, and try to capture the command's
stdout and stderr ?

If you're running ksh or bash, this should be something like

startx  startx.log 21


Here is the output of startx  startx.log 21 *before* moving
.xinitrc to ,xinitrc.bak. Just for the record:

=== startx  startx.log 21 output follows ===

xauth:  creating new authority file /home/adelfino/.serverauth.21235
/usr/X11R6/bin/xauth:  creating new authority file /home/adelfino/.Xauthority


X Window System Version 6.9.0 (for OpenBSD)
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: OpenBSD 4.1 i386 [ELF]
Current Operating System: OpenBSD rei.ciudad.com.ar 4.1 GENERIC#0 i386
Build Date: 07 March 2007
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Jul 13 13:52:31 2007
(==) Using config file: /etc/X11/xorg.conf
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
  Ignoring extra symbols

Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/local/,
removing from list!
SetClientVersion: 0 9

waiting for X server to shut down FreeFontPath: FPE
/usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing.

=== startx  startx.log 21 output precedes ===

I start X with xinit.