Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] X not detecting nvidia modules
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nirovanton
n00b
n00b


Joined: 24 Mar 2009
Posts: 42
Location: Moorhead, MN

PostPosted: Thu Feb 02, 2012 10:12 pm    Post subject: [SOLVED] X not detecting nvidia modules Reply with quote

Hello,

I am in the process of creating an amd64 desktop and am stuck on the xorg configuration. I got the system running and installed all the necessary packages to fire up KDE though for reasons unknown it wants the nouveau module instead of the nvidia one. From the very start it has wanted nouveau. I am not sure what to do at this point, any help would be greatly appreciated.

Code:

harrisj@serenity ~ $ startx
hostname: Resolver Error 0 (no error)
xauth:  file /home/harrisj/.serverauth.18942 does not exist


X.Org X Server 1.11.2
Release Date: 2011-11-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.1-gentoo-r2 x86_64 Gentoo
Current Operating System: Linux serenity 3.2.1-gentoo-r2 #7 SMP Wed Feb 1 18:13:11 CST 2012 x86_64
Kernel command line: root=/dev/sda7
Build Date: 01 February 2012  06:51:50PM
 
Current version of pixman: 0.24.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb  2 10:10:24 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.
Kernel configuration relating to nouveau:


Code:

Device Drivers --->
    Graphical support --->
        < * > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->       
    [  ] Staging drivers --->

Symbol: DRM_NOUVEAU [=n]
Symbol: DRM_NOUVEAU_DEBUG [=n]
Symbol: DRM_NOUVEAU_BACKLIGHT [=n]

make.conf:
Code:

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse3 -m3dnow"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j5"

ACCEPT_KEYWORDS="amd64"

GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://gentoo.llarian.net/pub/gentoo"

USE="\
            bash-completion \
            -bluetooth \
            -doc \
            dbus \
            -examples \
            flac \
            gnutls \
            -gpm \
                handbook \
                hal \
            -ipv6 \
            networkmanager \
                ruby \
                threads \
                sasl \
                semantic-desktop \
                smp \
                unicode \
                vim-syntax \
                xinerama \
                xcomposite \
                xscreensaver \
                zeroconf \
    "

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"

PORTAGE_FEATURES="parallel-fetch userfetch fail-clean"

INPUT_DEVICES="evdev"

VIDEO_CARDS="nvidia"

ACCEPT_LICENSE="*"

source /var/lib/layman/make.conf



emerge --info
Code:

Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.0.3
Timestamp of tree: Thu, 02 Feb 2012 19:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo alunduil-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse3 -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -msse3 -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://gentoo.llarian.net/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/alunduil-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gnutls gtk hal handbook iconv jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline ruby sasl sdl semantic-desktop session smp spell sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vim-syntax vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Im not really sure what else is needed, I will post as requested and thank you in advance for any help received on this problem.


Last edited by nirovanton on Fri Feb 03, 2012 1:06 am; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Feb 02, 2012 10:15 pm    Post subject: Reply with quote

If you want nvidia, you need this xorg.conf
Code:
Section "Device"
    Identifier  "Nvidia Card"
    Driver      "nvidia"
EndSection

Note, put only that into the file.
Back to top
View user's profile Send private message
nirovanton
n00b
n00b


Joined: 24 Mar 2009
Posts: 42
Location: Moorhead, MN

PostPosted: Fri Feb 03, 2012 1:06 am    Post subject: Reply with quote

Thanks! this fixed to problem.
I was under the impression that an xorg.conf file had been effectively phased out since I haven't needed one for some time now. Regardless, thank you very much for the fix.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Feb 03, 2012 10:24 am    Post subject: Reply with quote

nirovanton wrote:
I was under the impression that an xorg.conf file had been effectively phased out since I haven't needed one for some time now.

You don't need it if the defaults are ok for you. But Gentoo's default for nvidia cards is the nouveau driver. Since you want away from that default, xorg.conf is needed.

There's still a difference compared to the ye olde days. Back then, you needed a full-blown xorg.conf setting up all sorts of stuff. Nowadays, you only write the section where you're actually configuring something. In your case, the Device section to set the driver.
Back to top
View user's profile Send private message
Tefrem34
Guru
Guru


Joined: 14 Sep 2014
Posts: 386
Location: USA, California

PostPosted: Sat Sep 20, 2014 10:56 pm    Post subject: Reply with quote

I have a question for you. When you installed xorg, did it configure a xorg.conf.d file for you? Or did you have to make the file yourself?
I am trying to get the proprietary drivers working and I was curious if what you did to get you drivers working would be what I need to do.
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum