Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 23:11:46 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Re: x11 hangs unkillable on 10.0-BETA1
Message-ID:  <CAN6yY1sxDi0t522RNZ1Uau-FSsEqwnCz3Eby1_Ovzu6heaiSCg@mail.gmail.com>
In-Reply-To: <CAHHBGkpN2hdTyk6XGFid%2BN8ifhEhbV=TuYs2S3w%2BNc%2BFa-YNWQ@mail.gmail.com>
References:  <20131027011829.GA98327@lyxys.ka.sub.org> <CAHHBGkps8wHbkMqQBx4zw=eV9v3MkuC1KaJmLCSAVKB3WN3ojA@mail.gmail.com> <CAN6yY1vpiMPp6kBkXAJ%2BUfiN%2Bz336WiZovcYXW2c3i9eSTZBSA@mail.gmail.com> <CAHHBGkpN2hdTyk6XGFid%2BN8ifhEhbV=TuYs2S3w%2BNc%2BFa-YNWQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 26, 2013 at 10:23 PM, illoai@gmail.com <illoai@gmail.com> wrote=
:

> On 27 October 2013 01:10, Kevin Oberman <rkoberman@gmail.com> wrote:
> > On Sat, Oct 26, 2013 at 9:31 PM, illoai@gmail.com <illoai@gmail.com>
> wrote:
> >>
> >> On 26 October 2013 21:18, Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>
> >> wrote:
> >> > Testing 10.0-BETA1 on an old IBM T42p Laptop, after a while Xorg
> starts
> >> > to use 100% CPU, stops to update the screen and does not accept any
> >> > input anymore. I can still work from remote via ssh; top shows Xorg
> >> > using
> >> > up 100% CPU most of the time. Trying to kill or even kill -9 the Xor=
g
> >> > process does not result in an error message but fails to terminate t=
he
> >> > process.
> >> >
> >> > What information would be helpful to debug this?
> >> >
> >>
> >> Screams of the tormented?  Basically, I debug [X] by disabling
> >> features until it doesn't lock up, & then I use those settings until
> >> it causes lockups (from updates).
> >>
> >> mplayer would reliably lock Xorg if I used (or allowed) vo=3Dsdl
> >> or higher (gl, gl2, whatever).  vo=3Dx11 a) never locks up xorg &
> >> 4) doesn't allow resizing of windows to scale the player.  Oh f'well.
> >>
> >> Summary:
> >> Xorg on FreeBSD is a crap shoot based on your card.  IIRC a T42
> >> is one of those terrible i915 or something video cards.  Ugh.
> >
> >
> > I am surprised by this. I have a T42 with the Intel 3000 graphics card
> and
> > it has worked quite well for me. I use mplayer, vlc, and (primarily)
> xine on
> > it.  I use the default video output device for all. I thought the defau=
lt
> > was Xv, but I could well be wrong. It's been working for me on stable f=
or
> > well over a year. I started using it when kib made patches available,
> but I
> > have been running the committed version.
> >
> > Just to confirm, you have WITH_NEW_XORG=3DYES and WITH_KMS=3DYES in
> > /etc/make.conf and have built all X ports and the kernel with these
> options.
>
> No*, AMD, but I've had my fill of Intel naughtiness lo many years ago.
> I've essentially defaulted to the equivalent of VESA, given the horrors
> that lie within the realms of DRM & DRI & GL.
>
> The problem is manifold, but no matter what the Xorg  (& FBSD DRM)
> driver writers do, the hardware manufacturers move to weirder & odder
> methods of displaying (or desplaying, if you're trying to follow allonge
> in mi=C3=BEle =C3=A6nglisc) your graphical content.  Oddly enough, they s=
eem
> to have a rather short turnaround on their Windows=E2=84=A2 drivers.
>
>
> Anyway, don't trust new technology, unless it directly benefits you,
> & even then, don't trust it.
>
> *None of those settings, but how does that affect your situation?
>
>
If you have AMD and are running 9, you can't use WITH_KMS (only supports
Intel)  and probably don't want WITH_NEW_XORG as it won't work with newer
AMD graphics.

If you are running 10, you want WITH_NEW_XORG, the fairly current Xorg
code. It requires the option because X.org dropped support for a lot of
older GPUs. You can try WITH_NEW_XORG and see how well it works with your
AMD system. 10 also brings KMS support for AMD GPUs. I have none, so I
can't say how well it works.

I forgot that the kernel is now always built to support KMS, so it's only
the X ports that require a re-build.

--=20
R. Kevin Oberman, Network Engineer
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sxDi0t522RNZ1Uau-FSsEqwnCz3Eby1_Ovzu6heaiSCg>