雷诺
发表于 2005-4-17 14:50:24
5555~~装了xorg进不去x,打了第二个命令完了也进不去555~看来我们才鸟还是先学习学习吧,不过自己能把kde升级到3.40,觉得在论坛学到的东西还是不少的。
turingcat
发表于 2005-4-17 14:55:35
抓狂~用konqueror浏览网页,一想回帖子就停止相应.晕死.难道那么大一个bug,xorg都不知道?
ys021662
发表于 2005-4-17 14:56:27
5555~~装了xorg进不去x,打了第二个命令完了也进不去555~看来我们才鸟还是先学习学习吧,不过自己能把kde升级到3.40,觉得在论坛学到的东西还是不少的。
是出现什么错误呢?能贴一下你的/var/log/Xorg.0.log 吗?
lockfan
发表于 2005-4-17 16:51:12
照你的步骤做完的,可是3D就是打不开...不管那个AGPGART是y还是n....
lsmod看fglrx模块也是加载了的:fglrx 2086360
把libGL.so.1删除照你的方法也做了...可就是打不开的说
把那几项贴上来好了~..
# glxinfo
name of display: :0.0
display: :0screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visualxbf lv rg d st colorbuffer ax dp st accumbuffermscav
id dep cl sp sz lci b rorgba bf th clrgba ns b eat
----------------------------------------------------------------------
0x23 24 tc0 240 ry.88800 16000001 0 None
0x24 24 tc0 240 ry.88800 168 16 16 1601 0 None
0x25 24 tc0 320 ry.88880 168 16 16 16 161 0 None
0x26 24 tc0 320 r..88880 168 16 16 16 161 0 None
0x27 24 dc0 240 ry.88800 16000001 0 None
0x28 24 dc0 240 ry.88800 168 16 16 1601 0 None
0x29 24 dc0 320 ry.88880 168 16 16 16 161 0 None
0x2a 24 dc0 320 r..88880 168 16 16 16 161 0 None
# fgl_glxgears
X Error of failed request:BadMatch (invalid parameter attributes)
Major opcode of failed request:142 (GLX)
Minor opcode of failed request:5 (X_GLXMakeCurrent)
Serial number of failed request:32
Current serial number in output stream:32
xorg.conf中的ATI DRIVER段:
# === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:2:0:0" # vendor=1002, device=4152
Screen 0
EndSection
ys021662
发表于 2005-4-17 16:54:22
能贴一下你的/var/log/Xorg.0.log 吗?
雷诺
发表于 2005-4-17 17:27:05
我准备从装了因为每次都不是自动进x?还要startx?为什么???
turingcat
发表于 2005-4-17 17:29:30
init写错了把应该是init5的
雷诺
发表于 2005-4-17 17:31:12
不知道,装上从起就是不自动登陆x,要手动郁闷阿。
ys021662
发表于 2005-4-17 17:40:56
不知道,装上从起就是不自动登陆x,要手动郁闷阿。
看/etc/inittab中
id:5:initdefault:
是不是5,如果不是改成5
雷诺
发表于 2005-4-17 17:45:59
不知道,装上从起就是不自动登陆x,要手动郁闷阿。
看/etc/inittab中
id:5:initdefault:
是不是5,如果不是改成5
谢谢!我从装看看。然后再装xorg,要是还进不去再来请教搂住啦 :oops:
对了,删除xf和装xorg是不是不能在图形界面下呢?
xx_zz
发表于 2005-4-17 19:39:41
仔细看了一下ys021662兄写的文档,发现有点细节问题,特地补充一下:
1.第5步编译内核,请提到第1步做!
fglrx驱动的安装是要基于内核编译的,而ML初始的内核源码是没有编译过的。如果在源码未编译过之前就安装fglrx,极有可能失败,大家仔细看安装的提示就会明白了。编译内核注意:
rm -rf /lib/modules/2.6.9/build
ln -s /usr/src/linux-2.6.9/ /lib/modules/2.6.9/build
上面步骤一定要做,ml默认的build链接有错,不重新链接的话,安装fglrx会提示没有内核源代码!如果你使用的是不同的内核的话请自行链接到你的源码!
cd /usr/src/linux
cp /boot/config-2.6.9 .config
最好不要用ln!
make menuconfig
在X下操作的话,请先把终端窗口最大化!
不用做任何修改保存退出就行了,ys021662兄列出的选项其实原来都带了的。
make
如果未做任何修改的话,下面的步骤不用做了,因为就是原来的内核。
make modules_install
make install
其实上面make的这几步我觉得都可以省略的,如果不修改内核选项的话,只要简单的
make scripts
应该就可以了。我自己的源码因为装摄像头驱动时已经事先编译过了,所以无法验证是否可行,大家可以自己试试。
2.删除xfree的所有包,最好先init 3退到字符下做。
3.安装xorg。可以直接rpm -ivh *.rpm --force --nodeps就行了,不用再重新安装fonts的。
4.安装ATI显卡驱动包
这里注意看提示,如果提示无内核源代码,可能是第1步build链接不对,也可能是内核版本不对。安装正常的话,应该没有任何提示的。
5.编译显卡驱动
ml原2.6.9内核可以直接跳过该步。
6.配置显卡驱动
这里注意一下鼠标,键盘,显示器的设置,其他的选项实在不肯定的话用默认值也没问题的。
7.fgl_glxgears无法运行的问题一般都会遇到,照方法解决就行了。
GOOD LUCK!有什么问题可以提出来一起讨论,祝大家的镭卡都能在ML上顺利舞动起来!
:)
ys021662
发表于 2005-4-17 19:43:47
多谢xx_zz兄 :P
lockfan
发表于 2005-4-18 13:30:27
现在不在LINUX下....
具体情况上面贴的也算清楚了吧..
装完fglrx也直接找到我的卡了
看到显示的大概是这样~...PCI:2:0:0 RV350
但就是3D无法加载
哪位大虾再帮忙支个招啊...
xx_zz
发表于 2005-4-18 13:48:08
lockfan,能把你的/lib/modules/fglrx/build_mod/make.sh.log
和/lib/modules/fglrx/make.2.6.9.log
贴出来看看么?
lockfan
发表于 2005-4-18 17:11:03
lockfan,能把你的/lib/modules/fglrx/build_mod/make.sh.log
和/lib/modules/fglrx/make.2.6.9.log
贴出来看看么?
THX先~:)
附上偶的这两个文件
ATI module generator V 2.0
==========================
initializing...
build_date =日 4月 17 01:30:00 EDT 2005
uname -a =Linux MagicLinux 2.6.9 #2 Sun Apr 17 00:11:50 EDT 2005 i686 athlon i386 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.9
uname -v =#2 Sun Apr 17 00:11:50 EDT 2005
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
.
drwxr-xr-x165 root root 245764月 17 01:05 /usr/include
.
总用量 16
drwxr-xr-x 2 root root 40964月 17 01:29 ATI
drwxr-xr-x 3 root root 40964月 16 18:15 debug
lrwxrwxrwx 1 root root 204月 16 18:15 linux -> /usr/src/linux-2.6.9
drwxrwxr-x19 root root 40964月 17 00:11 linux-2.6.9
drwxr-xr-x 7 root root 40964月 16 18:13 mBuild
.
file /lib/modules/2.6.9/build/include/linux/agp_backend.h says: AGP=1
assuming default: SMP=0
file /lib/modules/2.6.9/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=3.4.3
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx1 root root 204月 17 01:30 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC3
.
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.9/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
CC [M]/lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M]/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M]/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6526: warning: unused variable `cap_ptr'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6507: warning: 'agp_check_supported_device' defined but not used
CC [M]/lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
CC [M]/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2660: warning: initialization from incompatible pointer type
LD [M]/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M]/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.9'
build succeeded with return value 0
.
duplicating results into driver repository...
target location: /lib/modules/fglrx
copying fglrx.ko
copying logfile of build
*** end of build log ***
ATI module generator V 2.0
==========================
initializing...
build_date =日 4月 17 01:30:00 EDT 2005
uname -a =Linux MagicLinux 2.6.9 #2 Sun Apr 17 00:11:50 EDT 2005 i686 athlon i386 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.9
uname -v =#2 Sun Apr 17 00:11:50 EDT 2005
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
.
drwxr-xr-x165 root root 245764月 17 01:05 /usr/include
.
总用量 16
drwxr-xr-x 2 root root 40964月 17 01:29 ATI
drwxr-xr-x 3 root root 40964月 16 18:15 debug
lrwxrwxrwx 1 root root 204月 16 18:15 linux -> /usr/src/linux-2.6.9
drwxrwxr-x19 root root 40964月 17 00:11 linux-2.6.9
drwxr-xr-x 7 root root 40964月 16 18:13 mBuild
.
file /lib/modules/2.6.9/build/include/linux/agp_backend.h says: AGP=1
assuming default: SMP=0
file /lib/modules/2.6.9/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=3.4.3
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx1 root root 204月 17 01:30 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC3
.
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.9/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
CC [M]/lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M]/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M]/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6526: warning: unused variable `cap_ptr'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6507: warning: 'agp_check_supported_device' defined but not used
CC [M]/lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
CC [M]/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2660: warning: initialization from incompatible pointer type
LD [M]/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M]/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.9'
build succeeded with return value 0
.
duplicating results into driver repository...
target location: /lib/modules/fglrx
copying fglrx.ko
copying logfile of build
*** end of build log ***