ubunutu显卡问题!!!~紧急!

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubunutu显卡问题!!!~紧急!相关的知识,希望对你有一定的参考价值。

我的显卡是ATi radeon x850!
现在有一个全新的ubuntu 7.10摆在你面前.请你以笨蛋都可以看的懂的语言来教我:如何将显卡装好(正常使用),并开启3d特效!我的显示器是1280*1024的..我自己在装的过程中快疯掉了!!!!
按照回答的做法,成功者得分! 我的邮箱是 agame@agame.name

它是一块"镭"显卡
卡的类型为9xxx系列,9500或更高,或卡的类型为X系列(例如X300),或其拥有电视输出TV-Ouet能力. 'fglrx' 驱动不支持早于8500的显卡.
命令 lspci 显示卡的名字带"ATI"字样.
您需要3D硬件加速支持,或显示刷新率高于60Hz.开源驱动在其他方面都做得很好.
Note that if you own an ATI card from the R400 series or below, you already have working 2D and may have accelerated 3D with the default drivers. These cards include:

请注意:如果您有一块R400系列或更低型号的ATI显卡,您已经可以在2D下工作并且可能在默认驱动下使用3D加速。这样的显卡包括:

R400 series Xnnn (X800, X700, etc) (3D works)
R300 series (9300+) (3D works)
R200 and R100 series (9200 and below)
R400 系列 Xnnn(X800,X700等)(3D 工作)
R300 系列(9300+)(3D 工作)
R200 和 R100系列(9200及更低)
For specific chipsets and models, see the Xorg 7.0 Release Notes.

对应特定的芯片组和型号,请查看the Xorg 7.0 发行事项.

The TV-Out functionality may not work with the open source drivers; if you don't have TV-Out or don't want to use it, however, then you probably don't need to use fglrx.

视频输出(TV-Out)功能在开源驱动下可能无法工作;如果您没有视频输出或不想使用它,那您一般不需要使用fglrx。

[编辑] Install from Ubuntu repositories (easier) 从Ubuntu软件仓库安装(简易方法)
[编辑] Instructions for 6.10 (Edgy) 在 6.10 (Edgy) 中安装的说明
Install the driver provided by ati included in the repositories:
安装软件仓库中包含的由ATI提供的驱动
sudo apt-get update
sudo apt-get install xorg-driver-fglrx
You might also want to install a control panel for your graphic card. Please note that I do not recommend it, as it seems to be buggy, and generally doesnt work.
您可能还想为您的图形卡安装一个控制面板。请注意我并不推荐这样做,因为这个控制面板看起来有些bug,并且一般不起作用。
sudo apt-get install fglrx-control
Make sure fglrx is not disabled: gksudo gedit /etc/default/linux-restricted-modules-common
产生一确答fglrx并未被禁用(在终端命令行中输入以下命令,查看最后一行的DISABLED_MODULES=""的双引号中是否含有fglrx。--译者注): gksudo gedit /etc/default/linux-restricted-modules-common
Generate a new set of module dependencies so the fglrx driver starts properly.
产生一组新的模块以便 fglrx 驱动完全启动。
sudo depmod -a
You now have to configure xorg to use your graphic card. The aticonfig tool, provided with the driver, will do that for you:
现在您需要配置xorg来使用您的图形卡。驱动自带的aticonfig工具会帮您完成这项工作。
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
ATI are well known not to be able to provide correct drivers for their hardware so you will have to deactivate the composite extension in /etc/X11/xorg.conf , otherwise you will get a jerky video display:
众所周知,ATI无法为它们的硬件提供正确的驱动,所以您需要在 /etc/X11/xorg.conf 中使复合扩展不被激活,否则您会得到一个不平稳的视频显示。
gksudo gedit /etc/X11/xorg.conf and add the following lines at the end of the file:
(在终端命令行中运行--译者注)gksudo gedit /etc/X11/xorg.conf 并在文件末尾添加如下几行:
Section "Extensions"
Option "Composite" "0"
EndSection
// After making all those modifications, your X server might not want to start again. Don't worry, you can still modify xorg.conf using vim sudo vim /etc/X11/xorg.conf. To enter edit mode press i, to escape press escape, to save type :w and to quit type :q . And to start X again, on the command line type startx. //

// 做完这些修改之后,您的 X server 可能无法再次启动。别担心,您还可以通过使用vim来修改xorg.conf,命令是:sudo vim /etc/X11/xorg.conf 。要进入编辑模式,按 i ;要离开,按 Esc ;要保存,输入 :w ;要退出,输入 :q 。另外要再次启动 X ,在命令行中输入startx即可。//

Save and restart xorg by pressing Ctrl Alt and Backspace simultaneously.

保存修改结果并同时按 CTRL+ALT+BACKSPACE 来重启 xorg

Confirm it worked, by issuing the "fglrxinfo" command:

要确认生效,使用 "fglrxinfo" 命令查看结果

fglrxinfo/glxinfo may not work properly for you via SSH and via the console when logged in as root.
当您通过SSH或控制台以root身份登入时,fglrxinfo/glxinfo 可能无法正常工作。
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5755 (8.24.8)

[编辑] Troubleshooting 疑难问题解决
If fglrxinfo gives you the following, your installation is not completed correctly:

如果 fglrxinfo 返回如下结果,证明您的安装没有正确结束:

$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
These two commands might fix your installation, try this, reboot, and run fglrxinfo again:

下面这两行命令可能能修复您的安装,试一试,重启,再重新运行 fglrxinfo:

mkdir -p /usr/X11R6/lib/modules/dri
ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri
Source for the Mesa fix, with in-depth explanation

(????)

If the above fix did not work, watch for these things:

如果上面的修复方法无效,那么看看这些事项:

As fglrx is proprietary, just like many other proprietary software you might want to try to reboot your machine.
由于 fglrx 是专用的,像其它许多专用软件一样,您可能需要重启您的计算机试试。
Make sure that the resctricted-modules package installed correspond to the kernel your are running and that you can load the fglrx driver, either by issuing the command "sudo modprobe fglrx" or by verifying that the module appears in the list of loaded modules, by issuing the command "lsmod";
使用命令 "sudo modprobe fglrx" 来查看结果,或者通过运行命令 "lsmod" 来核实已加载的组件列表中的组件,确保安装约束组件包(restricted-modules package,这里原文误拼成 "resctricted")与您正在运行的内核相一致,并且您能加载 fglrx 驱动;
It may be necessary to establish a symbolic link for the /usr/lib/dri folder, by issuing the following command: "sudo ln -s /usr/lib/dri /usr/lib/xorg/modules/dri";
为 /usr/lib/dri 文件夹建立一个符号链接 (symbolic link)可能是必须的,通过运行如下命令 "sudo ln -s /usr/lib/dri /usr/lib/xorg/modules/dri" 来建立它;
You may have to unload the radeon and dri modules, by issuing "sudo rmmod radeon" and "sudo rmmod dri";
您可能必须卸载 radeon 和 dri 组件,通过运行 "sudo rmmod radeon" 和 "sudo rmmod dri" 来实现;
Make sure you unload the module ati-agp by issuing "sudo rmmod ati-agp" and blacklist it in /etc/modprobe.d/blacklist.
通过运行 "sudo rmmod ati-agp" 和将 ati-agp 加入 /etc/modprobe.d/blacklist 中以确保您卸载了 ati-agp 组件。
Check the /etc/X11/xorg.conf in Section "Module" to have this line: Load "dri" and it is not commented.
检查 /etc/X11/xorg.conf 文件内 Section "Module" 段中有 Load "dri" 行,且此行并未被注释掉。
Check the /var/log/Xorg.0.log file for errors. Firstly, search for (EE) (You can probably ignore any wacom entries). If you find the following then the Composite extension has been enabled (on my system it seems to be enabled by default, and must be explicitly disabled):
检查 /var/log/Xorg.0.log 文件中的错误信息。首先,检查(EE)部分(您基本上可以忽略任何与 wacom 有关的条目)。如果您找到如下信息,说明复合扩展(Composite extension)已经被启用了(在我的系统中看起来默认就是启动的,并且必须被明确的禁用掉才行):
(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
The ATI binary drivers do not support Composite. Ensure that the following entry is not in your xorg.conf:

ATI 双?(binary)驱动并不支持复合。确保如下条目在您的 xorg.conf 中并不存在。

Section "Extensions"
Option "Composite" "true"
EndSection
If there is no Composite entry, add one specifying "false" rather than true. This was necessary on my system.

如果没有复合(Composite)的条目,添加一个并明确的设置为 "false" 总比设置为 "true" 要好。这在我的系统中是必须的。

If you are looking for a specific video configuration please read the driver's manual. It will tell you all about dual-head configurations for example :) .

如果您在寻找一个特定的视频配置,请阅读驱动手册。它会以例子告诉您关于双头显示(dual-head)配置的全部内容 :) 。

man fglrx
If you suffer from a "white screen" overlayed onto gdm upon logout and the system seizing up, i.e., if you share the Ubuntu system with multiple users, then modify the file /etc/X11/gdm/gdm.conf and either add or change the AlwaysRestartServer option:/etc/X11/gdm/gdm.conf

如果您因为一个"白色屏幕"在系统登录或是注销到GDM时复盖全屏而苦恼;如果您的Ubuntu系统是多人共同使用的,那么你可以修改这个文件/etc/X11/gdm/gdm.conf.加入或更改其中的AlwaysRestartServer选项。

AlwaysRestartServer=true
[编辑] Ubuntu 6.06 (Dapper Drake) 安装说明
Install the kernel drivers. These drivers should be installed by default, but it's better to make sure they are installed. You need the package linux-$arch, where you replace $arch by the CPU architecture for the machine. This is 386 for Intel Pentium, 686 for Celeron, Pentium Pro, Pentium II, Pentium III, and Pentium 4 without Hyper-Threading. 686-smp for Pentium 4 with Hyper-Threading, or k7 or k7-smp for AMD athlon. On 64-bit systems, this may be amd64-generic, amd64-k8, amd64-k8-smp, or amd64-xeon.

安装内核驱动。这些驱动应该是被默认安装的,但是你最好还是确定一下他们是否已经安装。你需要使用软件包 linux-$arch,替换哪里要依椐机器的CPU架构。这里有386的Intel Pentium、686的Celeron, Pentium Pro, Pentium II, Pentium III和不带超线程的Pentium 4,686-smp带超线程的Pentium 4 ,或是 k7、k7-smp的AMD athlon。在64位系统上的,这里可能有amd64-generic, amd64-k8, amd64-k8-smp或是amd64-xeon.

sudo apt-get install linux-686
or
sudo apt-get install linux-k7
or
...
You also need to install the restricted-modules package that match ***exactly*** the kernel you are running, as well as specific required packages: (if you ran the previous command, make sure to reboot on your new kernel, otherwise this will install the wrong kernel modules !)

你还需要安装restricted-modules的软件包,他们要与你正在运行的内核相匹配,以及有特别要求的软件包:(如果你确信能运行旧有的命令,用你的新内核重新启动,否则安装内核模块将会出错!)

sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx fglrx-control
Please note that the fglrx-control package is not compulsory as it seems to be buggy (but wont affect your machine in anyway :) ).

需要提醒的是fglrx-control软件包不是必需的因为他似乎存在一些BUG(但是常常在许多方面影响你的机器:))

If the restricted-modules package for the kernel you are running is not available (it happens sometimes with K/Ubuntu), you may have to opt for running a kernel for which this package is available or to install the drivers directly from the setup script provided by ATI (https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=27)

如果针对你正运行内核的restricted-modules软件包不能启用(有些时候发生在K/Ubuntu),你可能要选择针对内核可用的软件包或是直接从由ATI提供的安装脚本安装驱动(https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=27)

Once the above packages are correctly installed, run these commands:

一旦上面的软件包被正确的安装,运行这些命令

sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
Then go back and edit xorg.conf with your favorite editor, perhaps:

然后,用你最喜爱的编辑器编辑xorg.conf 后返回退出。

gksudo gedit /etc/X11/xorg.conf
and make sure that under the "Device" section, the Driver is set to

并且确定"Device"段下面,驱动设定为

Driver "fglrx"
You will have 2 device sections related to your graphic card, one is the pre-aticonfig one, and should use the ati or radeon driver. No need to change this part as it is not used by xorg anymore. The other device section however will have to use the fglrx driver.

你会有两个设备段(device sections)与你的显卡相关,一个是pre-aticonfig,应使用ATI或是rradeon的驱动程序。这一部分是不需要修改的因为Xorg从来不会使用它。而另一个设备段使用的却是fglrx驱动程序。

It appears that fglrx is often unstable, at least on AMD64. System may lock on 8.25 driver. 3D accell may not work on 8.28. The 8.26.18 driver may be your best bet, as of Sept2006. Instructions for updating drivers are at: http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide#Method_2:_Generating.2FInstalling_Ubuntu_packages_for_the_8.28.8_drivers_in_Ubuntu_Dapper_Manually But I recommend 8.26 at this time, not 8.28.

最近在AMD64平台上,fglrx 常常显示出其不稳定性。系统可能锁定在8.25版本驱动程序上。在8.28版本上3D accell 可能不会工作。2006年9月发布的8.26.18版本驱动程序可能是最好的。升级驱动程序的说明在: http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide#Method_2:_Generating.2FInstalling_Ubuntu_packages_for_the_8.28.8_drivers_in_Ubuntu_Dapper_Manually 但是我在这个时侯推荐8.26版本,而非8.28版本。

重启系统.

确认驱动程序已经工作:
参考技术A 晕。这也叫新手看得懂的?!

这样开始:(确认能上网)
1.系统-系统管理-受限驱动管理器,打开,看见里面的图形卡受限,把它打勾,然后确定下载一些东西就可以。提示重启,暂时不管。
2.系统-系统管理-新立得……,打开,输入密码,进入后点搜索,输入:“compiz“,搜索范围点为”名称“,在结果中找到 compiz config setting manager,右键 选“标记以便安装”,
再搜索“xgl“,标记安装”xserver-xgl“。
点击”应用“,下载并安装软件。
3.重新启动。
4.桌面右键,更改桌面背景,点击上面的“桌面效果”,看到4个可选的,选择最后一个,并点击GTK进入3D效果设定。

具体3D效果请自己搜索文章,一堆一堆。
参考技术B 去ati的网站找下一个最新的驱动
我也是ati显卡,不过那时候的驱动需要用xgl才能开特效(我是用的beryl)
参考技术C 现在还说8.28驱动???

都出到8.45啦。。

而且8.28好像是不支持Composite的

lz还是到forum.ubuntu.com.cn看看好了, 上面好你是有教程的

要不问问我也可以
参考技术D 珍爱生命,远离A卡

华硕飞行堡垒zx50安装Ubunutu折腾记

今年8月入手了华硕zx50,配置不错,作为一个合格的Linux爱好者,没买来一台电脑肯定得装上Linux编个程序什么的吧,,可恶的是,笔记本安装Linux系统往往比较麻烦,必须折腾很久才安装上,我手上这台笔记本也不例外。

 

我选择了Ubuntu Gnome作为要安装的系统,其原因有两点:1.Ubuntu对笔记本的支持比较好,驱动比较丰富 2.我不喜欢Ubuntu的默认桌面环境,偏喜欢Gnome

从台式机里把系统镜像写到U盘之后,就开始准备安装Ubuntu,可是这个过程竟然持续了两天!= =....

一开始是设置了U盘启动之后,开机到Ubuntu启动画面然后就卡住了= =...

然后先后关闭了安全启动,屏蔽部分硬件,不用UEFI模式启动,都不行,都是卡在启动画面,各种搜索无果,然后后来在贴吧

  

以上是关于ubunutu显卡问题!!!~紧急!的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu18.04.4物理安装(双系统)分辨率调整windows桌面远程xrdp访问Ubunutu及远程桌面分辨率问题

Ubunutu20.04搭建Hadoop集群

ubunutu下图像编辑器安装

ubunutu eigen3包的查找

ubunutu_install_sublime_china

在xps13 上安装Ubunutu 16.04