Solved I Didn't find my problem so: (EE) xf86OpenConsole: VT_SETMODE VT_PROCESS failed(EE)

HP Pavillion 2000tx, FreeBSD 10.3-RELEASE amd64, normal NVIDIA drivers.
X.Org + XFCE and all was working nice. But after hard reboot (I found out that when I turn off touchpad the keyboard going off too. I couldn't do anything only remove the battery.) I have get this after "startx":
Code:
[   139.795]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[   139.795] X Protocol Version 11, Revision 0
[   139.795] Build Operating System: FreeBSD 10.1-RELEASE-p34 amd64
[   139.795] Current Operating System: FreeBSD kokabart.ru 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
[   139.795] Build Date: 22 May 2016  01:47:04AM
[   139.795]
[   139.796] Current version of pixman: 0.34.0
[   139.796]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   139.796] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   139.796] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Jul 26 23:32:19 2016
[   139.796] (==) Using config file: "/etc/X11/xorg.conf"
[   139.796] (==) ServerLayout "Layout0"
[   139.796] (**) |-->Screen "Screen0" (0)
[   139.797] (**) |   |-->Monitor "Monitor0"
[   139.797] (**) |   |-->Device "Device0"
[   139.797] (**) |-->Input Device "Keyboard0"
[   139.797] (**) |-->Input Device "Mouse0"
[   139.797] (==) Automatically adding devices
[   139.797] (==) Automatically enabling devices
[   139.797] (==) Not automatically adding GPU devices
[   139.797] (WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic/misc" does not exist.
[   139.797]     Entry deleted from font path.
[   139.797] (WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic/75dpi" does not exist.
[   139.797]     Entry deleted from font path.
[   139.797] (WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi" does not exist.
[   139.797]     Entry deleted from font path.
[   139.797] (**) FontPath set to:
    /usr/local/share/fonts/misc/,
    /usr/local/share/fonts/TTF/,
    /usr/local/share/fonts/OTF/,
    /usr/local/share/fonts/Type1/,
    /usr/local/share/fonts/100dpi/,
    /usr/local/share/fonts/75dpi/
[   139.798] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   139.798] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   139.798] (WW) Disabling Keyboard0
[   139.798] (WW) Disabling Mouse0
[   139.798] (II) Loader magic: 0x801510
[   139.798] (II) Module ABI versions:
[   139.798]     X.Org ANSI C Emulation: 0.4
[   139.798]     X.Org Video Driver: 19.0
[   139.798]     X.Org XInput driver : 21.0
[   139.798]     X.Org Server Extension : 9.0
[   139.798] (--) PCI:*(0:0:5:0) 10de:0244:103c:30e5 rev 162, Mem @ 0xc2000000/16777216, 0xd0000000/268435456, 0xc1000000/16777216, BIOS @ 0x????????/65536
[   139.798] (II) LoadModule: "glx"
[   139.799] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   139.821] (II) Module glx: vendor="NVIDIA Corporation"
[   139.821]     compiled for 4.0.2, module version = 1.0.0
[   139.821]     Module class: X.Org Server Extension
[   139.821] (II) NVIDIA GLX Module  304.128  Wed Aug 26 10:51:55 PDT 2015
[   139.821] (II) LoadModule: "nvidia"
[   139.822] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[   139.823] (II) Module nvidia: vendor="NVIDIA Corporation"
[   139.823]     compiled for 4.0.2, module version = 1.0.0
[   139.823]     Module class: X.Org Video Driver
[   139.823] (II) NVIDIA dlloader X Driver  304.128  Wed Aug 26 10:33:20 PDT 2015
[   139.823] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   139.823] (--) Using syscons driver with X support (version 0.x)
[   139.823] (--) using VT number 16

[   139.823] (EE)
Fatal server error:
[   139.823] (EE) xf86OpenConsole: VT_SETMODE VT_PROCESS failed(EE)
[   139.823] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[   139.824] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[   139.824] (EE)
[   139.825] (EE) Server terminated with error (1). Closing log file.
I haven't changed anything! All was working, but after take off the battery don't. Google didn't helps.
 
Try setting the console back to sc(4), the NVidia driver should be able to cope with vt(4) but it looks like it doesn't.
In /boot/loader.conf
Code:
kern.vty=sc

Probably not relevant to the issue at hand but I did notice:
Code:
FreeBSD kokabart.ru 10.3-RELEASE FreeBSD 10.3-RELEASE #0
You're missing at least 5 security patches. Make sure you install them.
 
I would suggest removing /etc/X11/xorg.conf. Instead create /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf:
Code:
Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
EndSection

A few errors in the logs indicate you have a rather old xorg.conf that's still referring to /usr/X11R6.
 
I would suggest removing /etc/X11/xorg.conf. Instead create /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf:
Code:
Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
EndSection

A few errors in the logs indicate you have a rather old xorg.conf that's still referring to /usr/X11R6.
I used /etc/X11/xorg.conf with yours code from section CODE, but get the same error. Maybe I don't understand your advise correctly?
 
Sort of. You need to remove all xorg.conf files, in /etc/X11/ and, if there is one, /usr/local/etc/X11/. You don't really need it anymore, X is able to detect almost everything automatically nowadays.

Create a new file and save those 4 lines of code as /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf. That's all you need to do.
 
Sort of. You need to remove all xorg.conf files, in /etc/X11/ and, if there is one, /usr/local/etc/X11/. You don't really need it anymore, X is able to detect almost everything automatically nowadays.

Create a new file and save those 4 lines of code as /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf. That's all you need to do.
Nope. It didn't help. I got the same error.
Maybe I need give more information?
 
Just reinstall everything. I think it was configs problem, but what kind of problem it stay mystery for me. I'm nooby!
 
Back
Top