It won't turn the KMS on, it just tells the kernel to use new consoles which is on by default in FreeBSD 11.kern.vty=vt
i915kms_load="YES"
Sorry I did'nt think this is so card depend like X server.You didn't tell what version of FreeBSD you run and what graphics card you have.
It won't turn the KMS on, it just tells the kernel to use new consoles which is on by default in FreeBSD 11.
For KMS you have to add (e.g. for Intel graphics) to /boot/loader.conf:Code:i915kms_load="YES"
But I have an old GT 220 card so I have been istalled nvidia-driver-340 for it. Therefore not exist nvidia-modeset module. I can not figure out how configure the loader (or KMS or what?) that get back console after X.For my NVidia Quadro K2200 I have the following in /boot/loader.conf:(Of course, you should have NVidia driver installed)Code:nvidia_modeset_load="YES" nvidia_modeset_name="nvidia-modeset"
$ pkg info | grep nv
. . . .
nvidia-driver-340-340.96_4
xf86-video-nv-2.1.20_7
. . . .
nvidia_load="YES"
Thank you, the drivers and /boot/loader.conf are exatly same as yours but I dont get back my consoleJust checked another computer with Quadro FX 580 (it was released before GT 220), I have the following packages installed:In /boot/loader.conf I have only:Code:$ pkg info | grep nv . . . . nvidia-driver-340-340.96_4 xf86-video-nv-2.1.20_7 . . . .
Everything works properly.Code:nvidia_load="YES"
kldstat
Id Refs Address Size Name
1 15 0xffffffff80200000 1fa8888 kernel
2 1 0xffffffff821aa000 e137c0 nvidia.ko
3 2 0xffffffff82fbe000 9b748 linux.ko
4 2 0xffffffff8305a000 de28 linux_common.ko
5 1 0xffffffff83221000 3710 ums.ko
startx
. The very old scool window manager starting with 3 terminal and a clock. I terminate it by Ctrl+D key. tail Xorg.0.log
[ 95.098] (**) sysmouse: (accel) acceleration factor: 2.000
[ 95.098] (**) sysmouse: (accel) acceleration threshold: 4
[ 95.098] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[ 95.098] (II) sysmouse: SetupAuto: protocol is SysMouse
[ 95.098] (II) config/devd: device /dev/ums0 already opened
[ 245.044] (II) config/devd: terminating backend...
[ 245.044] (II) UnloadModule: "mouse"
[ 245.044] (II) UnloadModule: "kbd"
[ 245.272] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 245.284] (II) Server terminated successfully (0). Closing log file.
Could you list the loadaed modules please? I can not figures out what missing for properly working.Just checked another computer with Quadro FX 580 (it was released before GT 220), I have the following packages installed:In /boot/loader.conf I have only:Code:$ pkg info | grep nv . . . . nvidia-driver-340-340.96_4 xf86-video-nv-2.1.20_7 . . . .
Everything works properly.Code:nvidia_load="YES"
Then what should be switch back the console? Someting is missing from xorg.conf?As far as I know the NVidia driver has support for KMS from version 364.12 onwards. With the legacy 340 version you shouldn't have an issue with KMS because it doesn't use it.
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
Legacy, MBR.How does the machine boot? Is it using UEFI or legacy boot? ...
This is not helped.
Could you list the loaded modules please? I can not figures out what missing for properly working.
$ kldstat
Id Refs Address Size Name
1 38 0xffffffff80200000 1fa7c38 kernel
2 1 0xffffffff821a9000 30aec0 zfs.ko
3 2 0xffffffff824b4000 adc0 opensolaris.ko
4 2 0xffffffff824bf000 9b748 linux.ko
5 3 0xffffffff8255b000 de28 linux_common.ko
6 1 0xffffffff82569000 ad80 vkbd.ko
7 1 0xffffffff82574000 e137c0 nvidia.ko
8 1 0xffffffff83421000 adec tmpfs.ko
9 1 0xffffffff8342c000 a9f1 linprocfs.ko
10 1 0xffffffff83437000 3710 ums.ko
11 1 0xffffffff8343b000 2a05 uhid.ko
12 1 0xffffffff8343e000 849e cuse.ko
Section "Device"
Identifier "NVIDIA Card"
VendorName "NVIDIA Corporation"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
EndSection
Code:$ kldstat Id Refs Address...
Thank you, I'm afraid this is not help me. From this I do not see what is missing.
This is not helped.
How can I check which console running actually? Maybe I mispelled or I have written to wrong file...
How can I check which console running actually? Maybe I mispelled or I have written to wrong file...
sysctl kern.vty
Thank you, the result is:sysctl kern.vty
kern.vty: sc
Now I see the radeonkms.ko byTo be honest I'm all out of ideas why it's not working for you. I don't think it's related to KMS or the NVidia driver since the same setup works for others.
kldstat
command.How does the machine boot? Is it using UEFI or legacy boot? UEFI boot may have enabled KMS but the legacy NVidia driver isn't KMS aware, so it never switches back.
Try switching to the 'old' sc(4) console.
Code:kern.vty=sc