i945G and Xorg

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

i945G and Xorg

ICMan
Hi all,

I just upgraded my MB from an i810 to an i945G, and things have
changed.  The i810 driver still loads, but I can't get the 1440x900
resolution on my Samsung 940BW flat panel screen to work.  It was
working fine right up until I changed boards.

I was wondering if there is an i945 driver for Xorg that works on
OBSD4.0, and how I could get it and install it.

Thanks.

Reply | Threaded
Open this post in threaded view
|

Re: i945G and Xorg

Sam Fourman Jr.
I also have a i945G on a lenovo Notebook, does anyone have a working
xorg.conf for 1440 X 900 they could post


Sam Fourman Jr.

On 11/18/06, ICMan <[hidden email]> wrote:

> Hi all,
>
> I just upgraded my MB from an i810 to an i945G, and things have
> changed.  The i810 driver still loads, but I can't get the 1440x900
> resolution on my Samsung 940BW flat panel screen to work.  It was
> working fine right up until I changed boards.
>
> I was wondering if there is an i945 driver for Xorg that works on
> OBSD4.0, and how I could get it and install it.
>
> Thanks.

Reply | Threaded
Open this post in threaded view
|

Re: i945G and Xorg

Matthieu Herrb
Sam Fourman Jr. wrote:

> I also have a i945G on a lenovo Notebook, does anyone have a working
> xorg.conf for 1440 X 900 they could post
>
>
> Sam Fourman Jr.
>
> On 11/18/06, ICMan <[hidden email]> wrote:
>> Hi all,
>>
>> I just upgraded my MB from an i810 to an i945G, and things have
>> changed.  The i810 driver still loads, but I can't get the 1440x900
>> resolution on my Samsung 940BW flat panel screen to work.  It was
>> working fine right up until I changed boards.
>>
>> I was wondering if there is an i945 driver for Xorg that works on
>> OBSD4.0, and how I could get it and install it.
>>
>> Thanks.

If you don't post the Xorg.0.log files showing what happens when you
configure xorg.conf  for 1440x900, it's hard to tell what happens.

One guess however it that, as often with intel based graphics, the BIOS
lacks the proper information to set up this mode. Since the i810 driver
needs this information, it can't work. There may be 2 solutions:

- update your BIOS to a more recent one which has more video modes built-in.
- google for the 'i915resolution' tool, port it to OpenBSD and use it.
It allows to tweak the modes reported by the bios. *Use at your own risk*

The 'modesetting' branch of the xf86-video-intel driver in X.Org git
repository is supposed to solve this problems in the longer term, by not
using the BIOS anymore to setup video modes.
Once X.Org 7.2 is imported in OpenBSD (this should happen soon) it will
be possible to have a try at this driver (it's not considered as good
enough to be included by default in X.Org 7.2).
--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: i945G and Xorg

Vince Hoffman
Matthieu Herrb wrote:

> Sam Fourman Jr. wrote:
>  
>> I also have a i945G on a lenovo Notebook, does anyone have a working
>> xorg.conf for 1440 X 900 they could post
>>
>>
>> Sam Fourman Jr.
>>
>> On 11/18/06, ICMan <[hidden email]> wrote:
>>    
>>> Hi all,
>>>
>>> I just upgraded my MB from an i810 to an i945G, and things have
>>> changed.  The i810 driver still loads, but I can't get the 1440x900
>>> resolution on my Samsung 940BW flat panel screen to work.  It was
>>> working fine right up until I changed boards.
>>>
>>> I was wondering if there is an i945 driver for Xorg that works on
>>> OBSD4.0, and how I could get it and install it.
>>>
>>> Thanks.
>>>      
>
> If you don't post the Xorg.0.log files showing what happens when you
> configure xorg.conf  for 1440x900, it's hard to tell what happens.
>
> One guess however it that, as often with intel based graphics, the BIOS
> lacks the proper information to set up this mode. Since the i810 driver
> needs this information, it can't work. There may be 2 solutions:
>
> - update your BIOS to a more recent one which has more video modes built-in.
> - google for the 'i915resolution' tool, port it to OpenBSD and use it.
> It allows to tweak the modes reported by the bios. *Use at your own risk*
>
>  
This is exactly what i do in FreeBSd for a i945G based Dell laptop. as
yet no issues and
its the only way i could get 1440x900.

Vince

Reply | Threaded
Open this post in threaded view
|

Re: i945G and Xorg

ICMan
 Vince Hoffman wrote:

  Matthieu Herrb wrote:

    Sam Fourman Jr. wrote:

      I also have a i945G on a lenovo Notebook, does anyone have a
      working
      xorg.conf for 1440 X 900 they could post

      Sam Fourman Jr.

      On 11/18/06, ICMan <[hidden email]> wrote:

        Hi all,

        I just upgraded my MB from an i810 to an i945G, and
        things have
        changed.  The i810 driver still loads, but I can't get
        the 1440x900
        resolution on my Samsung 940BW flat panel screen to
        work.  It was
        working fine right up until I changed boards.

        I was wondering if there is an i945 driver for Xorg that
        works on
        OBSD4.0, and how I could get it and install it.

        Thanks.

    If you don't post the Xorg.0.log files showing what happens when
    you
    configure xorg.conf  for 1440x900, it's hard to tell what
    happens.

    One guess however it that, as often with intel based graphics,
    the BIOS
    lacks the proper information to set up this mode. Since the i810
    driver
    needs this information, it can't work. There may be 2 solutions:

    - update your BIOS to a more recent one which has more video
    modes built-in.
    - google for the 'i915resolution' tool, port it to OpenBSD and
    use it.
    It allows to tweak the modes reported by the bios. *Use at your
    own risk*

  This is exactly what i do in FreeBSd for a i945G based Dell laptop.
  as yet no issues and
  its the only way i could get 1440x900.

  Vince

Excerpt from Xorg.0.log  (tail -400 Xorg.0.log | more)

(II) I810(0): Samsung940BW: Using hsync range of 30.00-81.00 kHz
(II) I810(0): Samsung940BW: Using vrefresh range of 56.00-75.00 Hz
(II) I810(0): Not using mode "1440x900" (no mode of this name)
(II) I810(0): Not using mode "1440x900_6" (no mode of this name)
(II) I810(0): Not using built-in mode "1600x1200" (width too large for
virtual size)
(--) I810(0): Virtual size is 1280x1024 (pitch 1280)
(**) I810(0): *Built-in mode "1280x1024"
(**) I810(0): *Built-in mode "1024x768"
(**) I810(0):  Built-in mode "800x600"
(**) I810(0):  Built-in mode "640x480"

Excerpts from xorg.conf

Section "Monitor"

Identifier  "Samsung940BW"

HorizSync   31.5 - 57.0
VertRefresh 50-75

ModeLine "1440x900" 132.71 1440 1536 1688 1936 900 901 904 939
ModeLine "1440x900_6" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync
+Vsync

EndSection

Section "Device"
Identifier  "Intel-i810"
Driver      "i810"
#VideoRam    4096
# Insert Clocks lines here if appropriate
EndSection

Section "Screen"
Identifier  "Screen 1"
Device      "Intel-i810"
Monitor     "Samsung940BW"
DefaultDepth 24

Subsection "Display"
Depth       24
Modes       "1440x900" "1440x900_6" "1280x1024" "1024x768"
ViewPort    0 0
EndSubsection
EndSection

The ModeLines are ones that I found on the Internet.  ie, I looked
around, and these two are two that worked (not at the same time) of all
the ones I found in my searches.

I found the i915resolution tool for FreeBSD.  Not sure what to do to port
it to OpenBSD, but will give it a shot.  If I am successful, I will turn
it over to someone to put in the ports tree.

S