Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #2101  
Old 11th April 2012, 01:10 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Quote:
Originally Posted by secipolla View Post
I'm using kernel 3.3.1-3.fc17.i686
After using Fedora for about two weeks, I found that this was the best way to install the NVIDIA driver. I guess I was lucky that this kernel wasn't a debug one (or is it?; I missed this point) because it kind of worked.

I ran the instructions for F16 (first post) for akmod-nvidia, rebooted, got a progress bar then when it was to load X the bar flicked about four times and nothing.
Then I had an inspiration to run nvidia-xconfig, rebooted and X loaded.
The problem is that I don't have GLX.

First particularity is that a while ago, while testing if the sgfxi script would work in Fedora, this script created an xorg.conf file. While using nouveau this file actually didn't interfere (as nouveau doesn't use it, I think) but I'm mentioning it because I don't know if this interfered when I installed the NVIDIA package.

/etc/X11/nvidia-xorg.conf is very small:
Code:
# RPM Fusion - nvidia-xorg.conf
# 
Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
EndSection
(proper xorg.conf created by nvidia-xconfig has normal size)

/etc/X11/xorg.conf.d/00-nvidia.conf
Code:
#This file is provided by xorg-x11-drv-nvidia
#Do not edit

Section "Files"
	ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib/xorg/modules"
EndSection
I'm thinking if maybe the system is just having trouble with finding the alternate path for libglx because ever since I installed Fedora it always fails to find/auto-complete executables in /usr/local/bin for instance (it actually finds them but I have to open different shell sessions, sometimes more than once until it 'gets it').

Here's the general info:
Code:
$ rpm -qa *\nvidia\*  *\kernel\*|sort;uname -r;lsmod |grep -e nvidia -e nouveau;cat /etc/X11/xorg.conf
abrt-addon-kerneloops-2.0.10-1.fc17.i686
akmod-nvidia-295.33-1.fc17.i686
kernel-3.3.0-5.fc17.i686
kernel-3.3.0-8.fc17.i686
kernel-3.3.1-3.fc17.i686
kernel-devel-3.3.0-8.fc17.i686
kernel-devel-3.3.1-3.fc17.i686
kernel-headers-3.3.1-3.fc17.i686
kmod-nvidia-3.3.1-3.fc17.i686-295.33-1.fc17.i686
libreport-plugin-kerneloops-2.0.10-2.fc17.i686
nvidia-settings-1.0-15.fc17.i686
nvidia-xconfig-1.0-13.fc17.i686
xorg-x11-drv-nvidia-295.33-1.fc17.i686
xorg-x11-drv-nvidia-libs-295.33-1.fc17.i686
3.3.1-3.fc17.i686
nvidia              10929059  24 
i2c_core               28180  2 i2c_viapro,nvidia
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 295.33  (mockbuild@builder1.ovh.rpmfusion.lan)  Thu Mar 22 20:09:24 CET 2012

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen1"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "catalogue:/etc/X11/fontpath.d"
    FontPath        "built-ins"
EndSection

Section "Module"
    Load           "glx"
    Load           "dbe"
    Load           "dri2"
    Load           "extmod"
    Load           "record"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "WrappedFB"          	# [<bool>]
        #Option     "GLXVBlank"          	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapLimit"          	# <i>
    Identifier     "Card0"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# <str>
        #Option     "fbdev"              	# <str>
        #Option     "debug"              	# [<bool>]
    Identifier     "Card1"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
    Identifier     "Card2"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Card1"
    Monitor        "Monitor1"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Card2"
    Monitor        "Monitor2"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

[sergio@athlon1700 ~]$
Thank you.

---------- Post added at 10:06 PM ---------- Previous post was at 10:02 PM ----------

The error in Xorg0.log is:
Code:
[    22.546] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[    22.546] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[    22.546] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[    22.546] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[    22.546] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.


---------- Post added at 11:47 PM ---------- Previous post was at 10:06 PM ----------

I see that xorg-X11-nvidia-libs installs the libs in /usr/lib/nvidia but it keeps the libs from mesa-libGL in /usr/lib/libGL.so.1*
Maybe it's this that's conflicting?
I'll rename the ones from mesa-libGL to test.

---------- Post added at 11:57 PM ---------- Previous post was at 11:47 PM ----------

Leigh, I renamed /usr/lib/xorg/modules/extensions/libglx.so and linked the one from nvidia to its place and also renamed /usr/lib/LibGL.so.1* and linked the one from nvidia to /usr/lib/LibGL.so.1 and now GLX is working.
I'll try it out but I suspect the latter is the one that was conflicting so if it's the case then xorg-X11-nvidia-libs should rename the mesa-libGL libs and then restore in case of un-installation.
If you think there is a issue file it here

https://bugzilla.rpmfusion.org/
  #2102  
Old 11th April 2012, 01:28 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

I thought about it but since every time xorg-X11-server-Xorg or mesa-libGL are updated they'll probably restore the conflicting libraries maybe the best would be just to update the how-to.
  #2103  
Old 12th April 2012, 03:34 PM
axel2078 Offline
Registered User
 
Join Date: Jun 2010
Location: Fairview Heights, IL
Posts: 74
windows_xp_2003firefox
Re: F16,F15 & F14 Nvidia driver guides

I tried this under Scientific Linux and it caused the boot process to hang, forcing me to do a ctrl-alt-F2 to get a terminal prompt so I could uninstall akmod-nvidia. If I have a problem this time as well, can I do the same thing to restore back to the way it was? Just uninstall akmod-nvidia?
  #2104  
Old 12th April 2012, 03:55 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Where are you installing it now?
I don't think that the boot would hang normally by doing what's described in the how-to. You may end up without X (video driver) like I did and I just needed to run nvidia-xconfig and reboot.
  #2105  
Old 12th April 2012, 09:21 PM
axel2078 Offline
Registered User
 
Join Date: Jun 2010
Location: Fairview Heights, IL
Posts: 74
windows_xp_2003firefox
Re: F16,F15 & F14 Nvidia driver guides

Quote:
Originally Posted by secipolla View Post
Where are you installing it now?
I don't think that the boot would hang normally by doing what's described in the how-to. You may end up without X (video driver) like I did and I just needed to run nvidia-xconfig and reboot.
I haven't installed it yet, but it would be on the same system as I had Scientific Linux 6.2 installed....a Dell XPS laptop.
  #2106  
Old 12th April 2012, 10:14 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Quote:
Originally Posted by secipolla View Post
Where are you installing it now?
I don't think that the boot would hang normally by doing what's described in the how-to. You may end up without X (video driver) like I did and I just needed to run nvidia-xconfig and reboot.


Leigh123linux doesn't recommend the use of nvidia-xconfig as it breaks the module paths included in the rpmfusion driver

https://github.com/linuxmint/Cinnamon/issues/593

That's why you ended up with this mess

http://forums.fedoraforum.org/showpo...postcount=2099

and

http://forums.fedoraforum.org/showpo...postcount=2100
  #2107  
Old 12th April 2012, 10:46 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Quote:
Originally Posted by Yellowman View Post
Leigh123linux doesn't recommend the use of nvidia-xconfig as it breaks the module paths included in the rpmfusion driver
I don't think so, Yellowman. There's no 'ModulePath' in the generated xorg.conf.

From xorg-conf generated with nvidia-xconfig:
Code:
Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection
From /etc/X11/xorg.conf.d/00-nvidia.conf:
Code:
Section "Files"
        ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib/xorg/modules"
EndSection
  #2108  
Old 12th April 2012, 10:51 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Quote:
Originally Posted by secipolla View Post
I don't think so, Yellowman. There's no 'ModulePath' in the generated xorg.conf.

From xorg-conf generated with nvidia-xconfig:
Code:
Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection
From /etc/X11/xorg.conf.d/00-nvidia.conf:
Code:
Section "Files"
        ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib/xorg/modules"
EndSection
Leigh states in the linked bug report that having a empty files section (no module paths) in xorg.conf overrides the paths set in /etc/X11/xorg.conf.d/00-nvidia.conf
  #2109  
Old 12th April 2012, 11:01 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

(-edit as you posted while I was writing- It doesn't override. Maybe if it hadn't anything there then X wouldn't use /usr/lib/xorg/modules/extensions/ as a path, but I'm not sure about that)
And, BTW, the module paths from the rpmfusion package work fine (but /usr/lib/xorg/modules/extensions/libglx.so has to be renamed because it's in the default X module path).


On another issue, do you know if it's a bug that the package installs 00-nvidia.conf as we have also a 00-system-setup-keyboard.conf? I mean, shouldn't the xx-nvidia.conf be something else than 00?
(the keyboard works fine for me as the nvidia-xconfig generated xorg.conf includes the keyboard info but I don't know if it would still work with the nvidia-xorg.conf file from the package which has only the video driver info, just thinking about it)

---------- Post added at 06:01 PM ---------- Previous post was at 05:55 PM ----------

But I may test later by commenting the "Files" section in xorg.conf (or using the nvidia-xorg.conf provided by the package) and re-enabling libglx.so from Xorg to see if it works (that is, to see if X will skip /usr/lib/xorg/modules/extensions/).

Last edited by secipolla; 12th April 2012 at 11:03 PM.
  #2110  
Old 12th April 2012, 11:22 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Quote:
Originally Posted by secipolla View Post
(-edit as you posted while I was writing- It doesn't override. Maybe if it hadn't anything there then X wouldn't use /usr/lib/xorg/modules/extensions/ as a path, but I'm not sure about that)
And, BTW, the module paths from the rpmfusion package work fine (but /usr/lib/xorg/modules/extensions/libglx.so has to be renamed because it's in the default X module path).


On another issue, do you know if it's a bug that the package installs 00-nvidia.conf as we have also a 00-system-setup-keyboard.conf? I mean, shouldn't the xx-nvidia.conf be something else than 00?
(the keyboard works fine for me as the nvidia-xconfig generated xorg.conf includes the keyboard info but I don't know if it would still work with the nvidia-xorg.conf file from the package which has only the video driver info, just thinking about it)

---------- Post added at 06:01 PM ---------- Previous post was at 05:55 PM ----------

But I may test later by commenting the "Files" section in xorg.conf (or using the nvidia-xorg.conf provided by the package) and re-enabling libglx.so from Xorg to see if it works (that is, to see if X will skip /usr/lib/xorg/modules/extensions/).
You're wrong about the override.


as for the 00- files, it doesn't matter as it takes the whole file name into account.

Have fun with this link

https://wiki.archlinux.org/index.php/Xorg


Code:
[ 60318.884] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 12 10:21:05 2012
[ 60318.884] (==) Using config file: "/etc/X11/xorg.conf"
[ 60318.884] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 60318.884] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 60318.884] (==) No Layout section.  Using the first Screen section.
[ 60318.884] (==) No screen section available. Using defaults.
[ 60318.884] (**) |-->Screen "Default Screen Section" (0)
[ 60318.884] (**) |   |-->Monitor "<default monitor>"
[ 60318.884] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 60318.885] (**) |   |-->Device "Videocard0"
[ 60318.885] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 60318.885] (**) Option "BlankTime" "0"
[ 60318.885] (**) Option "StandbyTime" "0"
[ 60318.885] (**) Option "SuspendTime" "0"
[ 60318.885] (==) Automatically adding devices
[ 60318.885] (==) Automatically enabling devices
[ 60318.885] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[ 60318.885] (**) ModulePath set to "/usr/lib64/xorg/modules/extensions/nvidia,/usr/lib64/xorg/modules"
[ 60318.885] (II) The server relies on udev to provide the list of input devices.

Code:
$ cat /etc/X11/xorg.conf.d/00-*.conf
#This file is provided by xorg-x11-drv-nvidia
#Do not edit

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib64/xorg/modules"
EndSection
Section "ServerFlags"
    Option "BlankTime" "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
EndSection
# This file is autogenerated by system-setup-keyboard. Any 
# modifications will be lost.

Section "InputClass"
	Identifier	"system-setup-keyboard"
	MatchIsKeyboard	"on"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"gb"
#	Option		"XkbVariant"	"(null)"
	Option		"XkbOptions"	"terminate:ctrl_alt_bksp,"
EndSection
Code:
$ ls /etc/X11/xorg.conf.d/
00-nvidia.conf  00-system-dpms.conf  00-system-setup-keyboard.conf
  #2111  
Old 13th April 2012, 04:01 AM
axel2078 Offline
Registered User
 
Join Date: Jun 2010
Location: Fairview Heights, IL
Posts: 74
linuxchrome
Re: F16,F15 & F14 Nvidia driver guides

This tidbit here is keeping me from trying this on my Dell XPS laptop: "Optimus graphics will not work if means to disable the integrated graphics in hardware are not available." My video adapter is a hybrid Intel/Nvidia. The Nvidia is GT 540M with Optimus. There is no way to disable Optimus in my laptop's BIOS.
  #2112  
Old 13th April 2012, 12:32 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

I made tests.
Indeed, if xorg.conf doesn't have a "Files" section, there's no need to rename anything and GLX will work.
But /etc/X11/nvidia-xorg.conf alone doesn't do anything. X doesn't see it and it falls back to vesa.
And using nvidia-xorg.conf as xorg.conf, as simple as it is (only the "Device" section with the video card and driver), works fine.
And I get now that any custom thing (except the video driver?) we want to add we add to /etc/X11/xorg.conf.d/00-nvidia.conf.

All tests I made by switching from init 3 to init 5 and back.
So, unless I'm still missing something, shouldn't the package install xorg.conf instead of nvidia-xorg.conf? Or better still, add the "Devices" section in /etc/X11/xorg.conf.d/00-nvidia.conf?

I'll do one more test to confirm this by renaming back xorg.conf to nvidia-xorg.conf and rebooting to see if X sees it then or not (but from the Arch wiki, it shouldn't. Again from the wiki, putting the video driver in xorg.conf.d/00-nvidia.conf should).
  #2113  
Old 13th April 2012, 01:20 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Quote:
Originally Posted by secipolla View Post
I made tests.
Indeed, if xorg.conf doesn't have a "Files" section, there's no need to rename anything and GLX will work.
But /etc/X11/nvidia-xorg.conf alone doesn't do anything. X doesn't see it and it falls back to vesa.
And using nvidia-xorg.conf as xorg.conf, as simple as it is (only the "Device" section with the video card and driver), works fine.
And I get now that any custom thing (except the video driver?) we want to add we add to /etc/X11/xorg.conf.d/00-nvidia.conf.

All tests I made by switching from init 3 to init 5 and back.
So, unless I'm still missing something, shouldn't the package install xorg.conf instead of nvidia-xorg.conf? Or better still, add the "Devices" section in /etc/X11/xorg.conf.d/00-nvidia.conf?

I'll do one more test to confirm this by renaming back xorg.conf to nvidia-xorg.conf and rebooting to see if X sees it then or not (but from the Arch wiki, it shouldn't. Again from the wiki, putting the video driver in xorg.conf.d/00-nvidia.conf should).

The rpm scriptlet copies it to xorg.conf


Code:
$ rpm -q --scripts xorg-x11-drv-nvidia
postinstall scriptlet (using /bin/sh):
if [ "$1" -eq "1" ]; then
  ISGRUB1=""
  if [[ -f /boot/grub/grub.conf && ! -f /boot/grub2/grub2.cfg ]] ; then
      ISGRUB1="--grub"
  fi
  if [ -x /sbin/grubby ] ; then
    GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel`
    /sbin/grubby $ISGRUB1 \
      --update-kernel=${GRUBBYLASTKERNEL} \
      --args='nouveau.modeset=0 rd.driver.blacklist=nouveau' \
       &>/dev/null
  fi
fi || :
preuninstall scriptlet (using /bin/sh):
if [ "$1" -eq "0" ]; then
  ISGRUB1=""
  if [[ -f /boot/grub/grub.conf && ! -f /boot/grub2/grub2.cfg ]] ; then
      ISGRUB1="--grub"
  fi
  if [ -x /sbin/grubby ] ; then
    KERNELS=`ls /boot/vmlinuz-*.fc16.$(uname -m)*`
    for kernel in ${KERNELS} ; do
      /sbin/grubby $ISGRUB1 \
        --update-kernel=${kernel} \
        --remove-args='nouveau.modeset=0 rdblacklist=nouveau rd.driver.blacklist=nouveau nomodeset' &>/dev/null
    done
  fi
  #Backup and disable previously used xorg.conf
  [ -f /etc/X11/xorg.conf ] && \
    mv  /etc/X11/xorg.conf /etc/X11/xorg.conf.xorg-x11-drv-nvidia_uninstalled &>/dev/null
fi ||:
posttrans scriptlet (using /bin/sh):
 [ -f /etc/X11/xorg.conf ] || \
   cp -p /etc/X11/nvidia-xorg.conf /etc/X11/xorg.conf || :
  #2114  
Old 13th April 2012, 02:32 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: F16,F15 & F14 Nvidia driver guides

Looks perfect (I'm no scripter myself), but I don't remember to have an /etc/X11/xorg.conf.xorg-x11-drv-nvidia_uninstalled (but I'm not really sure if I removed my previous xorg.conf prior to installing the package).

So, all-in-all, it seems everything is covered. For some reason it failed for me when I first installed it.
Just to be sure, when we have another upgrade (I have already upgraded to 295.40), I'll make before some custom xorg.conf to check if the package is moving it out of the way as it should.
  #2115  
Old 14th April 2012, 06:46 PM
TrickyHarry Offline
Registered User
 
Join Date: Feb 2012
Location: South England
Posts: 39
linuxfirefox
Re: F16 Nvidia driver guides - Thinkpad w510 Brightness effective after reboot

Brightness Control does not work on F16 for thinkpad w510 - basic installation

rpm -qa *\nvidia\* *\kernel\*|sort;uname -r;lsmod |grep -e nvidia -e nouveau;cat /etc/X11/xorg.conf
abrt-addon-kerneloops-2.0.7-2.fc16.x86_64
akmod-nvidia-295.33-2.fc16.x86_64
kernel-3.3.0-8.fc16.x86_64
kernel-3.3.1-3.fc16.x86_64
kernel-3.3.1-5.fc16.x86_64
kernel-devel-3.3.0-8.fc16.x86_64
kernel-devel-3.3.1-3.fc16.x86_64
kernel-devel-3.3.1-5.fc16.x86_64
kernel-headers-3.3.1-5.fc16.x86_64
kernel-tools-3.3.1-5.fc16.x86_64
kmod-nvidia-3.3.0-8.fc16.x86_64-295.33-2.fc16.1.x86_64
kmod-nvidia-3.3.1-3.fc16.x86_64-295.33-2.fc16.3.x86_64
kmod-nvidia-3.3.1-5.fc16.x86_64-295.33-2.fc16.x86_64
libreport-plugin-kerneloops-2.0.8-4.fc16.x86_64
nvidia-settings-1.0-15.fc16.x86_64
nvidia-xconfig-1.0-13.fc16.x86_64
xorg-x11-drv-nvidia-295.33-3.fc16.x86_64
xorg-x11-drv-nvidia-libs-295.33-3.fc16.x86_64
3.3.1-3.fc16.x86_64
nvidia 12281762 44
i2c_core 37991 3 nvidia,videodev,i2c_i801
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 295.33 (mockbuild@builder1.ovh.rpmfusion.lan) Sun Mar 25 14:14:04 CEST 2012

# RPM Fusion - nvidia-xorg.conf
#

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "gb"
Option "XkbModel" "pc105"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LEN"
HorizSync 47.1 - 56.5
VertRefresh 40.0 - 60.0
EndSection

# Updated by TrickyHarry - 2012-04-16
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 880M"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Videocard0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP-0: nvidia-auto-select @1600x1050 +0+0, CRT: nvidia-auto-select +1600+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
===========================

I have implemented the section:-

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

This seems to be great for other people.

The change for the brightness seems to be set but is only activated after next reboot ?
- I have seen this on the Hardware forum but that seemed to be going down a different route.

Any advice ?
Closed Thread

Tags
drivers, fedora 14, fedora 15, fedora 16, guide, nvidia

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
rescue after failed nvidia driver install? restore nouveau or basic video driver? Icm76 Using Fedora 11 14th January 2012 04:23 AM
Nvidia set up guides. sepoto Using Fedora 2 5th March 2011 06:11 AM
nVidia Driver Guides & Autoten: Thanks! Hobashira Fedora Focus 0 12th November 2010 08:29 AM
msi n220gt series not working with Nvidia driver guides top of page davidvandoren Hardware & Laptops 0 7th September 2010 07:52 PM
FC11 nVidia No Sound After RPMFusion nVidia Driver Load basimmer Using Fedora 0 16th October 2009 01:46 AM


Current GMT-time: 20:48 (Tuesday, 25-11-2014)

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
Igarape Travel Photos - Catano Instagram Photos - Jaisalmer Instagram Photos