支付宝快捷登陆集成时不能跳转到ruturn_url.jsp页面
尝鲜试用FreeBSD10.0 Release,发现安装Intel集成显卡时候跟FreeBSD9.0不同http://blog.csdn.net/cheviko/article/details/18909803,主要就是弹出错误:unknown type name GLDEBUGPROCARB。
过程如下:
1、通过portsnap升级ports trees,首次使用通过命令:portsnap fetch extract,否则可以使用命令portsnap update
2、依照http://blog.csdn.net/cheviko/article/details/18909803 rebulid 各个pkg,
a) 升级libdrm:portmaster libdrm
b) 升级libGL:portmaster libGL #通过安装完成的提示可以看出已经同事安装了libGLU
c) 升级libGLU:如果在上一步同时完成则不用操作,否则:portmaster libGLU
d) 升级dri:portmaster dri
e) 升级xf86-video-intel:portmaster xf86-video-intel #安装提示现实已升级了xorg-server
f) 升级xorg-server:如果上一步没有提示已升级则: portmaster xorg-server
但是升级libGL时发现跳出错误:unknown type name GLDEBUGPROCARB
解决方案:删除the packages graphics/dri and graphics/libGL
命令:
pkg delete -f dri
pkg delete -f libGL
3、Xorg -configure 生成xorg.conf.new文件,此时可能出现黑屏,不用担心用 ctrl+alt+del重启
4、配置文件[FILE]/etc/X11/xorg.conf[/FILE],我的笔记本是1366*768的宽屏设置,从 /var/log/Xorg.0.log
中读取以下信息:
(II) MGA(0): Supported additional Video Mode: (II) MGA(0): clock: 69.3 MHz Image Size: 310 x 174 mm (II) MGA(0): h_active: 1366 h_sync: 1398 h_sync_end 1430 h_blank_end 1470 h_border: 0 (II) MGA(0): v_active: 768 v_sync: 771 v_sync_end 776 v_blanking: 786 v_border: 0
将按照ModeLine的格式配置:
ModeLine <name> <clock> <4 horiz. timings> <4 vert. timings>配置结果:
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" ModeLine "1366x768" 69.3 1366 1398 1430 1470 768 771 776 786 Option "DPMS" EndSection
5、正常情况下您的键盘鼠标都无法使用,需要更新键盘鼠标驱动:
portmaster xf86-input-mouse portmaster xf86-input-keyboard
6、正常情况下,现在您可以正常使用喽。
下一节描述如何使用MATE界面
我的/etc/X11/xorg.conf内容:
Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF/" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/wqy" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "record" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" ModeLine "1366x768" 69.3 1366 1398 1430 1470 768 771 776 786 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", ### <percent>: "<f>%" ### [arg]: arg optional #Option "NoAccel" # [<bool>] #Option "AccelMethod" # <str> #Option "Backlight" # <str> #Option "DRI" # <str> #Option "ColorKey" # <i> #Option "VideoKey" # <i> #Option "Tiling" # [<bool>] #Option "LinearFramebuffer" # [<bool>] #Option "SwapbuffersWait" # [<bool>] #Option "TripleBuffer" # [<bool>] #Option "XvPreferOverlay" # [<bool>] #Option "HotPlug" # [<bool>] #Option "ReprobeOutputs" # [<bool>] #Option "XvMC" # [<bool>] #Option "ZaphodHeads" # <str> #Option "TearFree" # [<bool>] #Option "PerCrtcPixmaps" # [<bool>] #Option "FallbackDebug" # [<bool>] #Option "DebugFlushBatches" # [<bool>] #Option "DebugFlushCaches" # [<bool>] #Option "DebugWait" # [<bool>] #Option "BufferCache" # [<bool>] Identifier "Card0" Driver "intel" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。