Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2007 09:35:59 -0500
From:      Doug Poland <doug@polands.org>
To:        Ghirai <ghirai@ghirai.com>
Cc:        questions@freebsd.org
Subject:   Re: Resolution problem with i810 and Xorg 7.2
Message-ID:  <20070813143559.GA6736@polands.org>
In-Reply-To: <20070811001258.d21e78ae.ghirai@ghirai.com>
References:  <32809.208.49.58.254.1186766806.squirrel@email.polands.org> <20070811001258.d21e78ae.ghirai@ghirai.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 11, 2007 at 12:12:58AM +0300, Ghirai wrote:
> On Fri, 10 Aug 2007 12:26:46 -0500 (CDT)
> "Doug Poland" <doug@polands.org> wrote:
> 
> > Hello,
> > 
> > I've got a Compaq nx7400 running on 6.2-STABLE with Xorg 7.2.
> > Despite my best efforts, I'm unable to get the screen into 1680x1050
> > resolution.  I have followed the instructions in the handbook but
> > the issue appears to be getting /dev/agpgart recognized.
> > 
> > Here's some relevant data...
> <snip>
> > 
> > So all I get out of this flat panel is 1280x1024, which distorts the
> > shape horribly because of the different aspect ratio.
> > 
> > Any hints, clues, pointers are very welcome!
> > 
> 
> After you install 915resolutions, you would:
> #915resolution 5c 1680 1050
> 
> Also check the rc startups.
> 
> I suggest you leave the xorg.conf as it was generated by default, once you patch
> and start KDE/gnome/whatever, you should get the proper resolution.
> 
Just a follow-up for the archives...  I loaded the 915resolution port
and configured my rc.conf accordingly:

i915resolution_enable="YES"
i915resolution_modes="3c 4d 5c"
i915resolution_width="1680"
i915resolution_height="1050"

Xorg still failed...
snip
(II) I810(0): detected 7932 kB stolen memory.                                     
(II) I810(0): Kernel reported 0 total, 0 used                                     
(II) I810(0): I830CheckAvailableMemory: 0 kB available                            
(WW) I810(0): /dev/agpgart is either not available, or no memory is available for allocation.  Using pre-allocated memory only.                                 
(II) I810(0): Monitoring connected displays enabled                               
(--) I810(0): Pre-allocated VideoRAM: 7932 kByte                                  
(--) I810(0): VideoRAM: 7932 kByte    
snip
(--) I810(0): Xv is disabled because it needs 2D accel and AGPGART.
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 136 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 11920 kByte
(EE) I810(0): Failed to allocate framebuffer. Is your VideoRAM set too low ??

Fatal server error:
AddScreen/ScreenInit failed for driver 0

However, when I changed the driver in /etc/X11/xorg.conf from i810 to
vesa:

    Identifier  "Card0"
    #Driver      "i810"
    Driver      "vesa"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"

Now Xorg starts fine.  I'm not sure why it worked but I'm glad it does.
I'll go with the VESA driver unless I get any feedback or more info on
getting i810 driver to work.

Thanks for you help.


-- 
Regards,
Doug



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070813143559.GA6736>