|
大家好,装了linux后,在X界面下屏幕闪烁很厉害,改动分辨率和刷新频率也没有用。后来
发现是显卡驱动的问题。我的系统是RedHat9,显卡是VIA/S3G Unichrome Pro Integrated,
是VIA Technologies公司的。还有一个K8M800(可能是主板的型号?)
我从--http://unichrome.sourceforge.net -- 上下载了一个叫作xf86-video-unichrome-0.2.6.tar.gz
的文件,它里面的TEADME文件有一个地方看不懂:
................................
1) Monolithic X:
----------------
Applies to xfree86 4.3.0 through 4.6.0, and X.org 6.7, 6.8 and 6.9.
1.1) Against a full X tree:
This requires that a sufficiently built X tree is present (see 1.2
otherwise). The top level directory of an X tree tends to be named xc/.
Replace <path_to_xc> with whatever is suited for you.
From the top level, in xf86-video-unichrome/, (the same level as this
file) run:
# xmkmf <path_to_xc>
# make Makefiles
# make
# make install
"This requires that a sufficiently built X tree is present"---什么是x tree呢?
The top level directory of an X tree tends to be named xc/.----xc/在哪里呢?
是个什么目录?没有找到,也不懂。希望各位大侠指点迷津。
还有,按照这种方法装上驱动以后,接下来怎么做呢?直接去改/etc/X11/XF86Config吗?
还是在这之前还需要别的步骤?请高手指教。
-----------------------
完整的readme的文件:
Building The Unichrome Projects drivers for your X version:
-----------------------------------------------------------
WARNING: The content of this file is about building and installing this
driver yourself. This will not make your package manager happy. You might
also want to back up via_drv.o/so and the manpage first.
If you run into any difficulties, please contact the unichrome-users
mailinglist at unichrome-users@lists.sourceforge.net . Subscribe at
http://lists.sourceforge.net/mailman/listinfo/unichrome-users first.
1) Monolithic X:
----------------
Applies to xfree86 4.3.0 through 4.6.0, and X.org 6.7, 6.8 and 6.9.
1.1) Against a full X tree:
This requires that a sufficiently built X tree is present (see 1.2
otherwise). The top level directory of an X tree tends to be named xc/.
Replace <path_to_xc> with whatever is suited for you.
From the top level, in xf86-video-unichrome/, (the same level as this
file) run:
# xmkmf <path_to_xc>
# make Makefiles
# make
# make install
1.2) Preparing an X tree:
...
1.3) Against the SDK/DDK:
...
2) Modular X:
-------------
Suited for Xorg 7.0, 7.1.
2.1) Requirements:
- An X version more recent than 7.0 RC2 (there was a macro difference before
that).
- A full X install or the xorg DDK installed. Here is a list of package
names for the common distributions:
* Debian and derivates: xserver-xorg-dev
* Redhat/SuSE: xorg-x11-server-sdk
Contact me if you would like to add to this list.
2.2) Building:
Building against modular is a breeze. All it takes is:
# ./autogen.sh
or
# ./autogen.sh --prefix=<...>
and then
# make
and
# make install
2.3) Common problems:
2.3.1) aclocal is unable to find X macros.
You will see configure complain with:
./configure: line xxxxx: XORG_MANPAGE_SECTIONS: command not found
./configure: line xxxxx: XORG_RELEASE_VERSION: command not found
What happens is that aclocal is unable to find your xorgversion.m4 and
xorg-macros.m4. These are usually found in <prefix>/share/aclocal
This can be solved by doing the following before running autogen.sh:
- permanent solution: add a file named dirlist to your
/usr/share/aclocal/ directory, and add a line with the path for X
macros.
- temporary solution: run
# export ACLOCAL_LOCALDIR="<prefix>/share/aclocal/"
2.3.2) XORG_DRIVER_CHECK_EXT missing from macros.
Configure fails with following message:
./configure: line xxxxx: syntax error near unexpected token `RANDR,'
./configure: line xxxxx: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'
The cause of this is that xorg-server.m4 isn't available. This was only
added a few days before 7.0RC2 was tagged, but it is quite incompatible
with earlier versions.
Make sure you have at least RC2.
If anyone with a lot of autoconf experience knows how to properly check
for the existence of individual macros at the autoheader stage, please
don't hesitate to contact me.
2.3.3) Automake too old.
autogen.sh fails with:
configure.ac: xxx: required file `./[config.h].in' not found
src/Makefile.am:xx: via_drv_la_SOURCES defined both conditionally
Make sure that you have at least automake version 1.7 |
|