Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357763 - x11-drivers/xf86-video-nouveau does not work with Quadro FX1800 on HP elitebook 8540w
Summary: x11-drivers/xf86-video-nouveau does not work with Quadro FX1800 on HP elitebo...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-07 13:02 UTC by Jiri Pittner
Modified: 2017-01-29 01:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel .config (kernel.config,93.32 KB, text/plain)
2011-03-07 13:04 UTC, Jiri Pittner
Details
xorg.conf (xorg.conf,4.60 KB, text/plain)
2011-03-07 13:18 UTC, Jiri Pittner
Details
Xorg.log with internal display only (Xorg.0.log.nouveau-internal,34.33 KB, text/plain)
2011-03-09 19:46 UTC, Jiri Pittner
Details
Xorg.log with external monitor (Xorg.0.log.nouveau-2disp,40.18 KB, text/plain)
2011-03-09 19:48 UTC, Jiri Pittner
Details
dmesg output (dmesg,249.39 KB, text/plain)
2011-03-09 20:23 UTC, Jiri Pittner
Details
current .config (.config,95.34 KB, text/plain)
2011-03-10 08:20 UTC, Jiri Pittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Pittner 2011-03-07 13:02:47 UTC
I freshly installed gentoo on HP elitebook 8540w with Nvidia Quadro FX1800 
graphics card and 1920x1080 LCD. Nouveau driver from linux-2.6.37-gentoo-r1
nor linux-2.6.38-rc7-git4 works: I get a moving mouse pointer on "random" pixels
background. Proprietary Nvidia driver does not work either and with VESA I was able to achieve at most 1280x1024 resolution.

Reproducible: Always

Steps to Reproduce:
1. compile kernel and xorg components
2. /etc/init.d/xdm start
3.
Actual Results:  
With nouveau no errors reported in log, but I get a moving mouse pointer on "random" pixels background. I used nouveau from the kernel source, staging drivers. The x11-base/nouveau-drm package fails to compile.

With proprietary nvidia driver, libdri and dri2 are reported missing, there
are none in the /usr/lib/xorg/modules/extensions. If I symplink there the xorg dri libs, it X fails to start with "no screens found".

With VESA I cannot achieve native display resolution.

The problem is unfortunately blocking normal use of the laptop.

Expected Results:  
working X

app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1, 2.21
sys-devel/gcc:       4.4.4-r2, 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fno-omit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fno-omit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.sh.cvut.cz/MIRRORS/gentoo ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.supp.name/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs de nl sk"
MAKEOPTS="-j8"
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="/scratch/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib ac3 acl acpi aes alsa amd64 amr berkdb blas bluetooth bonobo branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cxx dbus djvu dri dts dv dvb dvd dvdnav dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran ftp gcj gd gdbm gdu gif gphoto2 gpm gps graphics gsm gtk http hwac3 icc iconv ieee1394 imagemagick imap ipv6 jabber java javascript jpeg jpeg2k kpathsea lapack lcms ldap lesstif libnotify libwww lirc lm_sensors lprng mad mbox mikmod mime mmap mmx mng modules mozilla mp3 mp4 mpeg mpi mudflap multilib music mysqlnptl nas ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp pango paste64 pcmcia pcre pdf perl plotutils png policykit posix ppds pppd pstricks publishers python qt3support qt4 readline samba scanner science sdl session sharedmem smartcard sndfile sockets socks5 sox spell sse sse2 sse3 sse4 ssl startup-notification svg sysfs tcl tcltk tcpd tetex threads tiff tk truetype udev unicode usb usrp v4l v4l2 vcd vorbis wifi wxwindows x264 xcb xine xml xmms xorg xpm xulrunner xv xvid 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" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs de nl sk" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa nv fbdev v4l vga" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

 x11-drivers/xf86-video-nouveau
     Available versions:  0.0.16_pre20101130
     Installed versions:  0.0.16_pre20101130(13:01:56 03/05/11)

 x11-base/xorg-server
     Available versions:  [M]1.7.7-r1 1.9.2 1.9.4 {debug dmx doc hal ipv6 kdrive minimal nptl sdl static-libs tslib +udev xorg}
     Installed versions:  1.9.4(22:03:33 03/06/11)(dmx ipv6 kdrive nptl udev xorg -doc -minimal -static-libs -tslib)

Linux jp 2.6.37-gentoo-r1 #12 SMP Sun Mar 6 22:40:58 CET 2011 x86_64 Intel(R) Core(TM) i7 CPU Q 740 @ 1.73GHz GenuineIntel GNU/Linux
Comment 1 Jiri Pittner 2011-03-07 13:04:13 UTC
Created attachment 265035 [details]
kernel .config
Comment 2 Jiri Pittner 2011-03-07 13:18:21 UTC
Created attachment 265037 [details]
xorg.conf
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-09 14:57:17 UTC
Any interesting output in the X server logs or in dmesg?
Comment 4 Jiri Pittner 2011-03-09 19:46:23 UTC
Created attachment 265343 [details]
Xorg.log with internal display only

Here is the log file - no external monitor attached. There are some errors
from synaptics, but they are irrelevant, since only the same xorg.conf
works when nouveau is replaced with vesa. 
Then there is some message about infinite loop, which corresponds to the behavior
- the machine has to be rebooted by ssh login.
Actually, I have observed that when the nouveau driver is compiled as module,
the console during boot becomes garbled when it comes somewhere after 'checking uevents'. Maybe it is related.

Actually, the nvidia proprietary driver works well with external displayport
monitor (fortunately), so I tried nouveau in the same hw configuration, cf. next attachment.
Comment 5 Jiri Pittner 2011-03-09 19:48:19 UTC
Created attachment 265345 [details]
Xorg.log with external monitor

When attaching external monitor, the behavior is identical,
eventually the "random pixel pattern" is shown on both screens,
while it is possible to move the mouse points, but impossible to 
switch to text console F1.
Comment 6 Jiri Pittner 2011-03-09 20:23:22 UTC
Created attachment 265351 [details]
dmesg output

Here is the output of dmesg, showing some nouveau error reports.

I have tried also to boot knoppix and gentoo live cd/dvd, the X server behavior
was exactly the same.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-03-09 20:47:38 UTC
Google indicates that several people are reporting problems with Quadro FX1800. You can try booting with nouveau.noaccel=1 kernel parameter, which will disable acceleration but still give you native resolution.

It is probably a good idea to report this on http://bugs.freedesktop.org/ if no report already exists there.
Comment 8 Jiri Pittner 2011-03-10 08:20:05 UTC
Created attachment 265421 [details]
current .config

I tried tp modprobe nouveau noaccel=1, but then no /dev/dri
existed and X did not start (no screen available). Perhaps some
change in xorg.conf is needed ?

I also tried to compile nouveau in the main kernel (instead of module),
but I got error message while linking:
LD      .tmp_vmlinux1
drivers/built-in.o: In function `nouveau_acpi_edid':
(.text+0xffb7d): undefined reference to `acpi_video_get_edid'
I did even a full make clean before, but it did not help.
I am attaching the used .config, perhaps it needs some change.
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-03-10 09:59:22 UTC
The build error shouldn't happen, unless you messed around manually in .config or neglected to run make oldconfig.
Anyway, ensure that ACPI_VIDEO is enabled in your kernel too.
Comment 10 Jiri Pittner 2011-03-11 20:36:26 UTC
Thanks, after solving the .config problems and giving up hardware
acceleration the nouveau driver works and gives full resolution, 
also with an external DVI monitor.
Comment 11 David Heidelberg (okias) 2013-06-12 22:02:19 UTC
so, if this bug is FIXED, please mark it