Tartışma:NASIL Gentoo Nvidia Kılavuzu

From Lapis Wiki

Jump to: navigation, search

Problems with Xorg and nVidia Cards

If you are having trouble starting X and you have an nVidia card, it may be that the necessary device files are not being created.

Note that this is not a problem with initng: the same is the case with sysvinit except that by default /etc/conf.d/rc is set to tarball all your device files on shutdown and reload them on startup from this archive.


File: /etc/conf.d/rc
RC_DEVICE_TARBALL="yes"

Since initng does not pay any attention to this you do not have your device files saved from some previous boot. You would have trouble starting X if you changed this option to no with sysvinit as well.

The solution is to run /sbin/NVmakedevices.sh on startup when appropriate by adding something like the following to /etc/conf.d/local.start:


File: Example /etc/conf.d/local.start
if [ ! -e /dev/nvidia0 ]; then
    /sbin/NVmakedevices.sh
fi

Finally, if you're still having problems because this isn't done before your login manager has started, add "system/local" (without the quotes) to the line of your login manager's init script that begins "need =" (for example: /etc/initng/daemon/kdm.i). This will ensure that your nVidia device files have been created and are ready for use when X starts.

Erkan bunu yanlışlıkla ekledin herhalde. Bu sadece initng kullananlar için geçerli. Ya da sen de initng makalesini çeviriyordun da yanlışlıkla buraya mı yazdın :o --Erdem



Aslinda olay soyle:


hayir ben initng kullanmiyorum. 2 Gundur Nvidia ile bogusuyorum burda.

nvidia kernel 8178 ve kernel 2.6.15 malesef bende birlikte calismiyor. Bu yuzden nvidia-kernel 6629 surumunu kullaniyorum. Fakat bu surumde /dev/nvidia* dosyalarini olusturmuyor. Bununda caresi /etc/conf.d/local.start dosyasina


if [ ! -e /dev/nvidia0 ] ; then

       /sbin/NVmakedevices.sh

fi


satirlarini eklemek. Bu sayede kernel 2.6.15 de nvidia suruculeri sorunsuzca claisiyor.


Nvidia kartim:

Nvidia GeoForce4 420 Go


Belki sadece bana has bir özelliktir. Fakat dedigim gibi, 2 gundur burda nvidia ile bogusuyorum ve cozumu yukarda anlattigim gibi buldum..belki baskasinin isine yarar. Ayrica bu konu ile ilgili bugs larda da kisa vadeli olarak ayni cözumu sunmuslar_

bkz: http://bugs.gentoo.org/show_bug.cgi?id=104369#c18 http://forums.gentoo.org/viewtopic-t-412482.html

Evet buna benzer bir sorunu Gentoo'yu ilk kurduğumda bende yaşamıştım. Hatta çözümünü foruma yazmıştım. Daha sonra tam olarak sürücüleri -C ile kaldırınca ve tekrar sürücülerin ~x86 sürümlerini kullanınca düzelmişti. Bir de yeni sürücülerde eselect opengl update nvidia gibi bir şekilde Xorg yerine nvidia sürücülerini kullanmaya başlıyor. Ben ilk planda bunu farkedememiştim. Eski sürücülerde opengl-update nvidia ile nvidia sürücüsünü kullanıyordu sanırım.--Erdem