Re: Blank screen after using X

2006-11-16 Thread Christian Walther

Hi Ian,
Hi list,

thanks for your configuration. No problem with the delay. :)
I removed your xorg.conf and your xorg.0.log, and added
freebsd-questions to CC again.

I tried your xorg.conf, but I'm afraid that I had no luck with it. It
works for me as my old config did, but the error is still the same: As
soon as the X server is died during the X session is displayed the
screen wents black and remains black. If I switch to a text console
before, and kill X (for example by hitting CTRL+C on the console I did
a startx on), X is killed and everything is fine.
This is why I think that X somehow fails to quit graphics mode
correctly, leaving the graphics chip in an unusable state.
Re-Initialising it to graphics by typing startx blindly works, thou.

BTW: I updated the BIOS and Embedded System Controller (or whatever
it is called) to the most recent version. Didn't change anything...

I think I'll have a look at the BIOS now, maybe I have a setting or
two that don't work well with FreeBSD or X.

Thanks for your time and help anyway. :)
Christian


On 16/11/06, Ian Smith [EMAIL PROTECTED] wrote:

Hi Christian,

sorry, slow, blame the 19 hour time difference :)

attached xorg.conf and Xorg.0.log (offlist)

Haven't had time to do diffs with yours yet, busy here, and my xorg.conf
may have conservative values, and I think you have an extra module or
two in yours, but you could see if anything in here works for you.

As to the sysctls, I hope you picked up my typo ('-' instead of '=') in
one line .. I just typed them in from the other laptop's screen :(

Cheers, Ian


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Blank screen after using X

2006-11-16 Thread Ian Smith
On Wed, 15 Nov 2006, Christian Walther wrote:

  I edited /etc/sysctl.conf and /boot/loader.conf, adding the
  parameter/values you've given me, and rebooted the machine afterwards,
  but it didn't change anything.

They might regarding suspend/resume video, but no, not for this one ..

  As long as X is running, I can switch between the text consoles and X
  without any problem. But as soon as I quit X the screen wents black
  and is unusable until I do a cold boot.
  I can switch to a console and start X again, thou, but the text
  consoles remain unusable.

Sorry, I was mistaken .. I've still got this problem too.  Once I got
suspend/resume going I hadn't quit X in more than a month.  Tonight I
did, to check, and there was the blank screen again. 

So I resorted to my old workaround, which may also work for you; I just
type 'fixme' at the unseen vty prompt: 

t23# cat ~/bin/fixme
#!/bin/sh
# strangely enough, this invalid mode restores vttyX with the error message:
# vidcontrol: cannot activate raster display: Inappropriate ioctl for device
vidcontrol VESA_800x600

Bizarre, but the only way I found worked, by accident.  Valid vidcontrol
commands failed to achieve this for me, but I know very little magic ..

Earlier I'd found that setting one vty with 'vidcontrol VGA_80x30'
before starting X helped if I switched back to that, but only running
'fixme' saved me tonight.  It's evil, but sure beats rebooting ..

  Sorry for repeating the issue, but maybe I mislead you, because this
  is just one problem (at least as far as I can tell). Trying to update
  to a new BIOS version might a solution, I should check if there is
  anything newer available.

If you have access to a windows box to burn the floppies and a USB
floppy drive, or Windows on the T23, you're set.  I have neither yet.

  I tried several configuration up to now, there are many location where
  you can download them. All of them had the same problem, so I'm not
  entirely convinced that this is an X configuration issue. But could
  you sent me your configuration, so I can give this a try? If it
  doesn't behave as my configuration does I might be able to locate the
  problem.

Mailed separately.  At least X hasn't crashed on me yet with that conf. 

HTH, Ian

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DRI-Problem with X on Thinpad T21 (was: Re: Blank screen after using X)

2006-11-16 Thread Christian Walther

Hi there,

I poked around a bit, changing several settings and the modules to be
loaded in xorg.conf. It turns out that the error is caused by DRI. I'm
pretty sure I tried this before...
So, disabling DRI by commenting out the module in xorg.conf makes X
behave correctly, I can start and stop it without any problems.

But of course I would like to use DRI on my Laptop, should give a
speed bump, especially since I'm interested in using blender.

So, is there anybody out there who could give some advice of what to do?
I changed my kernel configuration so that drm and savagedrm are part
of it, no need for a module. But this doesn't anything, too (didn't
expect it to change anything, but anyway, it was worth a try...)

Regards
Christian


On 16/11/06, Ian Smith [EMAIL PROTECTED] wrote:

On Wed, 15 Nov 2006, Christian Walther wrote:

  I edited /etc/sysctl.conf and /boot/loader.conf, adding the
  parameter/values you've given me, and rebooted the machine afterwards,
  but it didn't change anything.

They might regarding suspend/resume video, but no, not for this one ..

  As long as X is running, I can switch between the text consoles and X
  without any problem. But as soon as I quit X the screen wents black
  and is unusable until I do a cold boot.
  I can switch to a console and start X again, thou, but the text
  consoles remain unusable.

Sorry, I was mistaken .. I've still got this problem too.  Once I got
suspend/resume going I hadn't quit X in more than a month.  Tonight I
did, to check, and there was the blank screen again.

So I resorted to my old workaround, which may also work for you; I just
type 'fixme' at the unseen vty prompt:

t23# cat ~/bin/fixme
#!/bin/sh
# strangely enough, this invalid mode restores vttyX with the error message:
# vidcontrol: cannot activate raster display: Inappropriate ioctl for device
vidcontrol VESA_800x600

Bizarre, but the only way I found worked, by accident.  Valid vidcontrol
commands failed to achieve this for me, but I know very little magic ..

Earlier I'd found that setting one vty with 'vidcontrol VGA_80x30'
before starting X helped if I switched back to that, but only running
'fixme' saved me tonight.  It's evil, but sure beats rebooting ..

  Sorry for repeating the issue, but maybe I mislead you, because this
  is just one problem (at least as far as I can tell). Trying to update
  to a new BIOS version might a solution, I should check if there is
  anything newer available.

If you have access to a windows box to burn the floppies and a USB
floppy drive, or Windows on the T23, you're set.  I have neither yet.

  I tried several configuration up to now, there are many location where
  you can download them. All of them had the same problem, so I'm not
  entirely convinced that this is an X configuration issue. But could
  you sent me your configuration, so I can give this a try? If it
  doesn't behave as my configuration does I might be able to locate the
  problem.

Mailed separately.  At least X hasn't crashed on me yet with that conf.

HTH, Ian



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Blank screen after using X

2006-11-15 Thread Christian Walther

Hi Ian,

thank you for your answer.
I edited /etc/sysctl.conf and /boot/loader.conf, adding the
parameter/values you've given me, and rebooted the machine afterwards,
but it didn't change anything.
As long as X is running, I can switch between the text consoles and X
without any problem. But as soon as I quit X the screen wents black
and is unusable until I do a cold boot.
I can switch to a console and start X again, thou, but the text
consoles remain unusable.

Sorry for repeating the issue, but maybe I mislead you, because this
is just one problem (at least as far as I can tell). Trying to update
to a new BIOS version might a solution, I should check if there is
anything newer available.

I tried several configuration up to now, there are many location where
you can download them. All of them had the same problem, so I'm not
entirely convinced that this is an X configuration issue. But could
you sent me your configuration, so I can give this a try? If it
doesn't behave as my configuration does I might be able to locate the
problem.

Cheers
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Blank screen after using X

2006-11-14 Thread Ian Smith
On Mon, 13 Nov 2006 Christian Walther wrote:

  I forgot to mention that the machine is an IBM Thinkpad T23 with S3
  Savage chip, max. resolution is at 1024x768.

Ok, now your first problem becomes one that I've had :)

   I'm using FreeBSD 6.x for a couple of month now, and I'm quite happy with 
   it.
   Since the beginning I've a problem that I was unable to fix: When I
   quit X, or X dies for some reason, the screen remains black. I can
   type blindly, starting X again, or doing a shutdown.

I tried quite a few things to fix this on my T23, and wound up having in
/etc/sysctl.conf: 
 hw.acpi.reset_video=0
 hw.syscons.sc_no_suspend_vtswitch=1

and in /boot/loader.conf:
 acpi_ibm_load-YES
 hint.psm.0.flags=0x3000
 vesa_load=YES

VESA may or may not be relevant; it seemed to help here.  Getting screen
restoration through suspend/resume, from either X or vty, was my goal. 

   I searched the net a found an older thread from another FreeBSD-User,
   posted to this mailing list. Link to the initial message:
   http://docs.freebsd.org/cgi/getmsg.cgi?fetch=195067+0+archive/2006/freebsd-questions/20060723.freebsd-questions
  
   It was suggested that this would be a configuration problem, that
   something has to be changed in xorg.conf. But there isn't any solution
   provided, so I hope that someone here can help me.
  
   I'll attach Xorg.0.log with the latest crash information (it complains
   a segfault at the end), and my current xorg.conf.

Can't help with that.  I'll look through these later; if your conf was
autodetected it's a bit different to mine.  I just added stuff from a
config given on the FLCL, and may have some refresh rates and such non
optimal, but it's been working ok on 6.1-R here.

Hope the above helps with the blank screen problem.  Caveat: my T23's
still running an ancient BIOS and EC that can't be updated until I find
an external USB floppy drive - or go mad and install Windows or freedos?
to get that done - which might also be relevant.

Cheers, Ian

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Blank screen after using X

2006-11-13 Thread Christian Walther

Sorry...

I forgot to mention that the machine is an IBM Thinkpad T23 with S3
Savage chip, max. resolution is at 1024x768.

On 13/11/06, Christian Walther [EMAIL PROTECTED] wrote:

Hi,

I'm using FreeBSD 6.x for a couple of month now, and I'm quite happy with it.
Since the beginning I've a problem that I was unable to fix: When I
quit X, or X dies for some reason, the screen remains black. I can
type blindly, starting X again, or doing a shutdown.

I searched the net a found an older thread from another FreeBSD-User,
posted to this mailing list. Link to the initial message:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=195067+0+archive/2006/freebsd-questions/20060723.freebsd-questions

It was suggested that this would be a configuration problem, that
something has to be changed in xorg.conf. But there isn't any solution
provided, so I hope that someone here can help me.

I'll attach Xorg.0.log with the latest crash information (it complains
a segfault at the end), and my current xorg.conf.

What can I change to make this problem disappear?

Cheers
Christian




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]