Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] T61p, nvidia, DRI
View unanswered posts
View posts from last 24 hours

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


Joined: 19 Apr 2002
Posts: 57

PostPosted: Thu Sep 04, 2008 4:25 am    Post subject: [SOLVED] T61p, nvidia, DRI Reply with quote

I've got an T61p with onboard NVidia Quadro 570M. The binary drivers work fine, except for DRI... I've pretty much tried every combination of in-kernel agp frontend/backend, nvidia-built-in agp, loading/not loading the X 'dri' module, but nothing helps: X starts just fine, the driver initializes ok, NV-GLX loads and initializes, but dri remains unavailable.
I've also tried fiddling with mtrr cleanup (cat /proc/mtrr shows 5 regions, 3 of which are marked 'uncachable'), but as it turns out, the NVidia driver doesn't even use MTRR, if PAT is available (both enabled in the kernel).

Version: gentoo-sources-2.6.25-r7, gentoo-sources-2.6.26-r1, vanilla-sources-2.6.27-rc5, nvidia-drivers-169.09-r1 up to 177.70.
Any clues appreciated!


Last edited by clattuc on Fri Sep 05, 2008 6:01 am; edited 2 times in total
Back to top
View user's profile Send private message
enkil
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 110
Location: Malibu, CA

PostPosted: Thu Sep 04, 2008 5:00 am    Post subject: Reply with quote

Isn't this a PCI-E card? You don't need any AGP-related stuff in that case. Make sure not to compile the kernel DRM. You do have nvidia in VIDEO_CARDS? Make sure the opengl implementation is set to nvidia and not to xorg-x11 (eselect opengl list/set)
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1130
Location: Berlin/Germany

PostPosted: Thu Sep 04, 2008 6:10 am    Post subject: Reply with quote

Hi,

hows your setup in the dri section. does it look like this:
Code:

Section "DRI"
       Mode 0666
EndSection


or lik this:
Code:

Section "DRI"
       Group "video"
       Mode 0660
EndSection


Does it work as root?

bb
_________________
1st: Core2Duo E8400, 8GB, 300GB, Radeon X1950CF
2nd: Athlon X2 BE-2300, 2GB, 500GB, Radeon HD4350
3rd: Thinkpad T61, Core2Duo 2.2GHz, 2GB, 160GB, Quadro NVS
4th: Thinkpad R40e, Pentium 4 M 1.8GHz, 1GB, 160GB, IGP320M
5th: Atom 230, 2GB, 160GB, GMA950
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 7699
Location: Ste-Foy,Canada

PostPosted: Thu Sep 04, 2008 6:18 am    Post subject: Reply with quote

Hi, first can you post this :

Code:

# emerge --info
# equery list nvidia
$ groups

_________________
Sysadmin of Gentoo-Québec.org
Signature
IRC channel on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
clattuc
n00b
n00b


Joined: 19 Apr 2002
Posts: 57

PostPosted: Thu Sep 04, 2008 6:51 am    Post subject: Reply with quote

Wow - thanks for all the responses!

d2_racing wrote:
Hi, first can you post this :

Code:

# emerge --info
# equery list nvidia
$ groups


Certainly:

The requested info:

Code:

edwin@glawen ~ $ emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: 2.6.26-gentoo-r1 i686 Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz
Timestamp of tree: Tue, 02 Sep 2008 10:46:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="hda-intel"
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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
ARCH="x86"
AUTOCLEAN="yes"
CAMERAS="canon"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -msse3 -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORFGBG="15;0"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-march=prescott -O2 -pipe -msse3 -fomit-frame-pointer -mno-tls-direct-seg-refs"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-LSop1M19Di,guid=edb33fffd43e91de7e6475c348bfc92e"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --tree"
EMERGE_WARNING_DELAY="10"
FEATURES="autoaddcvs ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7-r2/html"
FRACTDIR="/usr/share/xfractint"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
GRASS_LD_LIBRARY_PATH="/usr/grass62/lib"
GTK_IM_MODULE="scim"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HG="/usr/bin/hg"
HOME="/home/edwin"
HUSHLOGIN="FALSE"
IDEA_JDK="/opt/sun-jdk-1.6.0.07"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info"
INPUT_DEVICES="keyboard mouse synaptics"
JAVAC="/home/edwin/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVA_HOME="/home/edwin/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/edwin/.gentoo/java-config-2/current-user-vm"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KDEWM="beryl-manager"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="en_GB.UTF-8"
LD_LIBRARY_PATH="/usr/lib/xorg"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBGL_DRIVERS_PATH="/usr/lib/dri"
LINGUAS="en en_GB nl"
LOGNAME="edwin"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAIL="/var/mail/edwin"
MAKEOPTS="-j3"
MANPATH="/home/edwin/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/opt/sun-jdk-1.4.2.18/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/usr/share/postgresql-8.3/man:/usr/share/postgresql-8.2/man"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/home/edwin/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.18/bin:/opt/sun-jdk-1.4.2.18/jre/bin:/opt/sun-jdk-1.4.2.18/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/sbin:/usr/sbin:/home/edwin/.local/bin:/home/edwin/opt/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IUSE="^(alpha|alsa_cards_aoa|alsa_cards_aoa-fabric-layout|alsa_cards_aoa-onyx|alsa_cards_aoa-soundbus|alsa_cards_aoa-soundbus-i2s|alsa_cards_aoa-tas|alsa_cards_aoa-toonie|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_harmony|alsa_cards_powermac|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|altivec|amd64|aqua|arm|bmp|bmpx|bootstrap|build|coreaudio|crosscompile_opts_.*|elibc_.*|elibc_Darwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|elibc_OpenBSD|elibc_glibc|elibc_uclibc|emul-linux-x86|hppa|ia64|ibm|infopipe|kernel_.*|kernel_Darwin|kernel_FreeBSD|kernel_linux|m68k|mips|mplayer-bin|multilib|n32|n64|pam_console|pbbuttonsd|ppc|ppc64|ppcsha1|s390|selinux|sh|sparc|sparc-fbsd|uclibc|ultra1|userland_.*|userland_BSD|userland_Darwin|userland_GNU|video_cards_impact|video_cards_newport|video_cards_sunbw2|video_cards_suncg14|video_cards_suncg3|video_cards_suncg6|video_cards_sunffb|video_cards_sunleo|video_cards_suntcx|vis|x86|x86-fbsd|xmms)$"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_USE="elibc_glibc kernel_linux userland_GNU x86"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kdesvn-portage /usr/portage/local/other"
PRELINK_PATH_MASK="/usr/lib/klibc"
PWD="/home/edwin"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
QT_IM_MODULE="scim"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.18/bin:/opt/sun-jdk-1.4.2.18/jre/bin:/opt/sun-jdk-1.4.2.18/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
SHELL="/bin/bash"
SHLVL="4"
SSH_AGENT_PID="27902"
SSH_AUTH_SOCK="/tmp/ssh-JXuVd27901/agent.27901"
STAGE1_USE="nptl nptlonly unicode"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X acl acpi alsa berkdb cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox foomaticdb fortran gdbm gif glitz hal hdaps iconv immqt-bc isdnlog jpeg ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session source spell spl sse sse2 ssl svg tcpd tiff truetype unicode usb vorbis wifi win32codecs x86 xinerama xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau"
USER="edwin"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia nouveau"
VMHANDLE="sun-jdk-1.4"
WINDOWID="20971526"
WINDOWPATH="7"
XAUTHORITY="/home/edwin/.Xauthority"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
XDG_SESSION_COOKIE=""
XERCESC_NLS_HOME="/usr/share/xerces-c/msg"
XMODIFIERS="@im=SCIM"
_="/usr/bin/emerge"


Code:

edwin@glawen ~ $ equery list nvidia
[ Searching for package 'nvidia' in all categories among: ]
 * installed packages
[I--] [ ~] media-video/nvidia-settings-177.70 (0)
[I--] [ ~] x11-drivers/nvidia-drivers-177.70 (0)


Code:

edwin@glawen ~ $ groups
tty disk lp wheel uucp audio cdrom sshd video games cdrw apache usb users lpadmin portage edwin hsqldb plugdev bioapi wiki fingerprint sobexsrv vboxusers gis
Back to top
View user's profile Send private message
clattuc
n00b
n00b


Joined: 19 Apr 2002
Posts: 57

PostPosted: Thu Sep 04, 2008 6:52 am    Post subject: Reply with quote

bbgermany wrote:
Hi,

hows your setup in the dri section. does it look like this:
Code:

Section "DRI"
       Mode 0666
EndSection


or lik this:
Code:

Section "DRI"
       Group "video"
       Mode 0660
EndSection


Does it work as root?

bb


Actually, I didn't have that section at all - it doesn't seem to matter, though. I tried both variations - no difference (i.e., no dri)
And no, it doesn't work as root.
Back to top
View user's profile Send private message
clattuc
n00b
n00b


Joined: 19 Apr 2002
Posts: 57

PostPosted: Thu Sep 04, 2008 6:57 am    Post subject: Reply with quote

enkil wrote:
Isn't this a PCI-E card? You don't need any AGP-related stuff in that case. Make sure not to compile the kernel DRM. You do have nvidia in VIDEO_CARDS? Make sure the opengl implementation is set to nvidia and not to xorg-x11 (eselect opengl list/set)

Yeah, I think you're right - it's a PCI-I card. I'm now running a kernel without any AGP stuff (and there wasn't any DRM in the kernel to begin with). VIDEO_CARDS="nvidia", and the opengl implementation is set to nvidia. (When I start X the nvidia GLX module is loaded & initialized correctly - I don't think it does that when the opengl impl is set to xorg):
Code:

(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "true"
(**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU Quadro FX 570M (G84GL) at PCI:1:0:0 (GPU-0)

and:
Code:

edwin@glawen ~ $ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 7699
Location: Ste-Foy,Canada

PostPosted: Thu Sep 04, 2008 12:14 pm    Post subject: Reply with quote

Hi, can you post your /etc/X11/xorg.conf plz
_________________
Sysadmin of Gentoo-Québec.org
Signature
IRC channel on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 7874
Location: Córdoba (Spain)

PostPosted: Thu Sep 04, 2008 12:21 pm    Post subject: Reply with quote

clattuc wrote:

Code:

edwin@glawen ~ $ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


Even if it reports the correct driver, did you actually try to set it again?

It sometimes gets messed in strange ways.
_________________
Formerly known as 6thpink.
Gentoo Handbook | My home | My rock band
Back to top
View user's profile Send private message
clattuc
n00b
n00b


Joined: 19 Apr 2002
Posts: 57

PostPosted: Fri Sep 05, 2008 1:52 am    Post subject: Reply with quote

i92guboj wrote:

Even if it reports the correct driver, did you actually try to set it again?

It sometimes gets messed in strange ways.


Ok, I tried that (actually, I unmerged the nvidia driver, checked the symlinks, emerged nvidia-drivers, re-set opengl to nvidia)
Now I've got something interesting: xdriinfo has a different errormsg: instead of "Screen .0:0 isn't dri capable" it now says "libGL is too old". Hmmm...
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 7874
Location: Córdoba (Spain)

PostPosted: Fri Sep 05, 2008 2:31 am    Post subject: Reply with quote

clattuc wrote:
i92guboj wrote:

Even if it reports the correct driver, did you actually try to set it again?

It sometimes gets messed in strange ways.


Ok, I tried that (actually, I unmerged the nvidia driver, checked the symlinks, emerged nvidia-drivers, re-set opengl to nvidia)
Now I've got something interesting: xdriinfo has a different errormsg: instead of "Screen .0:0 isn't dri capable" it now says "libGL is too old". Hmmm...


It seems there's some lib funkiness in your system. Did you install the nvidia drivers in the past manually? That would explain things like this one. If I were you I would start hunting libGL's in your system and delete all the related stuff (back it up, just in case). Once there's no other libGL in your system, re-install the nvidia-drivers package using the ebuild and try again.
_________________
Formerly known as 6thpink.
Gentoo Handbook | My home | My rock band
Back to top
View user's profile Send private message
clattuc
n00b
n00b


Joined: 19 Apr 2002
Posts: 57

PostPosted: Fri Sep 05, 2008 6:00 am    Post subject: Reply with quote

i92guboj wrote:

It seems there's some lib funkiness in your system. Did you install the nvidia drivers in the past manually? That would explain things like this one. If I were you I would start hunting libGL's in your system and delete all the related stuff (back it up, just in case). Once there's no other libGL in your system, re-install the nvidia-drivers package using the ebuild and try again.


No, I only installed from portage, but your seek-and-destroy suggestion worked! I unmerge/manually deleted all opengl-related libs & symlinks, and re-emerged all relevant gl-packages and the nvidia-drivers - and lo! DRI is mine. Nice.

Incidentally, xdriinfo lies: it keeps complaining about a too old libGL. glxinfo says 'direct rendering: Yes', and glxgears works as well.

So, in summary - for anyone else reading:

Thinkpad T61p, built-in Nvidia Quadro 570M, *don't* include drm in kernel, *no* AGP in kernel, *no* DRI section needed in xorg.conf. dri works (check with nvidia-settings, and glxinfo), xdriinfo lies...
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 7699
Location: Ste-Foy,Canada

PostPosted: Fri Sep 05, 2008 6:22 am    Post subject: Reply with quote

Nice to know that :P
_________________
Sysadmin of Gentoo-Québec.org
Signature
IRC channel on Freenode : #gentoo-quebec
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 - 5 Hours
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