OpenSUSE的NVIDIA驱动如何安装啊。
opensuse吧
全部回复
仅看楼主
level 1
官网下载的run包。安装总是遇到问题。
求大神教教如何安装。
台式机,核显已禁用,只剩下NVIDIA独显。
2015年09月18日 13点09分 1
level 4
同求
2015年09月18日 15点09分 2
level 11
建议将启动级别设置为3重启后再执行sh xx.run(chmod u+x xx.run && ./xx.run)
使用systemd的系统需要链接multi-user.target到 /etc/systemd/system/default. target
2015年09月18日 15点09分 3
[疑问]不明白。为什么要有第二句话?第二句话怎么操作呢。我遇到的错误,貌似说*.h没有配置。可是kernel-devel gcc都安装了。安装了,内核怎么还会没配置呢???
2015年09月18日 23点09分
回复
�����ǵľ�����
:可能需要编译内核模块,你按照要求安装缺失的包再试
2015年09月19日 00点09分
level 1
终端命令行安装 Nvidia 驱动
首先添加如下软件源:
zypper addrepo -f ftp://download.nvidia.com/opensuse/13.2/ nvidia
之后刷新源,并搜索
zypper ref
zypper se nvidia
可以找到x11-video-nvidiaG……之类的软件包
我安装的是最下面的那个。重新启动,安装好了。
没想到这样方法可以安装到352.41的版本[哈哈]
现在正在测试游戏中。。
2015年09月18日 23点09分 4
level 1
我用DVD安装openSUSE13.2 XFCE桌面。
#zypper addrepo -f ftp://download[怒].nvidia.com/opensuse/13.2/ nvidia
#zypper ref
#zypper in x11-video-nvidiaG02-*
之后进桌面明显nouveau被禁了,因为分辨率很低。
nvidia-setting打开说需要root运行nvidia-xconfig
结果是
WARNING: Unable to locate/open X configuration file.
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'
打开xorg.conf内容如下
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.128 (buildmeister@swio-display-x64-rhel04-03) Wed Aug 26 11:44:02 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/mouse"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
重启:
进不了桌面。卡在命令登录界面。
恢复模式更惨,命令行登录都到不了。
删除xorg.conf。
可以进桌面了。是禁用nouveau模式的桌面。
NVIDIA怎么安装呢???
备注:
安装中有降级某某软件。
有同名,不同内容的文件。新的覆盖旧文件。
系统没更新就装的NVIDIA。
使用阿里云源。
2015年09月19日 18点09分 5
level 1
直接编译run文件
会提示某某.h没有配置
到那个文件夹下make又有错误进行不下去
小白表示实在是没办法的说
编译.run我只在CentOS Debian Ubuntu下试过。为何openSUSE遇到这么多问题啊
话说Ubuntu现在双显卡(I+N)支持的挺好的。不用编译,直接附加驱动安装。本本不用禁显卡了[委屈]
2015年09月19日 18点09分 6
level 1
ERROR:Neither the '/usr/src/linux/include/linux/version.h' nor the 'usr/src/linux/include/generated/uapi/linux/version.h' kernel header file exists.The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured.
这个错误是安装完gcc make kernel-devel出现的。
安装kernel-source后,还是这个错误。
刚刚安装CentOS7.1时候,uname -r
根据显示安装kernel-*-XXX就可以编译了
[汗][汗][汗]
帮帮我吧
2015年09月20日 05点09分 7
level 1
openSUSE12.3也出现这个错误
2015年09月21日 11点09分 8
level 1
[哈哈][哈哈][哈哈][哈哈]
问题找到了。上面的软链接有问题可能。。。。
[呵呵]
我重新安装了一遍系统。
禁用官方源,添加本地DVD源。
#zypper se kernel-*
如图:
#zypper in kernel-desktop-devel
#zypper in gcc make
这样上面的软链接就不会出问题
在/etc/modprobed/50-blacklist.conf内添加blacklist nouveau
为了避免nouveau在initrd中被加载。需要打开YaST2,点击 系统-开机载入器 ,并在选择性内核指令参数后面加这句话 nouveau.modeset=0
重新启动
在终端输入
#init 3
可以安装了,直接运行.run。不用参数
我的环境是只用安装的DVD做的源,这样就不会安装不一致版本的kernel-devel了。。
2015年09月21日 15点09分 9
level 1
拿这张图分析一下
源码软链接指向linux-3.7.10-1.45
但是编译好的内核有3.7.10-1.1-desktop和3.7.10-1.45-desktop
uname -r出现的是3.7.10-1.1-desktop
并且开机引导也只有3.7.10-1.1-desktop这内核,好像是的。
所以说NVIDIA编译使用的内核源码比使用的新。应该是这样才出错的。
小白的猜测,不知道有没有道理。[勉强]
2015年09月21日 15点09分 10
1