Anyway, I start with my problem:
I've been instaling Gentoo in my 64 bits PC Desktop; I'm using a Nvidia GeForce GTX 650
Code: Select all
lspci | grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1)
I started with the Gentoo guide How to install Xorg but I'm using a Nvidia card, I also read how to prepare my system with the Nvidia's guide
In the Xorg's guide says:
Continuing with the guide say:Xorg/Guía wrote:By default, Xorg uses evdev, a generic input driver. You'll need to activate support for evdev
I noticed I can choose between "libinput" or "evdev"Xorg/Guía wrote:make.defaults has Libinput as the default input device driver.
I was looking for information about libinput in this link because I've never heard of that and it says:Xorg/Guía wrote:The second variable is INPUT_DEVICES and is used to determine which drivers are to be built for input devices. In most cases setting it to libinput or evdev should work just fine
As far as I understand, I have not to do any extra configuration so I continued with the process. I've compiled the kernel and drivers and I've installed everything that I suppose to install.Libinput wrote:Configuration
Xorg
By default, when libinput is the only available input driver for Xorg, no additional configuration is needed. Simply (re)start the graphical environment for the changes to take effect.
I created the necessary files according the Gentoo Nvidia' s guide:
NVidia/nvidia-drivers wrote:The X Server
Once the appropriate drivers are installed, configure the X server to use the nvidia driver instead of the default nv driver.
Code: Select all
cat /etc/X11/xorg.conf.d/nvidia.conf
Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSection
It says that I have to run a commandXorg/Guía wrote:NVidia users
For NVidia users it might be beneficial to run nvidia-xconfig in order to generate a working xorg.conf file for the selected graphics card. Without this step the xorg.conf file will need to be created manually as described below.
Code: Select all
nvidia-xconfigCode: Select all
startxBefore this step, everything worked fine: I saw some windows because I installed xterm but my problem started from here:
I neither have nor a keyboard or mouse when I start X server with startx command. However, if I start my system without xserver they work very good. I've been reading and looking for information for 5 days but I can't any solution. My Xorg log is in this link
My attention is on this part:
Code: Select all
[ 30979.093] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 30979.093] (WW) Disabling Keyboard0
[ 30979.093] (WW) Disabling Mouse0And that's it, I don't know how to proceed and I'd like to have my system ready as far as possible.
Here is my "make.conf"
Code: Select all
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE_MULTIMEDIA="a52 aac aalib alsa ao audiofile cdda cddb cdr css dv dvb dvd dvdr encode ffmpeg flac gif gpm gstreamer jack joystick jpeg jpeg2k lame libav matroska mms mng mp3 mp4 mpeg mplayer musepack nas ogg osc oss png pulseaudio quicktime sound theora v4l vcd videos vorbis xine xv xvmc tiff gif xvid png win32codecs opengl"
USE_HARD="mmx sse sse2 sse3 ssse3"
USE_NET="ssh samba"
USE_ENTORNO="kde X gnome"
USE_GENERAL="xvmc"
USE="bindist acpi gtk ${USE_HARD} ${USE_NET} ${USE_MULTIMEDIA} ${USE_ENTORNO} ${USE_GENERAL}"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
MAKEOPTS="-j9"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="libinput"
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
Also, this is the xorg file that the nvidia-xconfig wrote:
Code: Select all
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 381.22 (buildmeister@swio-display-x86-rhel47-02) Thu May 4 01:29:00 PDT 2017
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSectionCode: Select all
eselect kernel list
Available kernel symlink targets:
[1] linux-4.9.16-gentoo *PD: I decided to use libinput instead of evdev because the libinput guide says:
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]Libinput wrote:It is a drop-in replacement for the slowly deprecating evdev and synaptics input drivers


