Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Flicker's and X using nvidia drivers
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
Esben
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 244
Location: Copenhagen/Denmark

PostPosted: Tue Aug 27, 2002 9:17 pm    Post subject: Flicker's and X using nvidia drivers Reply with quote

Hi,

can't seem to solve this one:

When using the nvidia driver for my AOpen MX440 Geforce 4 card, the X-server behaves really strangely during startup. First it sort of flickers for a while, then it shows the nvidia logo, and then it proceedes to show a garbled (almost melted) screen. Can't kill it at this point; nor can I switch to another terminal with e.g. ctrl-alt-f1. If I hit ctrl-alt-del, the screen changes (but is still garbled.) Hitting the three-finger salute a couple times more reboots the machine.

Now if I disable glx(?!) then it behaves identically until the nvidia logo, then proceeds to the login prompt. From there it works; except if I try to change back to text-mode (e.g. alt-ctrl-f1, shutdown, etc.) Then it does it's garbled stunt again.

Looking at the XF86 log, everything seem normal, except a warning about beeing unable to read a Exxx from the monitor. I suppose that could account for the flickering (windows does a bit of this too, though not as severe) but it certainly doesn't account for the garbling of the display. And why should the glx module effect the "normal" (non-3D) login prompt?

I tried to disable AGP, which was ack in the log. However, the symnptons was unchanged...

As TeX is wont to put it, stymied.

Puuuhleaase :roll:? Could anyone help me? I might just be willing to scrap the entire installation and try over, if I thought that would help. It's certainly useless now.. and me with open bugs in bugzillla :O)

P.S: I can try to post the XF86*log if anyone thinks that would help, but it's a couple of pages.

P.P.S: I installed nvidia's drivers from nvidia webpage before discovering the e-builds. Could that be the culprit? I did a make clean when rebuilding the kernel and modules, but still...
_________________
regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
noalavida
n00b
n00b


Joined: 28 Aug 2002
Posts: 17
Location: Madrid, Spain (Europe)

PostPosted: Wed Aug 28, 2002 2:56 am    Post subject: Reply with quote

I've exactly the same problem. I've probed a lot of configurations and different kernels compilation. I download the Nvidia drivers with emerge and now i'm reinstalling all another time. My next step will be to use a older nvidia drivers downloaded form the nvidia page. My graphics card is a Leadtek GeForce 2MX. All my investigations make me think the problem is with the opengl libraries, but i've probed so many things that in this point i don't know what to do.
So time ago i used a Mandrake distribution and the drivers worked ok, so i could play opengl games, so i think is very probable that the bug is caused by an incompability betwenn latest nvidia drivers and the xfree 4.2.? os caused by a bad option in compiling time of the xfree.
This is all i can say you, but i'll continue investigating. If you solve the problem, please tell me how.
Back to top
View user's profile Send private message
voidzero
Bodhisattva
Bodhisattva


Joined: 21 Jul 2002
Posts: 265
Location: Grnn

PostPosted: Wed Aug 28, 2002 7:03 am    Post subject: Reply with quote

This helped for me:
Code:
# opengl-update nvidia


and edit /etc/X11/XF86Config. Make sure your videocard-driver is nvidia, not nv! :)

Also you can play around with these options (they have to be in your "Device"-section):
Option "NvAgp" "1"
Option "CursorShadow" "1"
Option "NoLogo" "0"

Hope it helps.
Mark
Back to top
View user's profile Send private message
nicogo
n00b
n00b


Joined: 28 Aug 2002
Posts: 2

PostPosted: Wed Aug 28, 2002 5:45 pm    Post subject: Reply with quote

*Maybe* (no guarantees) I can help. I have a VisionTek GeForce 2 MX card which I originally set up under Slackware, and now use with Gentoo. I'm using the latest nVidia drivers there are ebuilds for (1.0.2960) and XFree 4.2, so there doesn't seem to be a conflict there.

I've always had trouble getting a working XF86Config (I wrote one from scratch under Slackware), but the following technique seems to work for me:

First, obviously, make sure you've installed the nVidia drivers. I recommend emerging them so they end up in the appropriate paths.

Then run the following from a console (with no X server running) as root:
Code:

# X -configure

After a bit of screen flashing, this creates a file named XF86Config.new under the current directory.

You should now edit this file following the instructions in /usr/share/doc/nvidia-glx-1.0.2960-r1/README.gz. For the impatient: be sure to remove the line from the "Module" section that loads dri, and make sure that, under the "Device" section you see the line:
Code:

        Driver        "nvidia"

If you don't see this line (you see "nv" or something instead of "nvidia"), then it appears that the driver isn't installed in one of X's expected paths.

The X -configure command should also include a good number of commented-out option lines in the "Device" section, so you can see what options are available. I've always set "NvAGP" to "2", to use the kernel agpgart interface---I don't remember if the nVidia interface works. Make sure that agpgart is compiled in or that the module is loaded.

Set up the keyboard and mouse sections properly.

Finally, make a backup of your current /etc/X11/XF86Config file and copy the new one there.

Make sure you run (as root):
Code:

# opengl-update nvidia

so that X will load the appropriate GLX library.

Alternatively, you could create the XF86Config.new file as above, then use it as a reference to compare to your current XF86Config.

Hope this helps---if it still doesn't work, at least we'll be comparing results from approximately the same XF86Config setup.
Back to top
View user's profile Send private message
voidzero
Bodhisattva
Bodhisattva


Joined: 21 Jul 2002
Posts: 265
Location: Grnn

PostPosted: Wed Aug 28, 2002 5:53 pm    Post subject: Reply with quote

that pretty much says what I said.
Back to top
View user's profile Send private message
noalavida
n00b
n00b


Joined: 28 Aug 2002
Posts: 17
Location: Madrid, Spain (Europe)

PostPosted: Thu Aug 29, 2002 5:38 pm    Post subject: A solution Reply with quote

Finally i've get to put the nvdia drivers working on. The solution is to use the previous version of the drivers , that is, th 1.0-2880. With this drivers i've no problem.
Back to top
View user's profile Send private message
Esben
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 244
Location: Copenhagen/Denmark

PostPosted: Thu Aug 29, 2002 7:09 pm    Post subject: finally recompiled Reply with quote

I tried finally reinstalled the whole thing after trying out the all the advice posted here (except the last one, started recompiling before I saw that one.) I now believe that it is related to using the xfs-*-sources instead of the gentoo-sources, since now both the eepro100 drivers (for my netcard) and nvidia works. Or perhaps I had configured my kernel to oblivion.

Well, everything works now except that the X-server still takes forever to figure out the right resolution... but I can live with that.

Now to find out why kde can't seem to see any users but root. The ought to be an easy one to solve, comparatively :O)

Thank you guy for your help. It appreciated more than I can tell...

Wish these groups were carried as newgroups... but I digress.
_________________
regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
kyron
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 198
Location: Montreal, Qc.

PostPosted: Thu Aug 29, 2002 7:23 pm    Post subject: Re: finally recompiled Reply with quote

Esben wrote:
Now to find out why kde can't seem to see any users but root. The ought to be an easy one to solve, comparatively :O)


KDE Kontrol center --> there is a utility to configure your KDM, this is where you shoose which users are seen when logging on...

(sorry for vague details on the whereabouts of the KDE control center applet, not on my system right now)
_________________
M$ Windows: When in doubt, REBOOT
Linux: When in doubt, RTFM ;-)
Back to top
View user's profile Send private message
Esben
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 244
Location: Copenhagen/Denmark

PostPosted: Thu Aug 29, 2002 7:46 pm    Post subject: Re: finally recompiled Reply with quote

kyron wrote:
Esben wrote:
Now to find out why kde can't seem to see any users but root. The ought to be an easy one to solve, comparatively :O)


KDE Kontrol center --> there is a utility to configure your KDM, this is where you shoose which users are seen when logging on...

(sorry for vague details on the whereabouts of the KDE control center applet, not on my system right now)


Ah. That is the dialog/screen where my new user fail to show up. :-( I must be missing something...

(To any users listening in, that would be Control Center->System->Login Manager->Users(tab). There's three panels with usernames like "cron", "postmaster", "root" --- but my new users aren't there :-/ The KUser program does find the new users, so /something/ is preventing the users from showing...)
_________________
regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
Esben
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 244
Location: Copenhagen/Denmark

PostPosted: Thu Aug 29, 2002 8:21 pm    Post subject: Reply with quote

Misssing shell script AND saving the setup did the trick. Thanks :-)

Now only the flickering at startup remains. I will work on that... later! :O)
_________________
regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
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