انجمنهای فارسی اوبونتو
کمک و پشتیبانی => میزکارهای فانتزی و ۳ بعدی => نویسنده: hamid_rostami در 08 اردیبهشت 1387، 01:51 قظ
-
دوستان سلام
آقا من با اجازتون میخوام میزکار سه بعدی رو روی اوبونتوم راه بندازم.
راستوش بخواین بعد از خوندن چند تا پست از lomion جان درباره Compiz-Fusion با اون قلم زیباشون که عین داستانای علمی تخیلی مینوسه که من خیلی دوست دارم و دیدن میز کار خوشگل و قشنگش تصمیم گرفتم که حتما این کار رو انجام بدم.
ولی خب نمیدونم چرا وقتی توی Visual Effect میخوام فعالش کنم میگه فعال نمیشه .
ظاهرا که درایور کارت گرافیکم نصبه ، چون از لحاظ رزولوشن مشکلی ندارم و اونرو بدون هیچ مشکلی روی 1280*800 تنظیم کردم.
البته اینرو هم بگم که direct rendering: No هست .
و توی قسمت System>Administartion>Restricted Driver نشانی از درایور کارت گرافیک نیست !
چرا ؟
توی کاتالوگ لپ تاپم هم نوشته که کارت گرافیک از نوع GMA950 هست .
توی تاپیک های دیگه برای راه اندازی میز کار سه بعدی هم گشتم و اینو فهمیدم که خروچی چند تا دستور مهمه که برای تسریع حل مشکل اونارو اینجا میذارم :
glxinfo | grep direct
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect
lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
-
سلام!
$ glxgears
رو تست کنید! آیا سه تا چرخ دنده رو می تونید ببینید؟
البته سوال شما تخصصی ی !
لومیون! التماس دعا! من که گشتم چیزی به درد بخور پیدا نکرد برا چیپ اینتل
-
ولی خب نمیدونم چرا وقتی توی Visual Effect میخوام فعالش کنم میگه فعال نمیشه .
ظاهرا که درایور کارت گرافیکم نصبه ، چون از لحاظ رزولوشن مشکلی ندارم و اونرو بدون هیچ مشکلی روی 1280*800 تنظیم کردم.
دوست عزیز. نصب بودن یا نبودن کارت گرافیک توی لینوکس تاثیری در میزان رزولوشن صفحه ی شما نداره. نصب درایور کارت گرافیک به شما اجازه ی استفاده از قابلیت 3D کارت گرافیک رو می ده.
و توی قسمت System>Administartion>Restricted Driver نشانی از درایور کارت گرافیک نیست !
چرا ؟
فکر میکنم که درایوری برای کارت گرافیک شما شناخته نشده...
آیا سه تا چرخ دنده رو می تونید ببینید؟
علیرضااااااااااااا ](*,) ](*,) ](*,) داره می گه من میز کار سه یعدی ندارم. تو از چرخدنده های وسط مکعب ازش سوال می کنی ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ ](*,) ](*,)
-
میشه فایل etc/X11/xorg.conf/ رو اینجا بذارید، ببینمش؟
-
آیا سه تا چرخ دنده رو می تونید ببینید؟
علیرضااااااااااااا ](*,) ](*,) ](*,) داره می گه من میز کار سه یعدی ندارم. تو از چرخدنده های وسط مکعب ازش سوال می کنی ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ ](*,) ](*,)
این چرخ دنده ها ربطی به میزکار سه بعدی نداره...با mesa هم میشه دید.
-
آیا سه تا چرخ دنده رو می تونید ببینید؟
علیرضااااااااااااا ](*,) ](*,) ](*,) داره می گه من میز کار سه یعدی ندارم. تو از چرخدنده های وسط مکعب ازش سوال می کنی ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ ](*,) ](*,)
این چرخ دنده ها ربطی به میزکار سه بعدی نداره...با mesa هم میشه دید.
معذرت می خوام :( اینو بگذارید به حساب اطلاعات پایین من ](*,)
-
دوستان سلام و درود
ممنون از توجهتون
محتویات فایل xorg.conf :
# xorg.conf (xorg 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 "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "MinSpeed" "0.5"
Option "MaxSpeed" "0.7"
Option "AccelFactor" "0.0350"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
خدمتتون عارضم که دستور glxgrears ربطی داشته باشه به میزکار سه بعدی یا نه سه تا چرخ دنده رو نشون داد. بطوری که میانکین مصرف cpu به نصف رسیده بود. (سیستمم دو تا cpu داره )
اینم یه مقداری از خروجی این دستور:
3631 frames in 5.1 seconds = 712.901 FPS
3680 frames in 5.1 seconds = 724.448 FPS
3800 frames in 5.1 seconds = 738.847 FPS
3600 frames in 5.0 seconds = 716.701 FPS
در ضمن بسته i810 هم نصبه !
-
](*,)
بابا! انسان جایز الخطا است دیگه! صبح زود بود! چشام خوب نمی دید. :oops: شرمنده
-
دوستان کسی نظری نداره ؟!
محیط 3d رو بی خیال شم ؟ :-k
-
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:2:0"
EndSection
این مورد گویای این مطلب هستش که اصلا درایور ای برای گرافیک ات نصب نشده که مرتبط با سخت افزار ات باشه!
من ی کمی هم توی نت چرخ زدم ولی ندیدم کسی راه حلی داده باشه! چند نفر دیگه هم همین مورد رو داشتند! اما شرمنده که من چیزی ب ذهنم نمی رسه برای نصب گرافیک با چیپ اینتل.
-
:(
احتمال داره با اوبونتوی 8.10 درایوری برای کارت گرافیکم ارایه شده باشه ؟
-
8.10 که شش ماه دیگه میاد!
8.04 هم نمی دونم! حداقل لایو اش رو باید تست کنید!
-
عرض کنم که گرافیک من همینه
arash@laptop:~$ lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
و اوبونتو ۷٫۱۰ که خودش اینو شناخته و نصب کرده. چون از نسخهی ۷٫۰۴ تنظیمات رو خودش انجام میده...
حالا این کارو بکن ببین چی میشه:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
و فایل /etc/X11/xorg.conf خدت رو با اینی که من میذارم عوض کن:
# xorg.conf (xorg 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 "glx"
Load "dbe"
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "MinSpeed" "0.5"
Option "MaxSpeed" "0.7"
Option "AccelFactor" "0.0350"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:2:0"
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "true"
Section "Extensions"
Option "Composite" "Enable"
EndSection
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
بعد محیط X رو ریاستارت کن و اینو تو ترمینال بزن:
LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp &
-
کم این راه روی با طرح شدن از طرف یکی از دوستان که این کار رو کرده دارم نقل می کنم...
مدل گرافیکش هم دقیقا مثل شما هستش...
sudo apt-get install envyng-gtk
پس از داونلود و نصب. این دستور رو بزنید :
sudo envyng -t
بعد از انجام این کارها یک بار دیگر این دستور رو بزنید و نتیجه direct rendering رو ببینید :
glxinfo | grep direct
-
کم این راه روی با طرح شدن از طرف یکی از دوستان که این کار رو کرده دارم نقل می کنم...
مدل گرافیکش هم دقیقا مثل شما هستش...
sudo apt-get install envyng-gtk
پس از داونلود و نصب. این دستور رو بزنید :
sudo envyng -t
بعد از انجام این کارها یک بار دیگر این دستور رو بزنید و نتیجه direct rendering رو ببینید :
glxinfo | grep direct
nevy جدیدا غیر از Nvidia و ATI چیپ دیگه ای رو هم پوشش داده پس، آره؟
-
دوستان ممنون از جواباتون .
تست میکنم و جواب رو میگم .
خیلی مخلصیم ):P
-
چکار کنم دیگه! مجبورم خب :D
به نمایندگی از طرفه همه دوستان::
ما بیشتر ;)
-
دوستان سلام
من روشهایی رو که فرموده بودید تست کردم.
روش اول که جایگزینی فایل xorg.conf پیشنهادی بود جواب نداد. تازه رزولوشن گرافیک هم پایین اومده بود که با برگردوندن فایل xorg.conf اصلی حل شد .
پکیج envyng-gtk رو هم نصب کردم و envyng –t رو هم اجرا کردم.
صفحه ای باز شد که اجازه نصب درایور کارتهای گرافیک ATI و NVIDIA رو میداد.
کارت گرافیک من که هیچ کدوم از اونا نیست.
چیکار کنم ؟؟
-
دوستان ، مفتخرم خدمتتون عرض کنم که [ حل شد ]
\\:D/ \\:D/
فایل xorg.conf رو با این عوض کردم :
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "dual head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapMove" "110"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
EndSection
Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1280x800"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 90.0
VertRefresh 59.9 - 60.1
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
Option "Clone" "True"
Option "MonitorLayout" "CRT,LFP"
Option "CloneRefresh" "60"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
دمتون گرم
-
به جمع فیوژن کارا خوش اومدی... :)
-
:D
مباراکا باشه آقا
حتما این بسته رو نصب کن
$ sudo apt-get install compizconfig-settings-manager
بعد برو به System>Preferences>AdvancesSettingManager
اگه درست یادم باشه! همین بود! برو ببین چ خبره دنیا!
@};-
-
اتفاقا دیشب اولین کاری که کردم این بود که compizconfig-settings-manager رو نصب کردم .
خیلی خیلی عالیه \\:D/ \\:D/ \\:D/
بازم از همتون تشکر میکنم .
مرسی
-
حالا که میز کارت راه افتاد. استفاده از اینجا هم خالی از لطف نیست ;) ;)
http://forum.ubuntu.ir/index.php?topic=3581.0
-
badjoker جان ممنون .
راستی این دکمه تشکر کجاست ؟؟