Re: netbsd 9 upgrade experience

2020-06-23 Thread r0ller
Hi Hauke,

I bumped into an email in one of the netbsd lists of which I concluded that 
generating an xorg.conf and adding the option AccelMethod in the device section 
like this, solves the i915 drmkms issue:

Option    "AccelMethod"    "uxa"

So I gave it a try and it seems to be true :) That option is also mentioned in 
"man intel" but if I understand it correctly it is somewhat slower than the 
default "sna". But considering that this box is a bit more than ten years old 
with an integrated i915 (i950gma), 3gb ram and a pentium cpu, I don't care if 
it does not crash.

Thanks for your help though! :)

Best regards,
r0ller

 Eredeti levél 
Feladó: Hauke Fath < hauke.f...@gmail.com (Link -> mailto:hauke.f...@gmail.com) 
>
Dátum: 2020 június 23 15:10:11
Tárgy: Re: netbsd 9 upgrade experience
Címzett: r0ller < r0l...@freemail.hu (Link -> mailto:r0l...@freemail.hu) >
On Sat, 20 Jun 2020 20:19:08 + (GMT), r0ller wrote:

> 3) xorg still crashes when it gets a little stress as it did in 8.1
> with i915drmkms enabled tough I hoped that upgrading to 9 will solve
> it. See xdm.log and Xorg.0.log attached.

You might be better off with wip/xf86-video-intel-git - it fixed
similar problems for me on a HP EliteBook.
But I don't know if you can run a pkgsrc X server alongside base X11,
or if you need to build all things X from pkgsrc.

Cheerio,
Hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344

Re: netbsd 9 upgrade experience

2020-06-23 Thread maya
On Tue, Jun 23, 2020 at 03:10:19PM +0200, Hauke Fath wrote:
> On Sat, 20 Jun 2020 20:19:08 + (GMT), r0ller wrote:
> > 3) xorg still crashes when it gets a little stress as it did in 8.1 
> > with i915drmkms enabled tough I hoped that upgrading to 9 will solve 
> > it. See xdm.log and Xorg.0.log attached.
> 
> You might be better off with wip/xf86-video-intel-git - it fixed 
> similar problems for me on a HP EliteBook.
> 
> But I don't know if you can run a pkgsrc X server alongside base X11, 
> or if you need to build all things X from pkgsrc.

Just installing it as a package won't work out. But base Xorg isn't
using a release of xf86-video-intel either, and is using some git
snapshot. We can update it if it helps.


Re: netbsd 9 upgrade experience

2020-06-23 Thread Hauke Fath
On Sat, 20 Jun 2020 20:19:08 + (GMT), r0ller wrote:
> 3) xorg still crashes when it gets a little stress as it did in 8.1 
> with i915drmkms enabled tough I hoped that upgrading to 9 will solve 
> it. See xdm.log and Xorg.0.log attached.

You might be better off with wip/xf86-video-intel-git - it fixed 
similar problems for me on a HP EliteBook.

But I don't know if you can run a pkgsrc X server alongside base X11, 
or if you need to build all things X from pkgsrc.

Cheerio,
Hauke

-- 
 The ASCII Ribbon CampaignHauke Fath
() No HTML/RTF in emailInstitut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
 Respect for open standards  Ruf +49-6151-16-21344


Re: netbsd 9 upgrade experience

2020-06-21 Thread r0ller
Hi All,

Thanks Greg and Martin for the hints! I had to fix them manually but managed to 
get it done so postinstall does not complain when I let them checked.

Today when I started up the system I got in dmesg this stuff but I haven't seen 
that after reboot:

[ 1686,631400] kern error: 
[drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c:132)intel_pipe_update_start]
 *ERROR* Potential atomic update failure on pipe A: -35

I don't know if it helps (if anyone has time for it at all) besides the xdm.log 
and Xorg.0.log sent yesterday.

Best regards,
r0ller

 Eredeti levél 
Feladó: Martin Husemann < mar...@duskware.de (Link -> 
mailto:mar...@duskware.de) >
Dátum: 2020 június 21 07:53:58
Tárgy: Re: netbsd 9 upgrade experience
Címzett: Greg Troxel < g...@lexort.com (Link -> mailto:g...@lexort.com) >

On Sat, Jun 20, 2020 at 08:13:42PM -0400, Greg Troxel wrote:
> This is the easy one. postinstall expects sources. You can use the -s
> option. I unpack etc.tgz and xetc.tgz to /usr/netbsd-etc and pass that.
> Amazingly, this is even in the manual, but it doesn't really say that
> you need a plan for -s.

Back in the days when sysinst started running postinstall after updates
there were no cases when postinstall needed manual intervention. We need
to deal with this in sysinst somehow(tm).
The black xdm fields will go away once postinstall fixed "x11" properly
(it is caused by missing resource entries in the xdm config files).

Martin

Re: netbsd 9 upgrade experience

2020-06-20 Thread Martin Husemann
On Sat, Jun 20, 2020 at 08:13:42PM -0400, Greg Troxel wrote:
> This is the easy one.   postinstall expects sources.  You can use the -s
> option.  I unpack etc.tgz and xetc.tgz to /usr/netbsd-etc and pass that.
> Amazingly, this is even in the manual, but it doesn't really say that
> you need a plan for -s.

Back in the days when sysinst started running postinstall after updates
there were no cases when postinstall needed manual intervention. We need
to deal with this in sysinst somehow(tm).

The black xdm fields will go away once postinstall fixed "x11" properly
(it is caused by missing resource entries in the xdm config files).

Martin


Re: netbsd 9 upgrade experience

2020-06-20 Thread Greg Troxel
r0ller  writes:

> 1) After system upgrade done via usb installer I got the message that
> postinstall fixes failed for: fontconfig gid x11. When I tried to
> execute postinstall afterwards, I got the error message that /usr/src
> is not a directory.

This is the easy one.   postinstall expects sources.  You can use the -s
option.  I unpack etc.tgz and xetc.tgz to /usr/netbsd-etc and pass that.
Amazingly, this is even in the manual, but it doesn't really say that
you need a plan for -s.