Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X fails on using nvidia-drivers from portage
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
ListenToMyMusic
n00b
n00b


Joined: 26 Feb 2009
Posts: 13

PostPosted: Sat Feb 28, 2009 7:28 pm    Post subject: X fails on using nvidia-drivers from portage Reply with quote

if i run the package from the nvidia site X runs fine, but on emerging nvidia-drivers X fails.

Kernel Version: 2.6.27-r8
USE="16bit 3dnow 3dnowext 3ds 7zip X aac aalib additions admin administrator
aim alsa amarok analogtv apache2 applet aspell audacious audio audiofile
audioscrobbler automount avahi awe32 background beagle bittorrent
bittorrent-external cairo cal3d cdaudio cdinstall cdio cdparanoia cdr
cdrkit cdrom cdrtools cdsound cgi chroot compat compress cupsddk curl
curlwrappers cursors cxx dbus dhclient dhcp dhcpcd directv distribution
divx djvu doc dvb dvd dvdnav dvdr dxr3 dynamic editor eds embedded
emerald encode enscript epiphany equalizer esd etc-proposals eu_epg evo
examples exif extra fastcgi festival ffmpeg finger firefox firefox3
fontconfig fontforge fuse gadu games gcrypt gdl gdm gecko gedit gif gimp
git glib glibc-compat20 glibc-omitfp glitz glut gmail gmath gnome
gnome-keyring gnome-print gnomecanvas gnomecd gnupl gnuplot gnutella
google gphoto2 graph graphics grub gstreamer gtk gtk2-perl gtkspell
gtkstyle gzip hal html http httpd icon icons ident image imagemagick
imaging imap imq ipod iptv irc iso14755 ivtv jack java javascript john
joystick jpeg jpeg2k jpgraph laptop legacyssl libass libburn libcaca
libgcrypt libmms libnotify libs libsamplerate libsexy libv4l2 libvisual
lights live livebuffer lm_sensors logviewer lv2 lvm lyrics lyrics-screen
madwifi magic math matrox md5sum md5sum-external mdnsresponder-compat
mediaplayer memory-cleanup messages midi mixer mjpeg mmx mods module
mouse mozdevelop mozdom mozilla mozsha1 mp2 mp3 mp3rtp mp3tunes mp4
mp4live mpeg mpeg2 mplayer mpu401 msql mssql multiuser musepack music
musicbrainz mysql mysqli mythtv nano-syntax nautilus net netbeans netboot
network network-cron networking networkmanager new-login nfs nntp
nsplugin nspr ntfs nvidia ogg ogg123 ogm openal opengl openssl osc oss
pango passwd pcf pcmcia pdf php pidgin player portaudio print
python-bindings qt-dbus qt-static qt-webkit qt3 qt3-static qt3support qt4
quicktime radio realmedia regex reiser4 reiserfs root rss rsync ruby
ruby-bindings rubytests server smartcard smtp snmp sound soundex sounds
soundtouch sourceview speedy spell sql sqlite sqlite3 sse sse2 ssh ssse3
startup-notification statistics svg svgz switch_user sylpheed
systempreferences systray t1lib tb4 teamarena test-programs textures tga
tgif themes threads toolbar tools totem trayicon truetype tunepimp tv
tv_check tv_combiner tv_pick_cgi tvtime ui underscores unsupported upnp
usb utils v4l v4l2 vboxwebsrv video videos vnc vst wav weather wifi
wildcards wininst winpopup wma xml xrender xterm xterm-color xulrunner
yahoo zip -arts -kde -make-symlinks"
MAKEOPTS="-j3"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
cat /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz
stepping : 13
cpu MHz : 1667.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3324.95
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor: 1 is exactly the same

My lspci results:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)
02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
09:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
09:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sat Feb 28, 2009 8:14 pm    Post subject: Reply with quote

Define "fails". If there is an error message, post it. That's the only way to know what's happening with your system.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Sat Feb 28, 2009 8:41 pm    Post subject: Reply with quote

Which drivers did you install? The 180.xx drivers should work for your card.
Back to top
View user's profile Send private message
ListenToMyMusic
n00b
n00b


Joined: 26 Feb 2009
Posts: 13

PostPosted: Sun Mar 01, 2009 12:25 am    Post subject: Reply with quote

no error message, if i initialize xdm, gdm opens, I log in and when my Gnome session starts all i see is a blue background and mouse. there is no way to shutdown or change my tty to see the verbose output of X.
Back to top
View user's profile Send private message
abyss
n00b
n00b


Joined: 10 Aug 2007
Posts: 6

PostPosted: Sun Mar 01, 2009 1:27 am    Post subject: Reply with quote

Using emerge command, the installation works fine or do yo have some compilation errors ?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Sun Mar 01, 2009 3:18 am    Post subject: Reply with quote

ListenToMyMusic wrote:
no error message, if i initialize xdm, gdm opens, I log in and when my Gnome session starts all i see is a blue background and mouse. there is no way to shutdown or change my tty to see the verbose output of X.
Again... what version of the driver did you emerge? If you tried the stable version try the ~x86 version.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sun Mar 01, 2009 3:22 am    Post subject: Reply with quote

You could temporarily remove xdm from the default runlevel, and troubleshoot X from a place where you can see what's happening when X dies. At least then you'd know.

My experience is, as long as you have the /usr/src/linux symlink pointing to the kernel version you're using, that's all that needs to happen. I'm using whatever the latest 180.x version is, and it's working fine.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
ListenToMyMusic
n00b
n00b


Joined: 26 Feb 2009
Posts: 13

PostPosted: Sun Mar 01, 2009 3:29 pm    Post subject: Reply with quote

mikegpitt wrote:
ListenToMyMusic wrote:
no error message, if i initialize xdm, gdm opens, I log in and when my Gnome session starts all i see is a blue background and mouse. there is no way to shutdown or change my tty to see the verbose output of X.
Again... what version of the driver did you emerge? If you tried the stable version try the ~x86 version.


any version, as long as the driver is from portage it will not work, I've tried all the ~amd64 versions and all the stable releases
Back to top
View user's profile Send private message
ListenToMyMusic
n00b
n00b


Joined: 26 Feb 2009
Posts: 13

PostPosted: Sun Mar 01, 2009 3:32 pm    Post subject: Reply with quote

abyss wrote:
Using emerge command, the installation works fine or do yo have some compilation errors ?


compilation is fine, gdm itself works, I can log in, but after that everything freezes.

I booted in interactive mode and stopped xdm from starting then ran startx, the screen had the same blue background and ctrl-alt-f* didn't work so I couldn't see the X output.

Im gonna try again after i recompile after changing some USE flags.

This next time I'll run startx >> somename.log and write the output here
Back to top
View user's profile Send private message
ListenToMyMusic
n00b
n00b


Joined: 26 Feb 2009
Posts: 13

PostPosted: Tue Mar 03, 2009 3:40 am    Post subject: nvidia-drivers Reply with quote

I installed the Nvidia package from the website, now when i try to install the driver from portage X fails to start. the nvidia logo flashes and then the screen remains black.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Mar 03, 2009 4:27 am    Post subject: Reply with quote

Merged the above post.
Back to top
View user's profile Send private message
ListenToMyMusic
n00b
n00b


Joined: 26 Feb 2009
Posts: 13

PostPosted: Tue Mar 03, 2009 4:30 am    Post subject: Reply with quote

well, the problem is different now, and i didn't want to bump an old post, but I guess that's how it works here.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Tue Mar 03, 2009 4:37 am    Post subject: Reply with quote

ListenToMyMusic wrote:
well, the problem is different now, and i didn't want to bump an old post, but I guess that's how it works here.
Sorry, that was my fault... I figured it belonged in the same thread

Either way... have you thought about upgrading to xorg-server-1.5.3? It will be going stable soon anyway, and might help you with your problem.

Here is the stabilization bug:
https://bugs.gentoo.org/show_bug.cgi?id=251832

One of the attachments is the stabalization list... simply append that list to your /etc/portage/package.keywords and do an:
Code:
emerge -DuN xorg-server


After the emerge completes (successfully) re-run Xorg -configure. The new xorg-server doesn't really require much configuration, but will need a drivers section. The Xorg -configure should take care of that.


Just one other question... are you sure your display is able to handle the resolution Xorg is using? It could be that your display is going out of sync and blacking out.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Tue Mar 03, 2009 10:05 am    Post subject: Reply with quote

There are problems with nvidia-drivers-180.35, so if you have that version, mask it and downgrade to 180.29.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
ListenToMyMusic
n00b
n00b


Joined: 26 Feb 2009
Posts: 13

PostPosted: Tue Mar 03, 2009 2:46 pm    Post subject: Reply with quote

same thing happens, i downgraded to the last stable release and it still fails.
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