Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia+mplayer destroyed my X
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 11:47 am    Post subject: Nvidia+mplayer destroyed my X Reply with quote

Hey

I having some problems with my X-Windows and Nvidia.
I installed all the drivers and the Nvidia-kernel just as it said in the manual.
And it worked fine. But after I ran "mplayer -vo sdl -ao sdl" and then restarted my x-server 90 % of my screen was covered my a green color generated by the size of my mplayer-window.
I know its mplayer becaus when I got out of X into the console I saw this big green screencapture of that movie I watched blured out in a green color.
In my module section in my /etx/X11/XF86Config
I had ( Load "glx" )
And I used ( Driver "nvidia" )

So right now im using # Load "glx" and Driver "nv" because this works.

Can anyone help me solve this problem?
I've searched the forums already but I didn't find anything that could help me with this. :cry:

Would be very greatful
_________________
Gentoo
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Mon Jul 22, 2002 11:55 am    Post subject: Reply with quote

Try

Code:

mplayer -vo xv -ao sdl


See what that gives?

Are you using mplayer from portage (emerge mplayer) or the one from CVS (http://www.mplayerhq.hu)?
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 11:56 am    Post subject: Reply with quote

Im using the portage version (emerge mplayer), well i have tried using xv an x11, they didnt work very well, i got very few framed per seconds.
_________________
Gentoo
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 3:51 pm    Post subject: Reply with quote

I can also add that when i start X the logo for NVIDIA doesn't show anymore.
It did show up before i got this problem.

Anyone who can help me? :oops:
_________________
Gentoo
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Mon Jul 22, 2002 4:18 pm    Post subject: Reply with quote

your post said you are using th 'nv' driver. thats not the official nvidia one, and its a terrible driver, you need to use the real nvidia driver. emerge nvidia-glx nvidia-kernel and specify 'nvidia' in you xf86config instead of 'nv'
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Mon Jul 22, 2002 4:27 pm    Post subject: Reply with quote

metalhedd wrote:
your post said you are using th 'nv' driver. thats not the official nvidia one, and its a terrible driver, you need to use the real nvidia driver. emerge nvidia-glx nvidia-kernel and specify 'nvidia' in you xf86config instead of 'nv'


Yes, I agree. But that shouldn't prevent him from watching movies with mplayer. You don't need GLX for that, right?

Did you try

Code:

mplayer -vo xv -ao sdl


:?:
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 4:32 pm    Post subject: Reply with quote

Well , I used "nvidia" from the beginning, and i had Load "glx" uncommented.
And after i ran mplayer -vo sdl -ao sdl i got this green splash covering my screen everytime i started X.
SO i changed it to the kerneldefault "nv" and commendted # Load "glx" and now i dont get that big green splash covering my screen, but i cant use opengl in quake3 anymore and i cant watch divx fluid with mplayer.

I want to use "nvidia" again but my X iw all green ,even when i ctrl+alt+backspace out into the console.
_________________
Gentoo
Back to top
View user's profile Send private message
Mike1Ski
n00b
n00b


Joined: 22 Jul 2002
Posts: 1

PostPosted: Mon Jul 22, 2002 4:57 pm    Post subject: Reply with quote

:) Sounds Like a bad problem.
Back to top
View user's profile Send private message
silente
n00b
n00b


Joined: 18 Jul 2002
Posts: 12
Location: Arizona

PostPosted: Mon Jul 22, 2002 5:34 pm    Post subject: kdm? Reply with quote

are you using kdm because a while back when i used suse I had a similar problem. whenever I would use kdm in combination with an nvidia driver i could log on just fine but once I logged out I could no longer switch to a console without seeing thick green stripes. it was the older version of kdm however and since going to gentoo I have not noticed any such errors. But sitll I think that it is a glitch in the nvidia drivers.
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 6:06 pm    Post subject: Reply with quote

Well I am using XDM, but as you sais i aslo see green stripes , even in my consoles.
_________________
Gentoo
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Mon Jul 22, 2002 7:01 pm    Post subject: Reply with quote

after reading this thread i emerged mplayer just to see what would happen.

i am using a geforce4 with the nvidia driver and kdm and mplayer works fine...although lots of the features arent available yet..but thats another issue.

did you read the instructions after the ebuild finished and run this as user after you ran mplayer once:

echo "vo = xv" >~/.mplayer/config

echo "gui = 1" >>~/.mplayer/config
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 7:31 pm    Post subject: Reply with quote

Yes
_________________
Gentoo
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Mon Jul 22, 2002 8:40 pm    Post subject: Reply with quote

have you tried re-emerging the nvidia kernel and glx, editing your xf86config file making sure to uncomment glx and replacing 'nv' with 'nvidia'...as for your nnot seeing the nvidia logo screen when x is starting that is because you changed the driver you were using in your xf86config file back to 'nv' so that would be normal.

after you do this see try using mplayer again and if it runs pooorly or crashes see if anything is saved to the log file for xf86
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 9:18 pm    Post subject: Reply with quote

As you said, i unmerged nvidia kernel and glx, and then re-emerged it.
And changed my xf86config to nvidia and uncommented the glx part.
And finally i got in everything was going good so far. Opened mplayer with
Code:
 mplayer -vo x11 -ao sdl


And then I restarted my X-server and the same error again, the _whole_ screen was green now. Due to my fullscreen mode in mplayer.

Very weird, hopy you guys who know alot are willing to help me here :cry:
So right now i'm back in fluxbox with the default driver xfree is using ( nv)
_________________
Gentoo
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Mon Jul 22, 2002 9:26 pm    Post subject: Reply with quote

what happens when you just run type at the command line type 'mplayer' with out those options...thats all i am doing and it works fine.
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Mon Jul 22, 2002 9:28 pm    Post subject: Reply with quote

Well my problem is that i cant use my X properly with all that green shit all over it.
mplayer itself works fine . the first time i havent had the access to try it a second time because of the green screen :roll:
_________________
Gentoo
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Mon Jul 22, 2002 9:47 pm    Post subject: Reply with quote

dude i'm sorry , i've been wasting your time...i thought it wasnt working...like crashing your x server...mplayer does the same for me...i have to right click on the screen and select minimize to get back to x.

but if i choose to play anything it again opens full screen, then i can adjust the screen size again by right clicking anf selecting an option and then it reduces to a single window where my desktop is again viewable.

maybe this is a limitation of the current ebuild version of mplayer....most of the options including the prefferences button are still under developement. could be the cvs version has better control.
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Tue Jul 23, 2002 6:19 am    Post subject: Reply with quote

Thanks anyway people.
I think I will try and use Xine instead and see if I get the same problem there.
_________________
Gentoo
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Tue Jul 23, 2002 10:21 pm    Post subject: Reply with quote

So. I tested to use Xine instead. But I got the same problem as before here is a screenshot when I restart my X-server after using mplayer or Xine: http://www.geocities.com/minken_haren/scrot.png

And my XF86Config
Code:
 Load "glx"
                                        Driver "nvidia"


Using vga=788 in my menu.lst

Running Pentium III 667 Mhz Abit SE6 Mobo and Nvidia TNT2
Gentoo 2.4.19-r7 kernel gentoo-sources.

Can anyone help me?

:cry:
_________________
Gentoo
Back to top
View user's profile Send private message
andee
n00b
n00b


Joined: 04 Jun 2002
Posts: 41

PostPosted: Tue Jul 23, 2002 10:44 pm    Post subject: Reply with quote

hi
Try to run mplayer like this:
mplayer -nogui -nofs -vo x11 -ao sdl your_file
-nofs means it doesn't start in fullscreen.
Back to top
View user's profile Send private message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Wed Jul 24, 2002 4:45 am    Post subject: Reply with quote

Shot in the dark: If you're using the riva128 framebuffer in the kernel it b0rks your entire system up quite nicely. Do you have problems switching between X and the consoles? When you leave X, does you have a really screwed up cursor?

I had these symptons for a while, along with the big green band across the screen whenever I used mplayer. They all suddenly went away when I stopped using the kernel's nvidia driver.
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Wed Jul 24, 2002 7:35 am    Post subject: Reply with quote

After i used mplayer or xine i got really weird colors when i switched from X to console. And back again too.
Get big lines across my screen yes. I rekompiled my kernel with VESA drivers for my console but shouldn't i use nvidia drivers instead?
_________________
Gentoo
Back to top
View user's profile Send private message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Thu Jul 25, 2002 5:17 am    Post subject: Reply with quote

I'm talking about the nvidia driver you get in the kernel- when you do 'make menuconfig' and go to the framebuffer drivers part. Don't use that nvidia driver- it sucks, and has nothing to do with nvidia corporation- use the normal VESA one. It screws everything up.

After you've compiled the kernel, do 'emerge nvidia-kernel' do install nvidia's nvidia driver.
Back to top
View user's profile Send private message
El-Loco
n00b
n00b


Joined: 22 Jul 2002
Posts: 22
Location: Höganäs, Sweden

PostPosted: Thu Jul 25, 2002 7:10 am    Post subject: Reply with quote

Im using VESA drivers for my console instead of Nvidias as you said :)
And I also uses Nvidia kernel, but isn't nvidia-glx necessary ?
_________________
Gentoo
Back to top
View user's profile Send private message
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Thu Jul 25, 2002 7:21 am    Post subject: Reply with quote

I have a similar problem, but not quite so deadly.
(of course I've never run mplayer... but..)
after I install the nvidia drivers on my machine with a TNT2 card, I will almost invariably get a green or pink lined box somewhere on my screen when I restart X after installing the nVidia drivers. But it goes away after a reboot, and hasn't ever come back after that first time restarting X to test the driver after I install it. I would say its almost certainly a problem with the nvidia drivers... but thats just me. I assume you've tried rebooting... so... I don't have any possible fix, except send a bug report to nvidia.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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