Fedora Linux Support Community & Resources Center
  #1  
Old 22nd June 2008, 12:26 PM
luiscar2001 Offline
Registered User
 
Join Date: Jun 2008
Posts: 9
NVIDIA Driver Rendering works only if started with startx

Something pretty strange happens to my fedora 9 installation. I have isntalled the propietary driver from NVIDIA via the LIVNA repository. When booting up and entering the GNOME desktop, the Rendering is not activated.

In order to have ti to activated, I have to:
1. initiate a sesion in text mode. I go to a console and type sudo /sbin/init 3
2. and then startx.

et voilą when I ask the Livna configaration it answers: Direct Rendering: YES.
Nevertheless, if in that mode I ask from the console glxinfo it says Direct Rendering: NO.

Furthermore, if I stop X again (logout) /sbin/init 5, I ask Livna-settigns and answers Direct Rendering: NO

What is it different from init 5 and startx X that prevents the X server of getting Direct Rendering capability?

By the way, I have already changed the permissions of /dev/nvidia* to 666.
Reply With Quote
  #2  
Old 22nd June 2008, 04:14 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Are you actually changing the permissions of /dev/nvidia* to 666 using chmod ?!

The correct way is to add the following section to xorg.conf:
Code:
[...]
Section "DRI"
        Mode         0666
EndSection
See if that helps.

V
Reply With Quote
  #3  
Old 22nd June 2008, 09:10 PM
luiscar2001 Offline
Registered User
 
Join Date: Jun 2008
Posts: 9
I have added the lines in the xorg.conf but still does not work and continues to work when
init 3; startx

What is different from init 5 and startx in relation to the nvidia module?
Reply With Quote
  #4  
Old 22nd June 2008, 09:26 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Quote:
Originally Posted by luiscar2001
Something pretty strange happens to my fedora 9 installation. I have isntalled the propietary driver from NVIDIA via the LIVNA repository. When booting up and entering the GNOME desktop, the Rendering is not activated.

In order to have ti to activated, I have to:
1. initiate a sesion in text mode. I go to a console and type sudo /sbin/init 3
2. and then startx.

et voilą when I ask the Livna configaration it answers: Direct Rendering: YES.
Nevertheless, if in that mode I ask from the console glxinfo it says Direct Rendering: NO.

Furthermore, if I stop X again (logout) /sbin/init 5, I ask Livna-settigns and answers Direct Rendering: NO

What is it different from init 5 and startx X that prevents the X server of getting Direct Rendering capability?

By the way, I have already changed the permissions of /dev/nvidia* to 666.
What do you mean by livna-settings? There is livna-config-display but it doesn't report if you have DRI or not.

What nvidia driver and Xorg version are you running? You can check like this:
Code:
rpm -q xorg-x11-server-Xorg xorg-x11-drv-nvidia kmod-nvidia
As well, please attach the /var/log/Xorg.0.log and /etc/X11/xorg.conf files to the thread when starting with "init 5" (this will let us see if the xserver is encountering any errors).

Quote:
Originally Posted by Hlingler
Are you actually changing the permissions of /dev/nvidia* to 666 using chmod ?!

The correct way is to add the following section to xorg.conf:
Code:
[...]
Section "DRI"
        Mode         0666
EndSection
See if that helps.

V
This only works for the ATI driver, as nvidia doesn't use X's DRI module. Even then though, it should work out-of-the-box with the open-source and proprietary versions without the need for those lines.
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #5  
Old 23rd June 2008, 12:06 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Quote:
Originally Posted by Firewing1
This only works for the ATI driver, as nvidia doesn't use X's DRI module. Even then though, it should work out-of-the-box with the open-source and proprietary versions without the need for those lines.
Ah... I did not know that. OK, now it makes a little more sense - I knew that it should not matter whether it's even specified or not, but....

V
Reply With Quote
  #6  
Old 23rd June 2008, 08:25 AM
luiscar2001 Offline
Registered User
 
Join Date: Jun 2008
Posts: 9
The version of the packages I am using are

xorg-x11-server-Xorg-1.4.99.902-3.20080612.fc9.i386
xorg-x11-drv-nvidia-173.14.09-1.lvn9.i386
kmod-nvidia-173.14.09-1.lvn9.i686

Xorg.0.log and xorg.conf are attached.

Last, in relation to the livna-config-display, when selecting the subsection OpenGL, it says either if you have Direct Rendering: Yes or No

In my case,
1. When starting with init 5 it says no.
2. When starting with startx, it says yes.
On the other hand, when starting with startx, opening a terminal window and doing
glxinfo
it says Direct Rendering: No
Last, with permission 0600, it would also say no when running with startx.
Attached Files
File Type: txt xorg.conf.txt (1.2 KB, 39 views)
File Type: txt Xorg.0.log.txt (12.4 KB, 145 views)
Reply With Quote
  #7  
Old 23rd June 2008, 07:04 PM
luiscar2001 Offline
Registered User
 
Join Date: Jun 2008
Posts: 9
The programm I am referring to is NVIDIA X Server Configuration which can be found under Applications --> System Tools --> nVidia Display Settings
I atttached two images. One when booting up the system and the second one after making the init 3 and startx as explained.

As you can see under the section OpenGL/GLX Information first it daid Direct Rendering: No and afterwards Direct Rendering: Yes.

Nevertheless, glxinfo continues to report Direct Rendering: No
Attached Thumbnails
Click image for larger version

Name:	1.NVIDIA X server Settings when starting normally.png
Views:	50
Size:	922.7 KB
ID:	16517   Click image for larger version

Name:	3.NVIDIA X server Settings after init 3 and startx including terminal glxinfo.png
Views:	48
Size:	678.1 KB
ID:	16518  
Reply With Quote
  #8  
Old 24th June 2008, 02:51 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Quote:
Originally Posted by luiscar2001
The version of the packages I am using are

xorg-x11-server-Xorg-1.4.99.902-3.20080612.fc9.i386
xorg-x11-drv-nvidia-173.14.09-1.lvn9.i386
kmod-nvidia-173.14.09-1.lvn9.i686
glx-utils is the package that owns glxinfo and glxgears. I assume that you updated it when you updated the Xorg server and other suff?
Quote:
Xorg.0.log and xorg.conf are attached.

Last, in relation to the livna-config-display, when selecting the subsection OpenGL, it says either if you have Direct Rendering: Yes or No

In my case,
1. When starting with init 5 it says no.
2. When starting with startx, it says yes.
On the other hand, when starting with startx, opening a terminal window and doing
glxinfo
it says Direct Rendering: No
Last, with permission 0600, it would also say no when running with startx.
Baffling. And strange. Never seen this issue before. Hopefully Firewing1 or someone else has....

Good Luck,
V
Reply With Quote
  #9  
Old 24th June 2008, 05:51 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
just a shot in the dark
in fc8 the livna and nivida gui configure tools are available
check system /Administration /livna display
and see if there is a check in " allow livna-config-display to edit config files"
check it then see if under "automatic configuration" tab make sure that
" disable All " in unchecked and " Aiglx" is checked
and click apply
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #10  
Old 24th June 2008, 06:38 AM
luiscar2001 Offline
Registered User
 
Join Date: Jun 2008
Posts: 9
That did not work. It was already with the settings you mentioned.
Reply With Quote
Reply

Tags
driver, nvidia, rendering, started, startx, works

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 driver works only till shutdown fedoracc Using Fedora 14 19th December 2008 11:59 PM
vsftpd doesn't work when started automatically, but works started manually oryan_dunn Servers & Networking 7 2nd February 2007 09:41 PM
new Nvidia legacy driver works! buddha Hardware & Laptops 3 1st July 2006 01:03 AM
How to fix direct rendering after installing nvidia driver.(Might apply to ATI too) chiku31 Guides & Solutions (No Questions) 5 25th March 2005 03:34 PM


Current GMT-time: 03:43 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat