LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1038|回复: 10

ATI驱动在startx和gdm下面有区别吗?

[复制链接]
发表于 2010-5-23 13:35:35 | 显示全部楼层 |阅读模式
显卡是ati 2600 pro,桌面是GNOME,按照wiki上的方法搞定kms
但是有下面的问题:
/etc/inittab修改为3,通过startx启动,glxinfo显示open gl 里面的信息好像是gl****_nv什么的,glxgears分数300左右

如果inittab修改为5,通过gdm登录,glxinfo显示的信息就是ATI的,而且有DRI2,此时的glxgears分数为1000左右

startx和gdm区别吗?

命令行下通过sudo gdm启动,驱动也是正常的.

而且gdm登录后,移动硬盘可以直接挂载
通过startx启动,移动硬盘无法挂载,提示权限不够

望大侠指教
发表于 2010-5-23 13:50:18 | 显示全部楼层
问问题之前还是先看看置顶帖吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-23 16:31:12 | 显示全部楼层
Post by qiang_liu8183;2091811
问问题之前还是先看看置顶帖吧

我已经看过置顶了
能指点一下是哪篇置顶吗,多谢
回复 支持 反对

使用道具 举报

发表于 2010-5-23 23:11:38 | 显示全部楼层
提供详细信息。理论上是没有区别的。

关于挂载的问题,是这样的,因为现在的挂载需要consolekit和polkit还有gvfs,需要支持consolekit的登录管理器
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-24 09:20:12 | 显示全部楼层
Post by jarryson;2091884
提供详细信息。理论上是没有区别的。

关于挂载的问题,是这样的,因为现在的挂载需要consolekit和polkit还有gvfs,需要支持consolekit的登录管理器


谢谢,最近断网了,等通网了我发点详细信息上来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-24 22:21:47 | 显示全部楼层
今天竟然通网了。。下面是相关信息,不知道对问题有没有帮助
startx登录
  1. [newway@here ~]$ glxinfo | grep rend
  2. direct rendering: Yes
  3. OpenGL renderer string: Software Rasterizer
  4.     GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program,
复制代码

gdm登录
[newway@here ~]$ glxinfo | grep render
  1. direct rendering: Yes
  2. OpenGL renderer string: Mesa DRI R600 (RV630 9589) 20090101 x86/MMX/SSE2 TCL DRI2
复制代码

下面是我的xorg.conf文件
  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Mouse0" "CorePointer"
  5.         InputDevice    "Keyboard0" "CoreKeyboard"
  6. EndSection
  7. Section "Files"
  8.         ModulePath   "/usr/lib/xorg/modules"
  9.         FontPath     "/usr/share/fonts/misc"
  10.         FontPath     "/usr/share/fonts/100dpi:unscaled"
  11.         FontPath     "/usr/share/fonts/75dpi:unscaled"
  12.         FontPath     "/usr/share/fonts/TTF"
  13.         FontPath     "/usr/share/fonts/Type1"
  14. EndSection
  15. Section "Module"
  16.         Load  "record"
  17.         Load  "dbe"
  18.         Load  "extmod"
  19.         Load  "dri2"
  20.         Load  "glx"
  21.         Load  "dri"
  22. EndSection
  23. Section "InputDevice"
  24.         Identifier  "Keyboard0"
  25.         Driver      "kbd"
  26. EndSection
  27. Section "InputDevice"
  28.         Identifier  "Mouse0"
  29.         Driver      "mouse"
  30.         Option            "Protocol" "auto"
  31.         Option            "Device" "/dev/input/mice"
  32.         Option            "ZAxisMapping" "4 5 6 7"
  33. EndSection
  34. Section "Monitor"
  35.         #DisplaySize          400   250        # mm
  36.         Identifier   "Monitor0"
  37.         VendorName   "PHL"
  38.         ModelName    "Philips 190CW"
  39.         HorizSync    30.0 - 83.0
  40.         VertRefresh  55.0 - 75.0
  41.         Option            "DPMS"
  42. EndSection
  43. Section "Device"
  44.         ### Available Driver options are:-
  45.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  46.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  47.         ### [arg]: arg optional
  48.         #Option     "NoAccel"                    # [<bool>]
  49.         #Option     "SWcursor"                   # [<bool>]
  50.         #Option     "Dac6Bit"                    # [<bool>]
  51.         #Option     "Dac8Bit"                    # [<bool>]
  52.         #Option     "BusType"                    # [<str>]
  53.         #Option     "CPPIOMode"                  # [<bool>]
  54.         #Option     "CPusecTimeout"              # <i>
  55.         #Option     "AGPMode"                    # <i>
  56.         #Option     "AGPFastWrite"               # [<bool>]
  57.         #Option     "AGPSize"                    # <i>
  58.         #Option     "GARTSize"                   # <i>
  59.         #Option     "RingSize"                   # <i>
  60.         #Option     "BufferSize"                 # <i>
  61.         #Option     "EnableDepthMoves"           # [<bool>]
  62.         #Option     "EnablePageFlip"             # [<bool>]
  63.         #Option     "NoBackBuffer"               # [<bool>]
  64.         #Option     "DMAForXv"                   # [<bool>]
  65.         #Option     "FBTexPercent"               # <i>
  66.         #Option     "DepthBits"                  # <i>
  67.         #Option     "PCIAPERSize"                # <i>
  68.         #Option     "AccelDFS"                   # [<bool>]
  69.         #Option     "IgnoreEDID"                 # [<bool>]
  70.         #Option     "CustomEDID"                 # [<str>]
  71.         #Option     "DisplayPriority"            # [<str>]
  72.         #Option     "PanelSize"                  # [<str>]
  73.         #Option     "ForceMinDotClock"           # <freq>
  74.         #Option     "ColorTiling"                # [<bool>]
  75.         #Option     "VideoKey"                   # <i>
  76.         #Option     "RageTheatreCrystal"         # <i>
  77.         #Option     "RageTheatreTunerPort"         # <i>
  78.         #Option     "RageTheatreCompositePort"         # <i>
  79.         #Option     "RageTheatreSVideoPort"         # <i>
  80.         #Option     "TunerType"                  # <i>
  81.         #Option     "RageTheatreMicrocPath"         # <str>
  82.         #Option     "RageTheatreMicrocType"         # <str>
  83.         #Option     "ScalerWidth"                # <i>
  84.         #Option     "RenderAccel"                # [<bool>]
  85.         #Option     "SubPixelOrder"              # [<str>]
  86.         #Option     "ShowCache"                  # [<bool>]
  87.         #Option     "ClockGating"                # [<bool>]
  88.         #Option     "VGAAccess"                  # [<bool>]
  89.         #Option     "ReverseDDC"                 # [<bool>]
  90.         #Option     "LVDSProbePLL"               # [<bool>]
  91.         #Option     "AccelMethod"                # <str>
  92.         #Option     "DRI"                        # [<bool>]
  93.         #Option     "ConnectorTable"             # <str>
  94.         #Option     "DefaultConnectorTable"         # [<bool>]
  95.         #Option     "DefaultTMDSPLL"             # [<bool>]
  96.         #Option     "TVDACLoadDetect"            # [<bool>]
  97.         #Option     "ForceTVOut"                 # [<bool>]
  98.         #Option     "TVStandard"                 # <str>
  99.         #Option     "IgnoreLidStatus"            # [<bool>]
  100.         #Option     "DefaultTVDACAdj"            # [<bool>]
  101.         #Option     "Int10"                      # [<bool>]
  102.         #Option     "EXAVSync"                   # [<bool>]
  103.         #Option     "ATOMTVOut"                  # [<bool>]
  104.         #Option     "R4xxATOM"                   # [<bool>]
  105.         #Option     "ForceLowPowerMode"          # [<bool>]
  106.         #Option     "DynamicPM"                  # [<bool>]
  107.         #Option     "NewPLL"                     # [<bool>]
  108.         #Option     "ZaphodHeads"                # <str>
  109.         Identifier  "Card0"
  110.         Driver      "radeon"
  111.         VendorName  "ATI Technologies Inc"
  112.         BoardName   "RV630 [Radeon HD 2600 Series]"
  113.         BusID       "PCI:1:0:0"
  114. EndSection
  115. Section "Screen"
  116.         Identifier "Screen0"
  117.         Device     "Card0"
  118.         Monitor    "Monitor0"
  119.         SubSection "Display"
  120.                 Viewport   0 0
  121.                 Depth     1
  122.         EndSubSection
  123.         SubSection "Display"
  124.                 Viewport   0 0
  125.                 Depth     4
  126.         EndSubSection
  127.         SubSection "Display"
  128.                 Viewport   0 0
  129.                 Depth     8
  130.         EndSubSection
  131.         SubSection "Display"
  132.                 Viewport   0 0
  133.                 Depth     15
  134.         EndSubSection
  135.         SubSection "Display"
  136.                 Viewport   0 0
  137.                 Depth     16
  138.         EndSubSection
  139.         SubSection "Display"
  140.                 Viewport   0 0
  141.                 Depth     24
  142.         EndSubSection
  143. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2010-5-25 01:54:52 | 显示全部楼层
你的~/.xinitrc是?startx启动的时候使用的软件渲染
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-25 10:23:26 | 显示全部楼层
Post by jarryson;2092139
你的~/.xinitrc是?startx启动的时候使用的软件渲染


xinitrc就是最普通的..

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

export LANG=zh_CN.UTF-8
export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
ibus-daemon -d &
exec gnome-session
回复 支持 反对

使用道具 举报

发表于 2010-5-25 14:32:26 | 显示全部楼层
你的用户的组呢?我实在是想不出还可能有什么问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-26 00:27:06 | 显示全部楼层
Post by jarryson;2092267
你的用户的组呢?我实在是想不出还可能有什么问题。
  1. [newway@here ~]$ groups newway
  2. audio optical newway
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表