Re: nvidia-driver-295.49 is highly unstable
--OX2aLCKeO1apYW07
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Jun 04, 2012 at 03:53:26PM +0200, Mel Flynn wrote:
> On 4-6-2012 9:54, Pegasus Mc Cleaft wrote:
>=20
> > I forgot to switch back to base gcc before
> > compiling the nvidia driver. I installed the driver and rebooted, xorg
> > came up but as soon as I logged in, kwin crashed, then the machine
> > kernel panicked and rebooted. I rebooted and crashed a few more times
> > before realizing what I had done. I recompiled the driver with GCC and
> > the machine has been rock-stable with the nvidia driver.
> >=20
> > Maybe the OP has done the same thing and not realized it?
>=20
> That would account for what I'm seeing too and I know I've compiled
> nvidia-driver with clang. Except in my case it's Xfce4 and no panics,
> but completely unusable (fonts were too large, offsets calculated
> wrongly, terminal emulation was like opening something in vi with
> TERM=3Ddumb, mouse movement shocked, machine under constant load).
FWIW, a couple of weeks ago, I started (also) tracking stable/9 daily
with the following in /etc/src.conf:
PORTS_MODULES=3Dx11/nvidia-driver
CC=3Dclang
CXX=3Dclang++
CPP=3Dclang-cpp
Given that, as well as the following excerpt from this morning's
typescript from the build:
=2E..
=3D=3D=3D> nvidia-driver-295.49 depends on file: /usr/local/libdata/pkgco=
nfig/xorg-server.pc - found
=3D=3D=3D> nvidia-driver-295.49 depends on shared library: GL.1 - found
=3D=3D=3D> Configuring for nvidia-driver-295.49
=3D=3D=3D> Building for nvidia-driver-295.49
=3D=3D=3D> src (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
x86 -> /usr/src/sys/x86/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
=2E..
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"295.49\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/alt=
q -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sig=
n -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -W=
no-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses=
-equality -c nvidia_ctl.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"295.49\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/alt=
q -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sig=
n -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -W=
no-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses=
-equality -c nvidia_dev.c
=2E...
I believe I am actually building with clang (on that slice -- I
build it with gcc on the other slices).
I did find that whether I use gcc or clang, I needed to modify xorg.conf
to say:
Section "Device"
=2E..
Screen 0
Option "UseEdidDpi" "False" # [<bool>]
EndSection
=2E..
Section "Monitor"
=2E..
DisplaySize 508 317
EndSection
=2E...
to get the font size I had when I was using the nv driver (and to which
I had become accustomed).
As shown above, though, I'm running FreeBSD/i386.
Peace,
david
--=20
David H. Wolfskill david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
--OX2aLCKeO1apYW07
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAk/MwxcACgkQmprOCmdXAD2OeQCgh/RoQNmhte1KAVRtj2T1uDLj
8NkAmgMumyPwyf8wdrgHT31qLll0iRzE
=bgf0
-----END PGP SIGNATURE-----
--OX2aLCKeO1apYW07--
討論串 (同標題文章)
完整討論串 (本文為第 10 之 15 篇):