Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-05-07, 08:38 PM   #13
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Crashing With Fedora 7 User Switching

See:
http://www.nvnews.net/vbulletin/showthread.php?t=46678
netllama is offline   Reply With Quote
Old 06-06-07, 04:03 AM   #14
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: Nvidia Crashing With Fedora 7 User Switching

Quote:
Originally Posted by netllama
The NVIDIA driver only supports one X server per GPU.
Auch! This is really really bad!

Are we sure we are talking about the same thing?

Could you please point me where in the docs this is stated?

Because appendix L (Known Issues) does not mention it and appendix P (Configuring Multiple X Screens on One Card) someone states it is possible, even if, in this case, with separate video outputs.

Now, question, could this explain some of the Xvid stories?

Thanks,

pgs
pgs is offline   Reply With Quote
Old 06-06-07, 08:13 AM   #15
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Nvidia Crashing With Fedora 7 User Switching

Quote:
Originally Posted by netllama
The NVIDIA driver only supports one X server per GPU.
This is truely bad news!

From the very early nvidia driver versions (mid of 2000) up to 1.0-7xxx,
i had realy bad experiences concerning switching VTs or runnig multiple
X server instances. This happend with various Linux distributions and
combinations of Intel/AMD and nvidia hardware, which made me assume
that there is a subtle software bug. I was never able to track down this
extremly annoying problem. Every time i needed to switch to another
VT, i had to pray that the box doesn't get stuck! However, this issue
magically disapeared for me on my current HW setup since some early
1.0-8xxx driver version - I didn't had any crashes for more than a year.
It sad to hear that there is regression for Fedora 7!

From what i read in this forum, this problem doesn't show up with the
"nv_drv" driver that comes with the X server. Since the crashes with
"nvidia_drv" do also happen when no 3D is active at all, i assume the
problem is somewhere in the "2D" part where the GPU context is saved
for switching between VTs. How about re-designing the driver so that
OpenGL hooks in as module for the nv driver? This way, such kind of issue
could be tracked down much more easily. In my wet dreams, i see an
open source nv driver that i.e. uses CUDA for 2D/3D acceleration where
DMA and IRQs are fully handled in user space ...

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 06-06-07, 08:23 AM   #16
gbil
Registered User
 
Join Date: Mar 2006
Posts: 272
Default Re: Nvidia Crashing With Fedora 7 User Switching

I use Fedora 7 with nvidia 8800GTS with driver 1.0-9755 and can't reproduce this problem.

I created a second user just for this and did the switch from one to the other numerous times and still works, no crash. The only hitch is that from the first user I can go to the second only by using ctrl-alt-f9 and not with the gnome user switching applet but the other way around works fine using either way.
gbil is offline   Reply With Quote
Old 06-06-07, 10:35 AM   #17
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Crashing With Fedora 7 User Switching

The restriction that only one X server can be run on each GPU is not a 'known issue' its how the driver was designed.

VT switching problems sound like something very different from what the originator of this thread was discussing. It would probably be best for those who are experiencing problems with VT switching to start a new thread(s) after reading the sticky posts of this forum.
netllama is offline   Reply With Quote
Old 06-06-07, 11:23 AM   #18
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Nvidia Crashing With Fedora 7 User Switching

Seems like we are running into missunderstandings: there are two variants
of "simultaneous" X servers for "parallel" user sessions:

From what i understand, the original poster likes to run two X servers
on the same card on different VTs so that he can easily switch between
two user sessions with i.e. CTRL+ALT+F7/F8. Means: only one user
can work at a time, but you can easily switch between the desktops.
Effectivly, two X servers are executed, but only one is running at a time.
This is very handy, i.e. you can start another X server for full screen
gaming and switch to the desktop on the fly - i'm using this variant
for years, however, as told, i experienced rare lockups when switching
between VTs in pre 1.0-8xxx versions of the graphics driver.
This lockups also happend when there was only on X server running
and switching to a text console - there still seem to be a number
of users having this problem. My guess is that it has something
todo with GPU context switching.

The other variant is a "Multiseat" setup where two users can work
at the very same time. This has also been deployed with nvidia hardware
for quite some time, now, but requires a GPU per X server. From time
to time, there is the discussion that since many nvidia cards have
two outputs, it might be a nice thing that two X servers could share
a GPU to have individual desktops on each output separatly, but the
driver doesn't support it. I guess this what netllama meant when she
said that "The NVIDIA driver only supports one X server per GPU." ?!

Dazed and confused by trying to continue ...

Bernhard
JaXXoN is offline   Reply With Quote
Old 06-06-07, 11:08 PM   #19
tclemons
Registered User
 
Join Date: Jun 2007
Posts: 1
Default Re: Nvidia Crashing With Fedora 7 User Switching

I believe JaXXoN has done a great job of summarizing the situation. Here's a link to a summary of Fedora 7's fast user switching feature:

http://fedoraproject.org/wiki/Desktop/FastUserSwitching

I too was having difficulties with fast user switching in Fedora 7. Instead of lock-ups or instability, though, the problem I had was that the second user to log-in was stuck with a resolution of 640 x 480. Closure inspection of the logs revealed that the second X session was unable to run autodetection of the display. Manually setting the monitor in System -> Administration -> Display fixed this.

It might be worth setting your display manually, on the off chance that autodetection is the cause of the instability.
tclemons is offline   Reply With Quote
Old 06-07-07, 01:02 AM   #20
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: Nvidia Crashing With Fedora 7 User Switching

Quote:
Originally Posted by dgoodwin
Hi Dragoran, wondering if you're running Fedora 7?
yes and fast-user-switching even works with compiz runnung.
Dragoran is offline   Reply With Quote

Old 06-07-07, 09:32 AM   #21
dgoodwin
Registered User
 
Join Date: Jun 2007
Posts: 14
Default Re: Nvidia Crashing With Fedora 7 User Switching

I have replicated the problem with logverbose on and generated the nvidia log as requested in the "If you have a problem" thread.
Attached Files
File Type: zip nvidia-bug-report.zip (37.8 KB, 74 views)
dgoodwin is offline   Reply With Quote
Old 06-07-07, 09:38 AM   #22
dgoodwin
Registered User
 
Join Date: Jun 2007
Posts: 14
Default Re: Nvidia Crashing With Fedora 7 User Switching

For clarification:

Yes original post was in reference to running a second X server, but fortunately for those of us experincing it (given this is unsupported) the same problem seems to occur when switching to the console. (Ctrl+Alt+F1) and back (Alt+F7). Stack trace appears to be the same, X session dies when switching back and gdm restarts a new one.

The problem is intermittent but always happens for me eventually. Last night after increasing the X logging I spent a half hour trying to make it occur and could not. Tried again this morning, still no luck, and after working for a few hours tried again, this time it did crash. Other times it happens the first time I try to switch to Ctrl+Alt+F1 console, or to another X session. I can't narrow down exactly what might be causing it or why sometimes it happens immediately.
dgoodwin is offline   Reply With Quote
Old 06-07-07, 11:36 AM   #23
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Crashing With Fedora 7 User Switching

I have a few questions:
0) Does this problem persist if you remove 'rhgb quiet' from your GRUB configuration (and reboot)?
1) Have you verified that you're using the latest motherboard BIOS?
2) How many simultaneous X servers are running when this problem occurs?
3) Does this problem persist if you're not using the Composite extension in X?

thanks,
Lonni
netllama is offline   Reply With Quote
Old 06-07-07, 01:00 PM   #24
edgan
Registered User
 
Join Date: Jun 2006
Posts: 24
Default Re: Nvidia Crashing With Fedora 7 User Switching

I too am having a problem with user switching, the nvidia binary driver, and Fedora 7.

For me I get a black screen with a grey box on the bottom edge. This last time the screen also had horizontal grey lines. It happens for me when I log out from my account, the second user to login.

If I kill the second gdm, which would normally come up on log out, the screen gots blank. If I kill the first, then both users are logged out and gdm comes up normally.

System:
Fedora 7 x86_64
Core 2 Duo E6600
4gb memory
ASUS P5B Deluxe Vista Edition motherboard
Nvidia 7600GS
edgan is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia 173.14.35: Fedora 17 x86 terribly slow Mr Wolf NVIDIA Linux 25 07-02-12 01:44 AM
OpenGL apps crashing in NVIDIA driver when switching desktop dinosaur NVIDIA Linux 0 06-01-12 07:09 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM

All times are GMT -5. The time now is 07:11 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.