From owner-freebsd-x11@FreeBSD.ORG Thu Dec 28 13:35:56 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CB3216A416 for ; Thu, 28 Dec 2006 13:35:56 +0000 (UTC) (envelope-from janvier.roc@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 8E91413C46D for ; Thu, 28 Dec 2006 13:35:55 +0000 (UTC) (envelope-from janvier.roc@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so3599862uge for ; Thu, 28 Dec 2006 05:35:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HEgDKQJnUIhOClBZ1eDneWjWgxkgXWugdmH56oQUMsFDWP7wKBO9DurxsqnfQ9vxv0e+exWjtYhhWaY8SwXd2U++0wEi72y7YsavteSkXX2tUNtkuJXdHmYw0bl2hk9HUUM7moLHn/OarI4WFxOv+r9uBygDKqqyglfiEjqfA9U= Received: by 10.67.19.20 with SMTP id w20mr8200591ugi.1167312955285; Thu, 28 Dec 2006 05:35:55 -0800 (PST) Received: by 10.67.27.9 with HTTP; Thu, 28 Dec 2006 05:35:55 -0800 (PST) Message-ID: <7deba7c00612280535j4931241dp7291b609aff1388a@mail.gmail.com> Date: Thu, 28 Dec 2006 21:35:55 +0800 From: "Janvier Pang" To: "Abdullah Al-Marrie" In-Reply-To: <499c70c0612271053q405e0569v8378ede1095000c3@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_101163_22190774.1167312955138" References: <7deba7c00612260923ja2c6eccs52e7004d7fdec33@mail.gmail.com> <499c70c0612261017yf098367u598d4ac8d191f1b1@mail.gmail.com> <7deba7c00612261101p6329d979x848f0d0c66b6c5de@mail.gmail.com> <499c70c0612261120g19a46272scaffd09c3f7e8e4f@mail.gmail.com> <7deba7c00612270830x2ae573d1jcdf1e8c3cbb180ed@mail.gmail.com> <499c70c0612271053q405e0569v8378ede1095000c3@mail.gmail.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-x11@freebsd.org Subject: Re: Can anybody change the resolution to 1280x800? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2006 13:35:56 -0000 ------=_Part_101163_22190774.1167312955138 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I checked dmesg, and I found that my graphic card is not on AGP but PCI: pci1: at device 0.0 (no driver attached) and also i found another: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 It makes me confusing... why it said my graphic card on ISA0? I think the vga0 is used for the default console output, isn't it? I attach 3 files (scanpci, dmesg and my kernel configure file) to you. I found that there're some ATI devices could not to load drivers, I think my main board is using the ATI chipset. I have compiled drm into kernel but I still can not found any information about DRM in dmesg as you said, I don't know why it doesn't work on my machine. Is drm works for your machine? p.s. fglrx is for Linux but not for FreeBSD, someont port the fglrx to FreeBSD is out date, the new fglrx supported my x1300 card but not for FreeBSD. Thanks for your kindly help. B.Rgds. Janvier Pang On 12/28/06, Abdullah Al-Marrie wrote: > > On 12/27/06, Janvier Pang wrote: > > Thanks for your kindly reply. > > > > I added "drm" and "radeondrm" these two lines into my kernel configure > file, > > and recompiled the kernel. After revising the configure file, I rebooted > my > > machine with the new kernel, but I still got the "No devices detected" > > message. > > > > I found that there's a line in my log file as following: > > > > (--) PCI:*(1:0:0) ATI Technologies Inc unknown chipset (0x7149) rev 0, > Mem @ > > 0xc8000000/27, 0xc0100000/16, I/O @ 0x90000/8 > > > > so that I set the BusID to "PCI:1:0:0", but it doesn't work, the message > is > > still "No devices detected". > > > > I wonder about the message in my log file whether it will appear in your > log > > file as the same, and how can you detected your display card information > > > about " VendorName" and "BoardName"? I generated the configure file by > > "xorgconfig" command and revised my /etc/X11/xorg.conf manually. Do you > have > > any other good way to detect the card? > > > > I attached my configure file and the log file for your reference. > > > > p.s. I can't find any information about Xorg7.2 with my ATI Mobility > Radeon > > X1300 by google, do you have a link so that I can go forward to the > website > > for more information? Anyway, I prefer solve the problem now to wait for > the > > Xorg7.2 releasing. :-P > > > > B.Rgds. > > > > Janvier Pang > > > > On 12/27/06, Abdullah Al-Marrie < almarrie@gmail.com> wrote: > > > > > > On 12/26/06, Janvier Pang wrote: > > > > Thanks for your kindly reply. > > > > > > > > I tried your options, I found that my card can not apply the > "radeon" or > > > > "ati" driver. If I use one of them , the X could not to be started, > it > > > said: > > > > > > > > (EE) No devices detected. > > > > > > > > I read the manual, my card is not in the list of radeon or ati > driver. > > > > > > > > Any ideas about change my resolutions to 1280x800? I tried several > days, > > > but > > > > i still can not change it. (I can change my resolutions to 800x600 > or > > > > 640x480, but not 1280x800) > > > > > > > > B.Regs. > > > > > > > > Janvier Pang > > > > > > > > > > > > > > > > On 12/27/06, Abdullah Al-Marrie wrote: > > > > > On 12/26/06, Janvier Pang < janvier.roc@gmail.com > wrote: > > > > > > Dear All, > > > > > > > > > > > > I have a laptop, there're ATI Mobility Radeon X1300 display card > and > > > > wide > > > > > > screen with 1280x800 resolutions on it. > > > > > > > > > > > > I'd like to use the native ati driver, Unfortunately I can't > find > > > any > > > > > > available driver about this card on the internet. So that > I must > > > choose > > > > > > another way to use this card. > > > > > > > > > > > > I configured the vesa driver in /etc/X11/xorg.conf, and then > start > > > the > > > > X. I > > > > > > got the following message in /var/log/Xorg.0.log: > > > > > > > > > > > > ... > > > > > > (II) VESA(0): First detailed timing is preferred mode > > > > > > (II) VESA(0): redX: 0.575 redY: 0.359 greenX: 0.319 greenY: > 0.532 > > > > > > (II) VESA(0): blueX: 0.155 blueY: 0.129 whiteX: 0.312 whiteY: > > > 0.328 > > > > > > (II) VESA(0): Manufacturer's mask: 0 > > > > > > (II) VESA(0): Supported additional Video Mode: > > > > > > (II) VESA(0): clock: 68.9 MHz Image Size: 331 x 207 mm > > > > > > (II) VESA(0): h_active: 1280 h_sync: 1301 h_sync_end 1333 > > > h_blank_end > > > > 1408 > > > > > > h_border: 0 > > > > > > (II) VESA(0): v_active: 800 v_sync: 804 v_sync_end 808 > v_blanking: > > > 816 > > > > > > v_border: 0 > > > > > > (II) VESA(0): QUANTADISPLAY > > > > > > (II) VESA(0): QD15TL072 > > > > > > (II) VESA(0): Searching for matching VESA mode(s): > > > > > > (==) VESA(0): Write-combining range (0x0,0x1000) was already > clear > > > > > > ... > > > > > > > > > > > > After reading the manual, I add the "ModeLine" line in the > > > > > > /etc/X11/xorg.conf to use the additional video mode: > > > > > > > > > > > > ... > > > > > > Section "Monitor" > > > > > > Identifier "My Monitor" > > > > > > HorizSync 31.5 - 64.3 > > > > > > VertRefresh 50-70 > > > > > > ModeLine "1280x800" 68.9 1280 1301 1333 1408 800 804 808 816 > > > > > > End Section > > > > > > ... > > > > > > > > > > > > and change "Monitor" section as following: > > > > > > > > > > > > ... > > > > > > Section "Screen" > > > > > > Identifier "Screen 1" > > > > > > Device "* Generic VESA compatible" > > > > > > Monitor "My Monitor" > > > > > > DefaultDepth 24 > > > > > > > > > > > > Subsection "Display" > > > > > > Depth 24 > > > > > > Modes "1280x800" > > > > > > ViewPort 0 0 > > > > > > EndSubsection > > > > > > EndSection > > > > > > ... > > > > > > > > > > > > OK, restart the X. > > > > > > > > > > > > The X was started, but the resolution is still 1024x768. > > > > > > > > > > > > I checked /var/log/Xorg.0.log carefully, and then I found the > > > following > > > > > > message in the log file: > > > > > > > > > > > > ... > > > > > > (II) VESA(0): Total Memory: 256 64KB banks (16384kB) > > > > > > (WW) VESA(0): config file hsync range 31.5-64.3kHz not within > DDC > > > hsync > > > > > > ranges. > > > > > > (WW) VESA(0): config file vrefresh range 50-70Hz not within DDC > > > vrefresh > > > > > > ranges. > > > > > > (II) VESA(0): My Monitor: Using hsync range of 31.50-64.30 kHz > > > > > > (II) VESA(0): My Monitor: Using vrefresh range of 50.00-70.00 Hz > > > > > > (II) VESA(0): Not using mode "1280x800" (no mode of this name) > > > > > > (--) VESA(0): Virtual size is 1024x768 (pitch 1024) > > > > > > (**) VESA(0): Built-in mode "1024x768" > > > > > > (**) VESA(0): Built-in mode "1024x768" > > > > > > (**) VESA(0): Built-in mode "800x600" > > > > > > ... > > > > > > > > > > > > It said "1280x800" mode cound not to be found, but I have added > this > > > > mode > > > > > > into /etc/X11/xorg.conf. Why it can not to be detected? > > > > > > > > > > > > If I can use the additional video mode, I can use my wide screen > > > > under > > > > > > 1280x800 resolution I think. Could anybody give me some hints > about > > > how > > > > to > > > > > > apply the additional video mode? > > > > > > > > > > > > Thanks. > > > > > > > > > > > > Janvier Pang. > > > > > > > > > > Here is my xorg.conf file and I use ATI Radeon 1100 > > > > > > > > > > I'm loading the dri module which is Xorg module to support radeon > > > > > > > > > > Section "Module" > > > > > Load "dri" > > > > > Load "glx" > > > > > Load "freetype" > > > > > Load "type1" > > > > > EndSection > > > > > > > > > > > > > > > Section "Monitor" > > > > > #DisplaySize 330 210 # mm > > > > > Identifier "Monitor0" > > > > > VendorName "SEC" > > > > > ModelName "3845" > > > > > option "DPMS" > > > > > EndSection > > > > > > > > > > Identifier "Card0" > > > > > Driver "radeon" > > > > > VideoRam 131072 > > > > > VendorName "ATI Technologies Inc" > > > > > BoardName "RS482 [Radeon Xpress 200M]" > > > > > BusID "PCI:1:5:0" > > > > > > > > > > Section "Screen" > > > > > Identifier "Screen0" > > > > > Device "Card0" > > > > > Monitor "Monitor0" > > > > > DefaultDepth 24 > > > > > SubSection "Display" > > > > > Viewport 0 0 > > > > > Depth 24 > > > > > Modes "1280x800" "1024x768" "800x600" > > > > > EndSubSection > > > > > EndSection > > > > > > > > > > > > > > > I'm able to use 1280x800 > > > > > > > > > > PS: Xorg 7.2 may has a driver for your ATI video card, I hope it > will > > > > > be released soon. > > > > > > > > > > > > > > > -- > > > > > Regards, > > > > > > > > > > -Abdullah Ibn Hamad Al-Marri > > > > > Arab Portal > > > > > http://www.WeArab.Net/ > > > > > > > > > > > > > > > > > > > Heya, > > > > > > Did you load the dri or compiled it in the kernel? > > > > > > device drm # DRM for ATI > > > device radeondrm # Radeon 1100 > > > > > > Mine isn't supported by xorg yet, and detected in xorg.conf as > > > > > > VendorName "ATI Technologies Inc" > > > BoardName "RS482 [Radeon Xpress 200M]" > > > BusID "PCI:1:5:0" > > > > > > So you need DRI module to be compiled in the kernel or load it in > > > /boor/loader.conf > > > > > > > > > -- > > > Regards, > > > > > > -Abdullah Ibn Hamad Al-Marri > > > Arab Portal > > > http://www.WeArab.Net/ > > > > > > > > > After googleing around, here is the answer > > Section "Device" > Identifier "ATI RADEON 1300" > Driver "fglrx" > Option "UseInternalAGPGART" "no" > Option "KernelModuleParm" "agplock=0" > Option "ForceMonitors" "lvds,crt1" > Option "TripleBuffer" "true" > Option "VideoOverlay" "on" > Option "OpenGLOverlay" "off" > BusID "PCI:1:0:0" > EndSection > > So you need fglrx instead of radeondrm. > > http://dri.freedesktop.org/wiki/DriTroubleshooting > > If dmesg | grep agp doesn't show anything about agp, make sure you > have device agp in your kernel (it's default in -stable and -current). > AGP does not work when loaded as a module after boot until FreeBSD > 7.0-current. > If your AGP module is loaded according to kldload but it didn't show > up, probes fine, then you may have device agp in the kernel and loaded > from loader.conf. This doesn't work, so remove it from loader.conf. > If you aren't using RELENG_6 (note: not RELENG_6_0), you may need to > update to get support for your AGP chipset. > If you have device agp in the kernel but not in loader.conf, and are > using RELENG_6 or newer, and it still doesn't probe, please file a PR > containing the output of scanpci and your dmesg. > > Hope this helps. > > -- > Regards, > > -Abdullah Ibn Hamad Al-Marri > Arab Portal > http://www.WeArab.Net/ > ------=_Part_101163_22190774.1167312955138--