انجمن‌های فارسی اوبونتو

کمک و پشتیبانی => سخت‌افزار => نصب و پیکربندی انواع کارتهای گرافیک => نویسنده: netsaba در 02 اسفند 1387، 05:58 ب‌ظ

عنوان: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 02 اسفند 1387، 05:58 ب‌ظ
به نام خدا
سلام
دوستان ببینند این جملات من درسته:
برای تشخیص نصب بودن کارت گرافیک باید از دستور
glxinfo |grep direct
خروجی:
mahdi@mahdi-desktop:~$ glxinfo |grep direct
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect

پس نصب نیست
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: alis313 در 02 اسفند 1387، 06:14 ب‌ظ
اره متاسفانه نصب نیست.
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: sudotux در 02 اسفند 1387، 06:24 ب‌ظ
کارت گرافیکتون چیه ؟
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 02 اسفند 1387، 06:32 ب‌ظ
به نام خدا
سلام

RADEON 7000 / RADEON VE FAMILY / 64 m

توی سایتش که رفتم برا لینوکس سری 7000 نداره ولی برا ویندوز داره

http://ati.amd.com/support/driver.HTML
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: sudotux در 02 اسفند 1387، 07:31 ب‌ظ
اول این توضیح (http://forum.ubuntu.ir/index.php/topic,7654.msg58881.html#msg58881) رو بخونید.

ابتدا با دستور زیر مقدار fps فعلی کارت گرافیکتون رو ببینید:

glxgears
اگر بسته ی xorg-driver-fglrx نصبه , حذفش کنید:

sudo apt-get remove --purge xorg-driver-fglrx
از نصب بودن بسته های زیر مطمئن بشید:

sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri
از فایل xorg.conf بکاپ بگیرید:

sudo cp /etc/X11/xorg.conf /etc/X11/xorgback.conf
اگر به هر دلیلی مشکلی پیش اومد و اوبونتو بالا نیومد, اوبونتو رو در حالت recovery mode بوت کنید و دستور زیر رو اجرا کنید:

sudo cp -p /etc/X11/xorgback.conf /etc/X11/xorg.conf
دستور زیر رو اجرا کنید:

sudo gedit /etc/X11/xorg.conf
بخش مربوط به Section "Device رو به صورت زیر تغییر بدید:
Section "Device"
Identifier "Radeon"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option         "EnablePageFlip" "True"
Option         "UseInternalAGPGART" "no"
Option         "backingstore" "true"
Option         "AllowGLXWithComposite" "true"
Option          "RenderAccel" "true"
        Option          "AccelMethod"    "XAA"
EndSection

خط مربوط به BusID ممکنه برای شما فرق داشته باشه که باید با دستور زیر اون رو پیدا کنید:

lspci -nn | grep VGA
در انتهای فایل کد های زیر رو اضافه کنید:
Section "DRI"
        Mode 0666
EndSection
       
Section "Extensions"
        Option "Composite" "Enable"
EndSection

در بخش Section "Module مطمئن بشید که خط زیر وجود داره:

    Load           "dri"
فایل رو ذخیره کرده و سیستم رو ریست کنید. سپس دستورات زیر رو مجددا اجرا کنید:
glxinfo |grep direct

glxgears
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 02 اسفند 1387، 07:57 ب‌ظ
به نام خدا
سلام

آقا زحمت کشیدید دستت درد نکند من اول اومدم تشکر کنم.
 امتحان می کنم حتما جواب رو میدم.
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 04 اسفند 1387، 04:03 ب‌ظ
به نام خدا
سلام
آقا من همون کاری رو که گفتید انجام دادم ولی نشد.
حتی قبلا هم که رزولیشن من تا 1024 تا هم می رفت الان شده 480*640
این فایل xorg  قبل از پیکر بندی

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

 من کارهای شما را که روش اعمال کردم این طور شد

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
EndSection

Section "Device"

        Identifier "Radeon"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option         "EnablePageFlip" "True"
Option         "UseInternalAGPGART" "no"
Option         "backingstore" "true"
Option         "AllowGLXWithComposite" "true"
Option          "RenderAccel" "true"
        Option          "AccelMethod"    "XAA"


EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

Section "DRI"
        Mode 0666
EndSection
       
Section "Extensions"
        Option "Composite" "Enable"
EndSection

Section "Module"
 Load           "dri"
 EndSection

ولی بعد از ریست کردن و بالا اومدن به من ارور داد و با graphic low بالا اومد. بعد این فایل که تغییرات داده بودیم نامش شد xorg.conf1 و یکی دیگه ساخته با این مشخصات:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
#   sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "Device" "/dev/input/mice"
EndSection

Section "Device"
Identifier "Configured Video Device"
Boardname "vesa"
Busid "PCI:0:15:0"
Driver "vesa"
Screen 0
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 640 480
Modes "640x480@60"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
  screen 0 "Default Screen" 0 0
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: sudotux در 04 اسفند 1387، 04:16 ب‌ظ
فایل xorg.conf رو ویرایش کنید ( با بقیه فایل ها کاری نداشته باشید ). محتویات فایل رو به طور کامل پاک کنید و کدهای زیر رو عینا در داخل فایل copy & paste کنید:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Module"
        Load            "dri"
        Load            "dbe"
        Load            "glx"
Load "GLcore"
Load "v4l"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
EndSection

Section "Device"
        Identifier "Radeon 7000"
Driver "ati"
BusID "PCI:0:15:0"
Option "AGPMode" "4"
Option         "EnablePageFlip" "True"
Option         "UseInternalAGPGART" "no"
Option         "backingstore" "true"
Option         "AllowGLXWithComposite" "true"
Option          "RenderAccel" "true"
        Option          "AccelMethod"    "XAA"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-72
        VertRefresh     43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Radeon 7000"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

Section "DRI"
        Mode 0666
EndSection
       
Section "Extensions"
        Option          "Composite"  "Enable"
EndSection


دقت کنید که در انتهای فایل یک خط خالی وجود داشته باشه !
فایل رو ذخیره و سیستم رو ریست کنید.
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 04 اسفند 1387، 04:59 ب‌ظ
به نام خدا
سلام
دقیقا همون کار رو کردم بعد از ریست   این پیام داد

http://i39.tinypic.com/2hxaqg7.gif

که من اگه Continue رو بزنم می ره داخل اوبونتو البته با low-graphic mod و اگر دکمه configure  رو بزنم این میاد
http://i40.tinypic.com/2jalp8h.jpg
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: sudotux در 04 اسفند 1387، 06:08 ب‌ظ
فکر کنم مشکل اصلی رو پیدا کردم. فایل xorg.conf رو ویرایش کنید. در بخش زیر:

Section "Device"
        Identifier "Radeon"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option         "EnablePageFlip" "True"
Option         "UseInternalAGPGART" "no"
Option         "backingstore" "true"
Option         "AllowGLXWithComposite" "true"
Option          "RenderAccel" "true"
        Option          "AccelMethod"    "XAA"
EndSection

در خط Driver , متغیر radeon رو به ati تغییر بدید. به صورت زیر:

Driver "ati"
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 04 اسفند 1387، 06:53 ب‌ظ
به نام خدا
سلام
مهندس جان باز هم

نقل‌قول
دقیقا همون کار رو کردم بعد از ریست   این پیام داد

http://i39.tinypic.com/2hxaqg7.gif

که من اگه Continue رو بزنم می ره داخل اوبونتو البته با low-graphic mod و اگر دکمه configure  رو بزنم این میاد
http://i40.tinypic.com/2jalp8h.jpg
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: sudotux در 04 اسفند 1387، 07:20 ب‌ظ
خروجی دستور زیر رو اینجا بگذارید:

lspci -nn | grep VGA
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 04 اسفند 1387، 07:26 ب‌ظ
به نام خدا
سلام

00:0f.0 VGA compatible controller [0300]: Inc Abstract SVGA II Adapter [15ad:0405]
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: sudotux در 04 اسفند 1387، 08:07 ب‌ظ
مطمئنید که کارت گرافیکی شما RADEON 7000 هست ؟؟  :o ???
احیانا اون دستوری رو که توی پست قبلی گفتم از داخل ماشین مجازی مانند vmware که اجرا نکردید ؟

اگر امکان داره سیستم رو با LiveCD اوبونتو بوت کنید و دستوری رو که در پست آخر گفتم اجرا کنید و خروجی رو اینجا بگذارید.

من فکر کنم شما به این نکته که در این پست (http://forum.ubuntu.ir/index.php/topic,8794.msg67149.html#msg67149) گفتم توجه نکردید:

نقل‌قول
خط مربوط به BusID ممکنه برای شما فرق داشته باشه ...
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 04 اسفند 1387، 09:08 ب‌ظ
به نام خدا
سلام
البته یه توضیحی بدم. من تو شرکت برا اینکه هنوز مدیران ارشد موافق اوبونتو نیستند مجبورم که از vmware استفاده کنم تا بتونم قابلیتهای اونو رو به اونها نشون بدم البته خودم روی سیستم خودم اوبونتو رو نصب کرده ام. و امیدوارم یه روزی بتونم همه سیستمهای شرکت رو به این سیستم عامل دوست داشتنی تغییر بدم و همه تلاشم رو می کنم. تا الان هم کلی از بچه ها رو با کلی صحبت کردن تونستم راضی کنم ولی یه دید بدی اینا دارن طول میکشه ولی ...
مهندس جان من اگه می دونستم این تاثیری داره حتما بهت می گفتم بله من روی یکی از سیستمها از vmware استفاده می کنم.
نمی دونم اگه فکر می کنی مشکلی ایجاد میکنه یعنی نمیشه کارت رو نصب کرد تا همین جا هم دستت درد نکنه ببینم خودم چه کار می تونم بکنم.
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: sudotux در 04 اسفند 1387، 09:17 ب‌ظ
پس حدسم درست بود. نمی دونم از طریق vmware میتونیم به نتیجه برسیم یا نه ! با این حال من تلاشم رو می کنم تا مشکلتون حل بشه ...
من این پست (http://forum.ubuntu.ir/index.php/topic,8794.msg67346.html#msg67346) رو ویرایش کردم. اگر امکان داره مجددا اون پست رو انجام بدید و نتیجه رو بگید.
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 04 اسفند 1387، 09:51 ب‌ظ
به نام خدا
سلام
مهندس جان من تازه از شرکت برگشتم . فردا اول صبح جوابش رو میدم.
بازم ممنون.
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: netsaba در 05 اسفند 1387، 09:42 ق‌ظ
به نام خدا
سلام
باز هم همون مشکل رو داره
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: mahdiubuntu در 05 اسفند 1387، 11:58 ب‌ظ
سلام من هم مشکل مشابه نصب کارت گرافیک رو دارم ولی خروجی دستور glx من اینطوریه:
 
glxinfo |grep direct
direct rendering: No (LIBGL_ALWAYS_INDIRECT set)

البته این رو هم بگم که لپ تاپ من خیلی قدیمیه. نمی دونم اون موقعی که این رو می ساختن کارت گرافیکی اختراع شده بود یا نه!!!  :D
این مشخصات کارت گرافیکمه:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02

ضمنا این هم مقدار fps و اخرش هم یه error می گیره:
 
glxgears
2170 frames in 5.0 seconds = 433.898 FPS
2148 frames in 5.0 seconds = 429.469 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 43287 requests (43126 known processed) with 0 events remaining.
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: aminvo در 27 فروردین 1388، 10:02 ق‌ظ
ba salam khedmate doostan
man ham ba card graphic moshkel daram vaghti dastoore zir ra type mikonam ke fekr konam baraye test graphic ast javabe zir ra behem mide  vali vaghti mikham appearance ra extrash ra faal konam peygham mide graphic nasb
nist


amin@amin-desktop:~/Desktop$ glxinfo |grep direct
direct rendering: Yes
عنوان: پاسخ به: تشخیص نصب بودن گرافیک؟
ارسال شده توسط: lomion در 28 فروردین 1388، 08:58 ق‌ظ
از چه روشی نصب کردید کارت رُ؟
احتمالا باید Composite رُ چک کنید که توی فایل xorg.conf فعاله یا نه. اگه نبود اضافه کنید. توی انجمن در موردش صحبت شده.