ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Ubuntu

×ܽáÀÏʽоƬµÄÏÔʾ¿¨Í¼ÐÎ3D¼ÓËÙÅäÖÃ

·¢²¼Ê±¼ä:2009-12-05 22:06:52À´Ô´:ºìÁª×÷Õß:lijiang
[i=s] ±¾Ìû×îºóÓÉ lijiang ÓÚ 2009-12-5 22:23 ±à¼­ [/i]

ͨ¹ý´ËÎÄ×ܽáÒ»ÏÂÖîÈçÀÏ°æÏÔʾоƬµÄͼÐÎ3D¼ÓËÙÅäÖÃÄÑÌ⡣ʵʵÔÚÔÚ°ïÖúÄÇЩÏñÎÒÒ»ÑùÓÃ×ÅÀÏʽоƬµÄÏÔʾ¿¨µÄlinuxÈË¡£ÎÒ±»´ËÎÊÌâÀ§ÈÅÁ˽ϳ¤Ò»¶Îʱ¼ä¡£ÒòΪÍøÉϵĽâ¾ö°ì·¨¶¼Ã»Óг¹µ×½â¾ö!ÎÒµ±Ê±ÏÂÁ˾öÐIJ»¸ã¶®Õâ¸ö¼¬ÊÖÎÊÌâ²»Ñо¿linuxÆäËûÁìÓòÎÊÌâµÄ¡£ÒòΪͼÐμÓËÙ²»¸ã¶¨£¬¾Í²»ÄÜÔËÐÐÖîÈç3d×ÀÃæÌØЧ£¬3dÓÎÏ·£¬google earth¡­×ÜÖ®£¬ºÜ¶àµÄ³ÌÐòµÄÔËÐÐÀë²»¿ªÍ¼ÐμÓËÙ£¡
²»ÉÙÈË¿ÉÄÜҪ˵£ºlinuxϵÄͼÐμÓËÙÅäÖÃÓÐÄÇôÀ§ÄÑÂð£¿Ã»´í£¡¾ÝÎÒÁ˽⵽£¬½üÁ½ÈýÄê³öÀ´µÄпîÏÔʾоƬȷʵֻÐèÒªµã»÷ÏÂÔØ×Ô¶¯°²×°Æ¥ÅäµÄͼÐμÓËÙ³ÌÐò¼´¿É£¬ÅäÖÃÎļþ/etc/X11/xorg.conf»á×Ô¶¯±»ËüÅäÖóɹ¦!µ«ÎÒµÄÀÏʽÏÔ¿¨È·ÊµÐèÒª×Ô¶¯ºÍÊÖ¶¯ÅäÖÃË«¹ÜÆëÏ£¡
ÎÒµÄÀÏʽÏÔ¿¨£ºnvidia GeForce2 MX400 OS:ubuntu 8.04
µ±ÎÒ°Ñubuntu8.04°²×°Íê³Éºó£¬½øÈë×ÀÃæ»·¾³²Ëµ¥ÕÒµ½µ¥»÷²Ëµ¥ÏµÍ³¹ÜÀí->Ó²¼þÇý¶¯£¨µÚÈý·½ÊÜÏÞÇý¶¯£©×Ô¶¯°²×°×îÐÂÆ¥ÅäµÄÇý¶¯³ÌÐò£¬Íê³ÉºóÖØÐÂÆô¶¯ÏµÍ³£¬Äã»á·¢ÏÖ×ÀÃæ·Ö±æÂʽµµÃºÜµÍ£¡¶øÕâʱÓÃglxinfoµÈÃüÁî¼ì²âȷʵ¿ÉÒÔ·µ»Ø³É¹¦¼¤»îͼÐμÓËÙµÄÐÅÏ¢¡£
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
......
Õâʱºò¾ÍÓ¦¸Ã¸ü¸ÄÅäÖÃ/etc/X11/xorg.conf¡£
sudo gedit /etc/X11/xorg.conf
ÕÕ×ÅÎÒµÄÅäÖóɹ¦µÄÎļþÐ޸İɡ£Ö»Òª½«section¡±monitor¡±¡¢section¡±device¡±¡¢section¡±screen¡± Section "Module"ÕâËĶεIJÎÊý½øÐÐÊÖ¶¯ÅäÖþͿÉÒÔÁË£¬
ÕâÀïÕýÊÇÔÚ½â¾ö·Ö±æÂʽµµ½ºÜµÍµÄÎÊÌâ¡£ÎÒ½«ÅäÖÃÎļþÈ«²¿¸´ÖÆÏÂÀ´£¬´ó¼Ò¿ÉÒÔ¶ÔÕÕ¸ü¸Ä×Ô¼ºÏÔʾÅäÖÃÎļþ¡£

ÍêÕûÎļþ£º
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Jan 22 19:53:46 PST 2008

# 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 "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard" "CoreKeyboard"
Inputdevice "Configured Mouse" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
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 "mouse"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1024x768"
Horizsync 31.5 - 48.0
Vertrefresh 56.0 - 65.0
Gamma 1
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Boardname "vesa"
Busid "PCI:1:0:0"
Screen 0
Option "NoLogo" "True"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Virtual 1024 768
Depth 24
Modes "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
EndSubSection
Option "AddARGBGLXVisuals" "True"
EndSection
Section "Screen"
#
Identifier "screen1"
Device "device1"
Monitor "monitor1"
Defaultdepth 24
EndSection
ÊÖ¶¯¸ü¸ÄÏÔʾÅäÖÃÎļþÕýÊǽâ¾öͼÐμÓËÙ¹¦ÄܺͷֱæÂʵijåÍ»ÎÊÌ⣡
[size=4][/size]
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 5 ÌõÆÀÂÛ

  1. lijiang ÓÚ 2009-12-08 10:14:43·¢±í:

    ¸Ðл¥ÉϵIJ¹³ä˵Ã÷!

  2. wolf_blood ÓÚ 2009-12-08 08:12:32·¢±í:

    ÕâÀïÐèÒªÌáһϣ¬ÔÚUbuntu9.10ÀïÃ棬ϵͳĬÈÏûÓÐÅäÖÃxorg.confÕâ¸öÎļþ£¬µ¼ÖºܶàÅóÓÑÕÒ²»µ½Õâ¸öÎļþ£¬
    ÎÒÔÚubuntuÖÐÎÄÂÛ̳ÖÐÕÒµ½±ðµÄÅóÓѵĽâ¾ö·½·¨£¬ÔÚÕâÀï·ÖÏíһϡ£
    ¶ÔÓÚÀÏʽµÄnvidiaÏÔ¿¨ÈçMX400 MX440µÈ£¬°²×°ÊÜÏÞÇý¶¯ÒÔºó£¬ÔÚnvidia-settingÖÐÎÞ·¨saveµÄÎÊÌ⣬
    ¿ÉÒÔÏÈÔÚÖÕ¶ËÖÐÔËÐÐnvidia-xconfigÉú³ÉÒ»¸öеÄnvidia¿ÉÒÔ½âÎöµÄxorg.confÎļþ£¬È»ºóÔÙsudo nvidia-setting£¬É趨ºÃÒÔºó±£´æ¾ÍºÃÁË¡£

  3. Inoed ÓÚ 2009-12-06 00:05:19·¢±í:

    ºÃÎıض¥

  4. lijiang ÓÚ 2009-12-05 22:48:48·¢±í:

    [i=s] ±¾Ìû×îºóÓÉ lijiang ÓÚ 2009-12-5 23:15 ±à¼­ [/i]

    лл¥ÉϵÄÖ§³Ö£¬Ëæ×Åubuntu linuxµÄ·¢Õ¹£¬²ËÄñ»áÔ½À´Ô½¶àµÄ£¬ÎÒÊǹÀ¼Æ²»ÉÙÓû§ÐèÒªµÃµ½ÕâÑùµÄÒýµ¼

  5. ÍõÖÐÔÆ ÓÚ 2009-12-05 22:40:17·¢±í:

    ·¹ýÖ§³Ö