Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135528 - nvidia-glx-1.0.8762 works with xorg-server-1.1.0
Summary: nvidia-glx-1.0.8762 works with xorg-server-1.1.0
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
: 136498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-04 09:03 UTC by Mike Doty (RETIRED)
Modified: 2006-07-16 07:59 UTC (History)
17 users (show)

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


Attachments
patch to ebuild (nvidia-glx.diff,673 bytes, patch)
2006-06-04 09:05 UTC, Mike Doty (RETIRED)
Details | Diff
Screenshot with missing fonts (Screenshot3.png,153.97 KB, image/png)
2006-06-05 15:31 UTC, Alexandru Thomae
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Doty (RETIRED) gentoo-dev 2006-06-04 09:03:55 UTC
got a bad RDEPEND in media-video/nvidia-glx.  it mistakingly blocks on >=xorg-server-1.0.99 and it should instead block on ~xorg-server-1.0.99.  attached is a diff to the ebuild.

This has been tested buy a couple of amd64 devs now...
Comment 1 Mike Doty (RETIRED) gentoo-dev 2006-06-04 09:05:15 UTC
Created attachment 88354 [details, diff]
patch to ebuild
Comment 2 Gerald Normandin (RETIRED) 2006-06-04 09:07:51 UTC
I've been able to sucessfully test running nvidia-glx on xorg-server-1.0.99 as well...
Comment 3 Gerald Normandin (RETIRED) 2006-06-04 09:11:04 UTC
hmm, that should have read 1.1.0
Comment 4 Mike Doty (RETIRED) gentoo-dev 2006-06-04 09:40:10 UTC
seems we don't have any xorg-server-1.0.99 anymore, so the DEPEND can probably be dropped altogether.  people have told me that spyderous has said that the combination of nvidia-glx and xorg-server will have some font issues, but myself, flameeyes, and gerrynjr(xfce4, KDE, and gnome) have tested and not noticed any font issues.  If anything my fonts look better.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-04 09:43:06 UTC
Sorry I haven't tested yet, I'm going to (always if I'm able to get evdev working as without it my keyboard goes on strike).
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2006-06-04 10:53:37 UTC
(In reply to comment #0)
> got a bad RDEPEND in media-video/nvidia-glx.  it mistakingly blocks on
> >=xorg-server-1.0.99 and it should instead block on ~xorg-server-1.0.99. 
> attached is a diff to the ebuild.

The RDEPEND is there because I was under the impression that none of the ATI or nVidia drivers currently worked with the new xorg-server (1.0.99 or 1.1).  Does only 8762 work, or was the ABI of -server restored so that more of the nVidia drivers work?

Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-04 11:10:09 UTC
the server warns a lot about the different ABI, that's true.

I can confirm that KDE fonts looks fine, too, at least the TrueType ones. As I didn't set up KDM correctly, it still uses default fonts (bitmap) that are a bit flakey... _maybe_ because of the driver (can't tell if it's again a problem with -Bdirect for what I know).
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-06-04 11:30:10 UTC
Well, the blocker was put into place due to at least some of the binary drivers causing the server to crash.  If it seems to mostly work, feel free to remove it on the appropriate drivers.
Comment 9 kaouete 2006-06-04 12:59:11 UTC
Hi,

here media-video/nvidia-glx-1.0.7174-r5 works perfectly well with xorg-server-1.1 too.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-05 02:20:15 UTC
I can confirm again the problem with _bitmap_ fonts (KDE without configured fonts on Gentoo/FreeBSD).
Comment 11 George Shammas 2006-06-05 07:20:44 UTC
I seem to have disapearing text, or text that is being with stright lines. But X is having no problems starting.... I am using the latest nvidia driver. The text will reapear if I select it with the mouse (ctrl+a will select it, but it stays invisable). A bit odd to me. Not sure what to do here now.....
Comment 12 Mike Doty (RETIRED) gentoo-dev 2006-06-05 07:23:29 UTC
(In reply to comment #11)
> I seem to have disapearing text, or text that is being with stright lines. But
> X is having no problems starting.... I am using the latest nvidia driver. The
> text will reapear if I select it with the mouse (ctrl+a will select it, but it
> stays invisable). A bit odd to me. Not sure what to do here now.....
> 

I suppose you're using bitmap fonts, which seems to be the problem.
X11 Team: I guess we should leave the blocker in until the bitmap font bug is fixed.  Any thought on whose bug it is?
Comment 13 Alexandru Thomae 2006-06-05 07:49:36 UTC
This is a nvidia bug.

See http://www.nvnews.net/vbulletin/showpost.php?p=895476&postcount=10 for details.

Appears that version 8762 does not support version 1.0 of the xorg video driver ABI
Comment 14 George Shammas 2006-06-05 07:58:25 UTC
Well if bitmap fonts are the only problem... Couldn't we switch to non bitmap fonts... Although I am not sure how I would do that, as I don't know font names all that well..

Also I have to agree that it is a nvidia problem as it created my xorg.conf file which has the fonts I use there... So if bitmap is the problem then it told it to do it.....
Comment 15 Kelly Price 2006-06-05 09:25:34 UTC
Question for the bug:  Is it possible to configure xorg-server to use the old ABI in lieu of a supportive nvidia-glx?  Maybe some backwards compatibility glue?
Comment 16 Alexandru Thomae 2006-06-05 09:32:31 UTC
I also experience crashes when running glx apps. For example, glxgears crashes every time the local X server (remote clients remain logged on). I have tried every possible method listed on the nvidia messageboard, changed every setting font, modules and/or nvidia driver related in xorg.conf.

BTW, I've only last night upgraded to gcc 4.1.1 and kde is with the new kdehiddenvisibility emerged (also upgraded during the night from 3.5.2).

The errors in .xsession-errors:

X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  159
  Minor opcode:  6
  Resource id:  0x67
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  159
  Minor opcode:  6
  Resource id:  0x67
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x26010c8
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x12004a5
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x1200405
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepAboveChanged(bool)
QMetaObject::findSignal:smoothblend::smoothblendClient: Conflict with KDecoration::keepBelowChanged(bool)
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  159
  Minor opcode:  6
  Resource id:  0x67

My emerge --info:
tlex@hogin ~ $ emerge --info
Portage 2.1_rc4-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9-syko i686)
=================================================================
System uname: 2.6.16-gentoo-r9-syko i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -ffast-math -funroll-all-loops -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -ffast-math -funroll-all-loops -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache keepwork metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gts.lug.ro/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en ro"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X aac aalib acl acpi aim alsa apm audiofile avi bash-completion berkdb bindinst bitmap-fonts browserplugin bzip2 cdparanoia cdr cli crypt cups curl curlwrappers dga dio directfb dlloader dv dvb dvd dvdr dvdread eds emboss encode fbcon fdftk ffmpeg firefox flash foomaticdb fortran ftp gd gdbm ghoto2 gif glut gpm gtk2 iconv icq imagemagick imap imlib isdnlog jabber javascript jikes jpeg jpeg2k kde kdehiddenvisibility kdexdeltas libg++ libwww lm_sensors mad memlimit mikmod mime ming mmx mng motif mp3 mpeg msn musicbrainz mysqli ncurses nls nptl nptlonly nsplugin nvidia offensive ogg openexr opengl oscar pam pcre pdf pdflib perl php png pppd python qt qt4 quicktime readline reflection rtc sasl scanner sdl session slp smime smp sockets sox speex spell spl sse sse2 ssl svg tcltk threads tiff truetype truetype-fonts type1-fonts udev usb userlocales v4l vcd videos vorbis win32codecs wmf xcomposite xml xml2 xmms xorg xosd xpm xprint xrandr xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_ro userland_GNU video_cards_nvidia video_cards_sis"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Alexandru Thomae 2006-06-05 09:37:16 UTC
Ahm... you can forget about my last post... It was my bad not to doublecheck the eselect opengl setting
Comment 18 Ben Ford 2006-06-05 15:16:37 UTC
(In reply to comment #13)
> This is a nvidia bug.
> 
> See http://www.nvnews.net/vbulletin/showpost.php?p=895476&postcount=10 for
> details.
> 
> Appears that version 8762 does not support version 1.0 of the xorg video driver
> ABI
> 

Think you could have posted a link to the workaround instead?
  http://www.nvnews.net/vbulletin/showpost.php?p=895534&postcount=13

Or even better, the whole thread?
  http://www.nvnews.net/vbulletin/showthread.php?s=925b3fdc733d711866450de23a44c4ac&p=895476#post895476
Comment 19 Alexandru Thomae 2006-06-05 15:22:14 UTC
Sorry, tested that but firefox still doesn't display 50% of the text on webpages (allthough now I see some of the fonts in kde). So, for me this isn't really a workaround, but only half of it.
Comment 20 Alexandru Thomae 2006-06-05 15:31:23 UTC
Created attachment 88481 [details]
Screenshot with missing fonts

You can see here how it looks like with the option "RenderAccel" set to "False" in xorg.conf.
Comment 21 Brad Allen 2006-06-07 12:13:56 UTC
(In reply to comment #11)
> I seem to have disapearing text, or text that is being with stright lines. But
> X is having no problems starting.... I am using the latest nvidia driver. The
> text will reapear if I select it with the mouse (ctrl+a will select it, but it
> stays invisable). A bit odd to me. Not sure what to do here now.....
> 

There was a fix to that somewhere in Gentoo site that did not involve nvidia-glx.  I found the fix and did it.  Sorry that I did not save it.  It is not an nvidia-glx problem.  Meanwhile this block has my system borked, so I have to unblock it ...
Comment 22 Brad Allen 2006-06-07 14:16:20 UTC
(In reply to comment #21)
> (In reply to comment #11)
> > I seem to have disapearing text, or text that is being with stright lines. But
> > X is having no problems starting.... I am using the latest nvidia driver. The
> > text will reapear if I select it with the mouse (ctrl+a will select it, but it
> > stays invisable). A bit odd to me. Not sure what to do here now.....
> > 
> 
> There was a fix to that somewhere in Gentoo site that did not involve
> nvidia-glx.  I found the fix and did it.  Sorry that I did not save it.  It is
> not an nvidia-glx problem.  Meanwhile this block has my system borked, so I
> have to unblock it ...
> 

Boo!  After writing this reply and getting nvidia-glx back with an overlay which omits the block (to reinstall nvidia-glx which I had working for months until a few hours before when I specutively unmerged it to try to bypass the block until I found it), for the first time in months, I have the disappearing text problem again.  The workaround mentioned above of putting:

  Option "RenderAccel" "false"

in appropriate /etc/X11/xorg.conf Device or Screen section(s) as described in /usr/share/doc/nvidia-glx-1.0.8762/README.gz is temporarily working, but this is NOT the fix I remember reading about when I originally fixed this disappearing text problem a few months ago.  I thought it was something like emerging the correct version of xorg-x11 (Modular X) that fixed it.  Does anybody else remember this original fix?

Anyway, so we wait for yet another bug to be squashed.
Comment 23 Alexandru Thomae 2006-06-07 14:27:03 UTC
(In reply to comment #22)

> Boo!  After writing this reply and getting nvidia-glx back with an overlay
> which omits the block (to reinstall nvidia-glx which I had working for months
> until a few hours before when I specutively unmerged it to try to bypass the
> block until I found it), for the first time in months, I have the disappearing
> text problem again.  The workaround mentioned above of putting:
> 
>   Option "RenderAccel" "false"
> 
> in appropriate /etc/X11/xorg.conf Device or Screen section(s) as described in
> /usr/share/doc/nvidia-glx-1.0.8762/README.gz is temporarily working, but this
> is NOT the fix I remember reading about when I originally fixed this
> disappearing text problem a few months ago.  I thought it was something like
> emerging the correct version of xorg-x11 (Modular X) that fixed it.  Does
> anybody else remember this original fix?
> 
> Anyway, so we wait for yet another bug to be squashed.
> 

The attached screenshot is with "RenderAccel" "False" in xorg.conf. I had to switch to the previous xorg version to be able to work again...

Tested with subpixel hinting (from Full to None), tested with "ADDARGBGLXVisuals" "false" and with Option "Composite" "Disable" (all at the same time and each separate). There was still nothing to see in the "Fonts" subsection in Control Panel, when selected Courier. The fonts on php.net were still missing (and our TT-system, that has a font-family: Helvetica devinition appeared to me only with colors, but no text, in both Firefox and Konqueror).
Comment 24 Alexandru Thomae 2006-06-07 14:29:10 UTC
(In reply to comment #23)
> (In reply to comment #22)
> 
> > Boo!  After writing this reply and getting nvidia-glx back with an overlay
> > which omits the block (to reinstall nvidia-glx which I had working for months
> > until a few hours before when I specutively unmerged it to try to bypass the
> > block until I found it), for the first time in months, I have the disappearing
> > text problem again.  The workaround mentioned above of putting:
> > 
> >   Option "RenderAccel" "false"
> > 
> > in appropriate /etc/X11/xorg.conf Device or Screen section(s) as described in
> > /usr/share/doc/nvidia-glx-1.0.8762/README.gz is temporarily working, but this
> > is NOT the fix I remember reading about when I originally fixed this
> > disappearing text problem a few months ago.  I thought it was something like
> > emerging the correct version of xorg-x11 (Modular X) that fixed it.  Does
> > anybody else remember this original fix?
> > 
> > Anyway, so we wait for yet another bug to be squashed.
> > 
> 
> The attached screenshot is with "RenderAccel" "False" in xorg.conf. I had to
> switch to the previous xorg version to be able to work again...
> 
> Tested with subpixel hinting (from Full to None), tested with
> "ADDARGBGLXVisuals" "false" and with Option "Composite" "Disable" (all at the
> same time and each separate). There was still nothing to see in the "Fonts"
> subsection in Control Panel, when selected Courier. The fonts on php.net were
> still missing (and our TT-system, that has a font-family: Helvetica devinition
> appeared to me only with colors, but no text, in both Firefox and Konqueror).
> 

Forgot to say, this is what I now have in /etc/portage/package.mask:

tlex@hogin ~ $ cat /etc/portage/package.mask
=x11-base/xorg-server-1.1.0
=x11-base/xorg-x11-7.1
=x11-drivers/xf86-input-keyboard-1.1.0
=x11-drivers/xf86-video-sis-0.9.1
=x11-drivers/xf86-input-mouse-1.1.1

Comment 25 Mike Doty (RETIRED) gentoo-dev 2006-06-09 11:06:00 UTC
I'm going to close this for LATER until nvidia and xorg can play nicely together.  the patch removes the blocker for those who don't want/need support for bitmap fonts, but this shouldn't be considered a good idea.
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-06-12 00:09:48 UTC
*** Bug 136498 has been marked as a duplicate of this bug. ***
Comment 27 Antti Mäkelä 2006-06-12 01:59:08 UTC
I hope that this means that Xorg 7.0 will not vanish from the tree any time soon OR nvidia patches older driver versions, too..

It's just that last version of nvidia drivers that support Riva TNT cards is 1.0.7174, so if the fix is not backported then the last Xorg version that is usable with TNT cards will be 7.0.
Comment 28 Kelly Price 2006-06-12 14:51:04 UTC
(In reply to comment #27)
> I hope that this means that Xorg 7.0 will not vanish from the tree any time
> soon OR nvidia patches older driver versions, too..
> 
> It's just that last version of nvidia drivers that support Riva TNT cards is
> 1.0.7174, so if the fix is not backported then the last Xorg version that is
> usable with TNT cards will be 7.0.
> 

Unless you use the nv or vesa driver, and loose 3D capability.  Ether way, if you got one of these cards, and want to play say Second Life, you really should upgrade.