NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: XFree86 with nVidia GeForce 8400 GS





Hi Ray,

You need to install following packages in order to use Xorg properly:

modular-xorg-server-1.4.2 Modular X11 server from modular X.org
xinit-1.1.0nb1      X init program
xf86-input-keyboard-1.3.1nb1 Modular Xorg keyboard driver
xf86-input-mouse-1.3.0nb1 Modular Xorg mouse driver
xf86-video-vesa-2.0.0nb1 Modular Xorg VESA video driver >>> Modular Xorg Vesa works too, and much more stable.
xf86-video-nv-2.1.12nb1 Modular Xorg NVIDIA video driver
font-alias-1.0.1    Standard aliases for X11 PCF fonts
font-cursor-misc-1.0.0 Standard X11 cursors in PCF format
font-misc-misc-1.0.0 Standard X11 "fixed" PCF font
vera-ttf-1.10nb4 Bitstream Vera TrueType fonts >>> This is optional. It could be better to install True Type fonts as you wish.


Well, friends here may advise better way to fix "They install the same files into the same place. + XXX package `xxx' is required by other packages" I do the following method:

Rename ie; /var/db/pkg/libXfixes to /var/db/pkg/libXfixes.original
Try to install modular-xorg-again.



Regards,





Ray Phillips, 10/17/08 07:22:
Thanks for your replies Quentin and Cem.

I have similar card and you need to use modular Xorg.

Insert  "X11_TYPE=modular" into /etc/mk.conf

and

# cd /usr/pkgsrc/x11/modular-xorg-server
# make install clean

I'm using pkgsrc 2007Q3 (because a program I need to use [1] won't link against the math/blas package library installed by pkgsrc 2008Q3) and had already installed x11/kdebase3 and graphics/gimp24 before trying to install modular Xorg...

'make install clean' stopped with:

===> Installing for libXfixes-4.0.3
ERROR: libXfixes-4.0.3 conflicts with installed package(s):
ERROR:     Xfixes-2.0.1nb4
ERROR: They install the same files into the same place.
ERROR: Please remove conflicts first with pkg_delete(1).
*** Error code 1

I tried to remove Xfixes but it failed.

nd# pkg_delete Xfixes-2.0.1nb4
pkg_delete: package `Xfixes-2.0.1nb4' is required by other packages:
        qt3-tools-3.3.8
        kdebase-3.5.7nb4
        kdelibs-3.5.7nb3
        qt3-libs-3.3.8nb5
        py24-gtk2-2.10.6nb1
        gimp-2.3.19nb3
        librsvg-2.18.2nb2
        libgnomeprintui-2.18.1nb1
        libcroco-0.6.1nb6
        libgnomeui-2.18.1nb3
        libbonoboui-2.18.0nb3
        libgnomecanvas-2.14.0nb3
        libglade-2.6.2
        gnome-keyring-0.8.1
        libgtkhtml-2.6.3nb9
        gail-1.20.0nb1
        gtk2+-2.12.0nb1
        xcursor-1.1.2nb2
nd#

Do you think it would be OK to force it to be removed? Would the files installed by libXfixes be likely to work with packages which were already installed and depend on Xfixes?

To see how how Xorg would go I moved /usr/{pkg,pkgsrc}, and /usr/var/db/{pkg,pkg.refcount} to /usr/0tmp and started again with a newly untar'd /usr/pkgsrc. I installed the x11/modular-xorg-server, x11/xf86-input-keyboard and x11/xf86-input-mouse packages but running Xorg failed with:

Could not init font path element /usr/pkg/lib/X11/fonts/misc/, removing from li
st!
Could not init font path element /usr/pkg/lib/X11/fonts/TTF/, removing from lis
t!
Could not init font path element /usr/pkg/lib/X11/fonts/OTF, removing from list
!
Could not init font path element /usr/pkg/lib/X11/fonts/Type1/, removing from l
ist!
Could not init font path element /usr/pkg/lib/X11/fonts/100dpi/, removing from
list!
Could not init font path element /usr/pkg/lib/X11/fonts/75dpi/, removing from l
ist!

Fatal server error:
could not open default font 'fixed'

When I checked, /usr/pkg/lib/X11/fonts didn't even exist, so I changed the lines in /root/xorg.conf.new which referred to those files to:

        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"

I suppose that's not the preferred solution; would these packages install those missing fonts for me:

font/font-bh-100dpi
font/font-bh-75dpi
font/font-bh-ttf
font/font-bh-type1
font/font-cursor-misc

(it seems there's no OTF package?)

Anyway, after I'd made those changes to /root/xorg.conf.new, running 'Xorg -config /root/xorg.conf.new' when logged in as root brought up X, so at least Xorg's nVidia driver can handle the GeForce 8400 GS, as you said.

Next I tried to install x11/kdebase3 but it failed with:

bdftopcf -o console8x16.pcf ./console8x16.bdf
/usr/X11R6/lib/libXfont.so.1: Undefined symbol "serverClient" (symnum = 492)
gmake[3]: *** [console8x16.pcf.gz] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.5.7/konsol
e/fonts'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.5.7/konsol
e'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.5.7'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/kdebase3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/kdebase3

so it seems kdebase3 and Xorg don't get along well together, unless there's another approach to installing them?

I really want to use kde and since you say the nv driver in NetBSD -current supports the GeForce 8400 GS perhaps the best option is to use -current instead of 4.0?


Ray


[1]  http://www.ctcms.nist.gov/oof/




Home | Main Index | Thread Index | Old Index