Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd February 2011, 09:30 PM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
linuxchrome
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

I've been trying to get the Nvidia driver working for my laptop for months and have had no luck. I have a Sony Z Series with an Nvidia GT 330M in it. The only drivers that are available for it are the proprietary drivers from Nvidia so I installed it, configured the xorg.conf and I'm still getting errors. This is what I get when I run 'startx'

Code:
[root@localhost X11]# startx
xauth:  creating new authority file /root/.serverauth.3287


X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol Version 11, Revision 0
Build Operating System: x86-11 2.6.32-71.14.1.el6.x86_64 
Current Operating System: Linux localhost.localdomain 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64
Kernel command line: ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_MD_UUID=5a14b37d:e612976d:a210e54c:93c35ea5 rd_MD_UUID=4e4e1669:14893587:c5793d26:40b61cd5 rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us nomodeset rhgb quiet nouveau.modeset=0 rdblacklist=nouveau pci=biosirq
Build Date: 09 February 2011  05:44:29PM
Build ID: xorg-x11-server 1.9.4-1.fc14 
Current version of pixman: 0.18.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 23 13:09:13 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
(EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
(EE) NVIDIA(0):     check your system's kernel log for additional error
(EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
(EE) NVIDIA(0):     README for additional information.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) intel(1): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the Fedora Project support 
	 at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

giving up.

xinit:  Resource temporarily unavailable (errno 11):  unable to connect to X server

xinit:  No such process (errno 3):  Server error.
This is my xorg.conf file

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

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

Section "Module"
	Load  "glx"
	Load  "extmod"
	Load  "dri2"
	Load  "dbe"
	Load  "record"
	Load  "dri"
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 "Device"
	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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card1"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	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
		Depth     1
	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
I got this xorg.conf by having the system configure it for me with 'X -configure' i think it was, then I added the EDID part because I guess these Sony laptops changed the chipsets a little from the actual driver (from what I read). Any help on this would be greatly appreciated, thank you!!
Reply With Quote
  #2  
Old 23rd February 2011, 09:31 PM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
linuxchrome
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

Oh and I forgot, this is the log it told me to look at /var/log/Xorg.0.log

Code:
[  2237.511] 
X.Org X Server 1.9.4
Release Date: 2011-02-04
[  2237.511] X Protocol Version 11, Revision 0
[  2237.512] Build Operating System: x86-11 2.6.32-71.14.1.el6.x86_64 
[  2237.512] Current Operating System: Linux localhost.localdomain 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64
[  2237.513] Kernel command line: ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_MD_UUID=5a14b37d:e612976d:a210e54c:93c35ea5 rd_MD_UUID=4e4e1669:14893587:c5793d26:40b61cd5 rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us nomodeset rhgb quiet nouveau.modeset=0 rdblacklist=nouveau pci=biosirq
[  2237.513] Build Date: 09 February 2011  05:44:29PM
[  2237.514] Build ID: xorg-x11-server 1.9.4-1.fc14 
[  2237.514] Current version of pixman: 0.18.4
[  2237.514] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2237.514] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2237.515] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 23 12:51:43 2011
[  2237.516] (==) Using config file: "/etc/X11/xorg.conf"
[  2237.516] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2237.516] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2237.517] (==) ServerLayout "X.org Configured"
[  2237.517] (**) |-->Screen "Screen0" (0)
[  2237.517] (**) |   |-->Monitor "Monitor0"
[  2237.517] (**) |   |-->Device "Card0"
[  2237.517] (**) |-->Screen "Screen1" (1)
[  2237.517] (**) |   |-->Monitor "Monitor1"
[  2237.517] (**) |   |-->Device "Card1"
[  2237.517] (**) |-->Input Device "Mouse0"
[  2237.517] (**) |-->Input Device "Keyboard0"
[  2237.517] (==) Automatically adding devices
[  2237.517] (==) Automatically enabling devices
[  2237.517] (**) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins,
	catalogue:/etc/X11/fontpath.d,
	built-ins
[  2237.517] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  2237.517] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  2237.517] (WW) Disabling Mouse0
[  2237.517] (WW) Disabling Keyboard0
[  2237.517] (II) Loader magic: 0x7d32c0
[  2237.517] (II) Module ABI versions:
[  2237.517] 	X.Org ANSI C Emulation: 0.4
[  2237.517] 	X.Org Video Driver: 8.0
[  2237.517] 	X.Org XInput driver : 11.0
[  2237.517] 	X.Org Server Extension : 4.0
[  2237.518] (--) PCI:*(0:0:2:0) 8086:0046:104d:905a rev 2, Mem @ 0xd1400000/4194304, 0xc0000000/268435456, I/O @ 0x00007078/8, BIOS @ 0x????????/131072
[  2237.518] (--) PCI: (0:1:0:0) 10de:0a2b:104d:905a rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[  2237.519] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[  2237.519] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[  2237.519] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  2237.519] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[  2237.519] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[  2237.519] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[  2237.519] (II) LoadModule: "glx"
[  2237.519] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  2237.525] (II) Module glx: vendor="NVIDIA Corporation"
[  2237.525] 	compiled for 4.0.2, module version = 1.0.0
[  2237.525] 	Module class: X.Org Server Extension
[  2237.525] (II) NVIDIA GLX Module  260.19.36  Tue Jan 18 17:12:12 PST 2011
[  2237.525] (II) Loading extension GLX
[  2237.525] (II) LoadModule: "extmod"
[  2237.526] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[  2237.526] (II) Module extmod: vendor="X.Org Foundation"
[  2237.526] 	compiled for 1.9.4, module version = 1.0.0
[  2237.526] 	Module class: X.Org Server Extension
[  2237.526] 	ABI class: X.Org Server Extension, version 4.0
[  2237.526] (II) Loading extension SELinux
[  2237.526] (II) Loading extension MIT-SCREEN-SAVER
[  2237.526] (II) Loading extension XFree86-VidModeExtension
[  2237.526] (II) Loading extension XFree86-DGA
[  2237.526] (II) Loading extension DPMS
[  2237.526] (II) Loading extension XVideo
[  2237.526] (II) Loading extension XVideo-MotionCompensation
[  2237.526] (II) Loading extension X-Resource
[  2237.526] (II) LoadModule: "dri2"
[  2237.526] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[  2237.526] (II) Module dri2: vendor="X.Org Foundation"
[  2237.526] 	compiled for 1.9.4, module version = 1.2.0
[  2237.526] 	ABI class: X.Org Server Extension, version 4.0
[  2237.526] (II) Loading extension DRI2
[  2237.526] (II) LoadModule: "dbe"
[  2237.526] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[  2237.527] (II) Module dbe: vendor="X.Org Foundation"
[  2237.527] 	compiled for 1.9.4, module version = 1.0.0
[  2237.527] 	Module class: X.Org Server Extension
[  2237.527] 	ABI class: X.Org Server Extension, version 4.0
[  2237.527] (II) Loading extension DOUBLE-BUFFER
[  2237.527] (II) LoadModule: "record"
[  2237.527] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[  2237.527] (II) Module record: vendor="X.Org Foundation"
[  2237.527] 	compiled for 1.9.4, module version = 1.13.0
[  2237.527] 	Module class: X.Org Server Extension
[  2237.527] 	ABI class: X.Org Server Extension, version 4.0
[  2237.527] (II) Loading extension RECORD
[  2237.527] (II) LoadModule: "dri"
[  2237.527] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[  2237.527] (II) Module dri: vendor="X.Org Foundation"
[  2237.527] 	compiled for 1.9.4, module version = 1.0.0
[  2237.527] 	ABI class: X.Org Server Extension, version 4.0
[  2237.527] (II) Loading extension XFree86-DRI
[  2237.527] (II) LoadModule: "nvidia"
[  2237.527] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  2237.528] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2237.528] 	compiled for 4.0.2, module version = 1.0.0
[  2237.528] 	Module class: X.Org Video Driver
[  2237.528] (II) LoadModule: "intel"
[  2237.528] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  2237.528] (II) Module intel: vendor="X.Org Foundation"
[  2237.528] 	compiled for 1.9.0, module version = 2.12.0
[  2237.528] 	Module class: X.Org Video Driver
[  2237.528] 	ABI class: X.Org Video Driver, version 8.0
[  2237.528] (II) NVIDIA dlloader X Driver  260.19.36  Tue Jan 18 16:57:32 PST 2011
[  2237.528] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2237.528] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
[  2237.528] (--) using VT number 7

[  2237.533] (II) Loading sub module "fb"
[  2237.533] (II) LoadModule: "fb"
[  2237.533] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  2237.533] (II) Module fb: vendor="X.Org Foundation"
[  2237.533] 	compiled for 1.9.4, module version = 1.0.0
[  2237.533] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2237.533] (II) Loading sub module "wfb"
[  2237.533] (II) LoadModule: "wfb"
[  2237.534] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[  2237.534] (II) Module wfb: vendor="X.Org Foundation"
[  2237.534] 	compiled for 1.9.4, module version = 1.0.0
[  2237.534] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2237.534] (II) Loading sub module "ramdac"
[  2237.534] (II) LoadModule: "ramdac"
[  2237.535] (II) Module "ramdac" already built-in
[  2237.535] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  2237.535] (==) NVIDIA(0): RGB weight 888
[  2237.535] (==) NVIDIA(0): Default visual is TrueColor
[  2237.535] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  2237.535] (**) NVIDIA(0): Enabling RENDER acceleration
[  2237.535] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[  2237.535] (II) NVIDIA(0):     enabled.
[  2239.017] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[  2239.017] (EE) NVIDIA(0):     check your system's kernel log for additional error
[  2239.017] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
[  2239.017] (EE) NVIDIA(0):     README for additional information.
[  2239.017] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[  2239.033] (EE) intel(1): No kernel modesetting driver detected.
[  2239.033] (II) UnloadModule: "nvidia"
[  2239.033] (II) UnloadModule: "wfb"
[  2239.033] (II) UnloadModule: "fb"
[  2239.033] (II) UnloadModule: "intel"
[  2239.033] (EE) Screen(s) found, but none have a usable configuration.
[  2239.033] 
Fatal server error:
[  2239.033] no screens found
[  2239.033] 
Please consult the Fedora Project support 
	 at http://wiki.x.org
 for help. 
[  2239.033] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2239.033]

Last edited by donkeyend; 23rd February 2011 at 09:34 PM.
Reply With Quote
  #3  
Old 24th February 2011, 01:19 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

There is one thing that is very noticeable. There is a line missing in your /etc/X11/xorg.conf file.

The "Files" section should look like this:

Code:
Section "Files"
	ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "catalogue:/etc/X11/fontpath.d"
	FontPath     "built-ins"
EndSection
But also that xorg.conf file looks all wacked up.

Try copying that file to a backup, like /etc/X11/xorg.bak then delete /etc/X11/xorg.conf

After doing that, tun nvidia-xconfig and have it create you a new /etc/X11/xorg.conf file.
Reply With Quote
  #4  
Old 24th February 2011, 09:51 PM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
linuxchrome
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

i tried changing the file section to what you said and still the same messages. this is the xorg.conf that the nvidia installer creates for me:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.36  (mockbuild@)  Sat Jan 22 06:36:47 EST 2011

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

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

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "dri2"
    Load           "dbe"
    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 "Device"
    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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
    Identifier     "Card1"
    Driver         "nvidia"
    BusID          "PCI:0:2: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
which also gives me the same error messages. is there possibly a way to check the status of the video card /dev/nvidia0 to see if its busy with something else?
Reply With Quote
  #5  
Old 24th February 2011, 10:43 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

you can see what video devices you have and what (if any) kernel modules are in use for them.

Code:
lspci -k
Reply With Quote
  #6  
Old 25th February 2011, 01:51 AM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
linuxchrome
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

amongst other things, this is what lspci -k gives me:

Code:
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 330M] (rev a2)
	Subsystem: Sony Corporation Device 905a
	Kernel driver in use: nvidia
	Kernel modules: nvidia, nouveau, nvidiafb
so does this mean that nouveau is using my video card? that would explain why the nvidia driver cant access it.

i don't that nouveau should be running though cause its blacklisted in my kernel arguments in my grub.conf

Code:
kernel /vmlinuz-2.6.35.11-83.fc14.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_MD_UUID=5a14b37d:e612976d:a210e54c:93c35ea5 rd_MD_UUID=4e4e1669:14893587:c5793d26:40b61cd5 rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us nomodeset rhgb quiet nouveau.modeset=0 rdblacklist=nouveau
Reply With Quote
  #7  
Old 25th February 2011, 02:15 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

that just tells you the kernel modules that are on your system for that device. it is using the nvidia driver, but you have noveau and nvidiafb that can be used, but aren't.

That looks like the nvidia kernel module is getting use of your video card, so it's being loaded and nothing else is grabbing it.

From looking at your /etc/X11/xorg.conf file, it is showing 2 video cards.
1 on PCI:01:00:00 (which is shown above in the lspci -k output), and another on PCI:0:2:0. What is that second card you have the definition for in your xorg.conf file?

it shows up in the xorg.0.log you posted above as well..

Quote:
[ 2237.518] (--) PCI:*(0:0:2:0) 8086:0046:104d:905a rev 2, Mem @ 0xd1400000/4194304, 0xc0000000/268435456, I/O @ 0x00007078/8, BIOS @ 0x????????/131072
[ 2237.518] (--) PCI: (0:1:0:0) 10de:0a2b:104d:905a rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
Reply With Quote
  #8  
Old 25th February 2011, 02:21 AM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
linuxchrome
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

oooooo ok, that makes sense.

the second card is a low end intel gpu. this laptop has one of those hybrid gpu switches between the intel and the nvidia card. ive read that theyre a real pain in the ass under linux as of now. i dont really care about being able to swap between the gpus at this point i just want one of them to work with my 1920x1080 display. which i guess brings up the point, could my nvidia gpu not be loading properly because im using my intel gpu?
Reply With Quote
  #9  
Old 25th February 2011, 02:45 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

there is a setting in the BIOS that lets you select which video adapter to use. Go into your system BIOS and select the nvidia video.

Then take out the entries for the second adapter from your /etc/X11/xorg.conf file.
(actually, you may want to take these out first, shut down, change your BIOS and then reboot)

try making your /etc/X11/xorg.conf file look something like this:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.36  (mockbuild@)  Sat Jan 22 06:36:47 EST 2011

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "dri2"
    Load           "dbe"
    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 "Device"
    Identifier     "Card0"
    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
You can also just remove the /etc/X11/xorg.conf file and run nvidia-xconfig again after you make the changes to the BIOS.

It looks like support for those GPU's is coming, but just not quite finished yet. There are some upstream kernel's that have some support for them in it, just not an F14 kernel yet.
Reply With Quote
  #10  
Old 25th February 2011, 03:34 AM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
windows_7chrome
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

thats a problems though, there is no choice to select between GPUs in the bios. ive check and read on the internet that ppl have had to flash their bios to a custom image in order to do so which i would really like to stay away from.

so i might be able to get a better resolution if i installed the drivers for the intel gpu...ill try that.

Quote:
It looks like support for those GPU's is coming, but just not quite finished yet. There are some upstream kernel's that have some support for them in it, just not an F14 kernel yet.
thats good to know, because what i was reading made it sound like it was never coming lol
Reply With Quote
  #11  
Old 25th February 2011, 06:06 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

I really don't have any experience with that wacked out set up Lol

But, I did find a note in the F14 common bugs that says that currently a workaround is to use the vesa driver, although that wouldn't give you the results you are wanting.
Reply With Quote
  #12  
Old 25th February 2011, 06:47 AM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
windows_7chrome
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

ya it is kinda messed up and a total pain in the ass lol. thank you very much for all your help tho!!! could you post a link to that bug that you were talking about and the work around with the vesa driver?
Reply With Quote
  #13  
Old 25th February 2011, 04:12 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

sure can.. here is the link, and there is also a link there to a bugzilla bug.

http://fedoraproject.org/wiki/Common...s#edp_problems

and here is where it shows how to use the vesa driver

http://fedoraproject.org/wiki/Common_F14_bugs#misc-gfx
Reply With Quote
  #14  
Old 25th February 2011, 08:00 PM
donkeyend Offline
Registered User
 
Join Date: Jul 2005
Posts: 80
windows_7chrome
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

excellent! thanks again!
Reply With Quote
  #15  
Old 25th February 2011, 10:20 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
Re: NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

possibly someone else can jump in and give you a few tips, too.

I sure hope you can figure it out and get things working for you, though.
Reply With Quote
Reply

Tags
device, error, file, input or output, nvidia, open, or dev or nvidia0

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
cannot remove `file': Input/output error daviddoria Using Fedora 9 22nd January 2011 12:59 AM
xwindows wont start..."NVIDIA: could not open device file /dev/nvidia0" slyfox Hardware & Laptops 7 7th November 2009 05:00 AM
ERROR: Can't open output device '/dev/dsp', errno=2....how to recover? kokkisajee Hardware & Laptops 3 26th June 2009 09:49 AM
error: failed to open /etc/mtab: Input/output error shatter Using Fedora 0 17th March 2006 02:16 AM
Help! Input/Output error when copying file joeuser Using Fedora 1 8th August 2005 03:04 PM


Current GMT-time: 17:58 (Saturday, 18-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