Skip to contentSkip to conversation

Help-On frame Buffer

DISCUSSION sanjay anvekar 5 participants 12 messages Dec 3, 2010 – Jan 14, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M chipset
Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced to the hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object implementation.I am able to get 1024x768 screen resolution using
VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as below

    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to know how I could get the full resolution using
the exsiting hardware.
Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw

Hi,

You should look at KMS (Kernel Mode Setting) with i915 driver that you find under DRI. (CONFIG_DRM_I915 + CONFIG_DRM_I915_KMS)
KMS can also be manually enabled/disabled with i915.modeset kernel parameter when i915 is built-in.

VESA only knows a few standard predefined modes but not the wide resolutions currently seen. It's based on some BIOS code and can only set resolution at early system boot, does not support s2ram (S3) nor any acceleration.

Bruno

Quoted 22 lines · On Fri, 03 December 2010 sanjay anvekar <[email protected]> wrote:

Hi,

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M chipset
Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced to the hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object implementation.I am able to get 1024x768 screen resolution using
VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as below

    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to know how I could get the full resolution using
the exsiting hardware.
Please help me.

Thanks & Best Regards,
Sanjay

#2 lore raw

Hi Bruno,
Thanks for your reply. I have recompiled the Linux kernel with
CONFIG_DRM_I915
enabled, with the updated kernel file my display is looking strange. i.e. I have vga=791
option in my boot configuration file and with this actual graphics screen is displayed only
in quarter area of screen. Which is reapting twice, covering left and right quarter of screen,
rest screen is black(i.e.bottom half of the screen).
How can I solve this problem? Please help me.
With the latest Kernel file with CONFIG_DRM_I915 enabled, how do I set different screen resolutions. Please let me know.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Sat, 4 December, 2010 2:12:57 AM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi,

You should look at KMS (Kernel Mode Setting) with i915 driver that you find under DRI. (CONFIG_DRM_I915 + CONFIG_DRM_I915_KMS)
KMS can also be manually enabled/disabled with i915.modeset kernel parameter when i915 is built-in.

VESA only knows a few standard predefined modes but not the wide resolutions currently seen. It's based on some BIOS code and can only set resolution at early system boot, does not support s2ram (S3) nor any acceleration.

Bruno

Quoted 8 lines · On Fri, 03 December 2010 sanjay anvekar <[email protected]> wrote:

Hi,

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M chipset

Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced to the

Quoted 7 lines

hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object implementation.I

am able to get 1024x768 screen resolution using
VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as

below

Quoted 12 lines
    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to know

how I could get the full resolution using
the exsiting hardware.
Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw

Hi Sanjay,

Most useful would be the pertinent part of your kernel log (dmesg | grep -A 10 -B 10 drm) as well as some of the content of the following sysfs files (edid is binary):
/sys/class/drm/card0/card0-*/{dpms,edid,enabled,modes,status}

Eventually also:
grep /sys/module/i915/parameters/*
and
uname -a

Bruno

Quoted 52 lines · On Mon, 6 Dec 2010 03:49:43 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply. I have recompiled the Linux kernel with
CONFIG_DRM_I915
enabled, with the updated kernel file my display is looking strange. i.e. I have vga=791
option in my boot configuration file and with this actual graphics screen is displayed only
in quarter area of screen. Which is reapting twice, covering left and right quarter of screen,
rest screen is black(i.e.bottom half of the screen).
How can I solve this problem? Please help me.
With the latest Kernel file with CONFIG_DRM_I915 enabled, how do I set different screen resolutions. Please let me know.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Sat, 4 December, 2010 2:12:57 AM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi,

You should look at KMS (Kernel Mode Setting) with i915 driver that you find under DRI. (CONFIG_DRM_I915 + CONFIG_DRM_I915_KMS)
KMS can also be manually enabled/disabled with i915.modeset kernel parameter when i915 is built-in.

VESA only knows a few standard predefined modes but not the wide resolutions currently seen. It's based on some BIOS code and can only set resolution at early system boot, does not support s2ram (S3) nor any acceleration.

Bruno

Quoted 8 lines · On Fri, 03 December 2010 sanjay anvekar <[email protected]> wrote:

Hi,

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M chipset

Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced to the

Quoted 23 lines
Quoted 7 lines

hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object implementation.I

am able to get 1024x768 screen resolution using
VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as

below

Quoted 12 lines
    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to know

how I could get the full resolution using
the exsiting hardware.
Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

Hi Sanjay,

Note, please keep list CCed and avoid HTML e-mails.
In addition, inlining (without line wrapping) the log snippled would have been preferred (easier to replying).

Quoted 5 lines · On Thu, 9 Dec 2010 07:43:18 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply.
Attached is the ouput of ("dmesg | grep -A 10 -B 10 drm") as "drm.txt".

Quoted 8 lines
[    1.836] ACPI: SSDT 3f7ce0c0 00CC (v0  PmRef  Cpu1Ist 0030 INTL 2011)
[    1.841] ACPI: SSDT 3f7ce3d0 005 (v0  PmRef  Cpu1Cst 0030 INTL 2011)
[    1.857] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.851] processor LNXCPU:0: registered as cooling_device1
[    1.801] Non-volatile memory driver v1.3
[    1.814] intel_rng: FWH not detected
[    1.878] Linux agpgart interface v0.13
[    1.846] agpgart-intel 00:0:0.0: Intel 95GME Chipset
                                            ^^^^^

This device name looks suspicious (as do all the i95 on the following lines...

What exact kernel version are you using?

Quoted 11 lines
[    1.815] agpgart-intel 00:0:0.0: detected 73K stolen memory
[    1.908] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    1.970] [drm] Initialized drm 1.1.0 2001
[    1.932] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.998] i95 00:0:0.0: setting latency timer to 6
[    2.217] i2c-adapter i2c-2: unable to read EDID block.
[    2.239] i95 00:0:0.0: LVDS-1: no EDID data
[    2.319] i2c-adapter i2c-3: unable to read EDID block.
[    2.336] i95 00:0:0.0: LVDS-1: no EDID data
[    2.357] i2c-adapter i2c-2: unable to read EDID block.
[    2.381] i95 00:0:0.0: LVDS-1: no EDID data

As there does not seem to be a working EDID around, driver will have to find LVDS display details somewhere in VBIOS blob. (which might fail, in which case dumping VBIOS will be needed for someone the have a look at it)

echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin

And attach the vbios. (Well hoping you don't get the same error as for the other sysfs files)

Quoted 1 line
[    2.362] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver

Could you try disabling vesafb in kernel config?

Quoted 5 lines
[    2.381] Console: switching to colour dummy device 8x2
[    2.381] Console: switching to colour dummy device 8x2
[    2.582] [drm] LVDS-8: set mode 12x78 c
[    2.794] Console: switching to colour frame buffer device 18x4
[    2.794] Console: switching to colour frame buffer device 18x4

Unless a specific character go eaten your console size definitely looks damn small!

Quoted 13 lines
[    2.786] [drm] fb0: inteldrmfb frame buffer device
[    2.780] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.788] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    3.021] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.261] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.501] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.741] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.742] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.752] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.751] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.762] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.718] brd: module loaded
Quoted 1 line

Unfortunatley I could not get "sysfs" files ,it returned some error.

What error are you getting?

Quoted 3 lines

Also

"grep /sys/module/i915/parameters/*" and "uname -a" returned nothing.

Weird...

Quoted 2 lines

Also I am attaching my basic graphic display file where I amusing VESA frame buffer.

As long as framebuffer console is not properly setup it makes no sense to look at your program, the issue lying in i915 driver or data it can obtain from vbios.

Quoted 28 lines

Please suggest me something.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Mon, 6 December, 2010 6:35:41 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Most useful would be the pertinent part of your kernel log (dmesg | grep -A 10 -B 10 drm) as well as some of the content of the following sysfs files (edid is binary):
/sys/class/drm/card0/card0-*/{dpms,edid,enabled,modes,status}

Eventually also:
grep /sys/module/i915/parameters/*
and
uname -a

Quoted 94 lines

Bruno

Quoted 86 lines · On Mon, 6 Dec 2010 03:49:43 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply. I have recompiled the Linux kernel with
CONFIG_DRM_I915
enabled, with the updated kernel file my display is looking strange. i.e. I have

vga=791
option in my boot configuration file and with this actual graphics screen is displayed only
in quarter area of screen. Which is reapting twice, covering left and right quarter of screen,
rest screen is black(i.e.bottom half of the screen).
How can I solve this problem? Please help me.
With the latest Kernel file with CONFIG_DRM_I915 enabled, how do I set different

screen resolutions. Please let me know.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Sat, 4 December, 2010 2:12:57 AM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi,

You should look at KMS (Kernel Mode Setting) with i915 driver that you find under DRI. (CONFIG_DRM_I915 + CONFIG_DRM_I915_KMS)
KMS can also be manually enabled/disabled with i915.modeset kernel parameter when i915 is built-in.

VESA only knows a few standard predefined modes but not the wide resolutions currently seen. It's based on some BIOS code and can only set resolution at early system boot, does not support s2ram (S3) nor any acceleration.

Bruno

Quoted 3 lines · On Fri, 03 December 2010 sanjay anvekar <[email protected]> wrote:

Hi,

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M

chipset

Quoted 8 lines

Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced to

the

hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object

implementation.I

Quoted 4 lines

am able to get 1024x768 screen resolution using
VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as

below

Quoted 3 lines
    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to

know

Quoted 9 lines

how I could get the full resolution using
the exsiting hardware.
Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw

Hi Bruno,
Thanks for your reply. Answers to your questions are as follows.

Linux Kernel: uname -a info
Linux (none) 2.6.31.6 #1 SMP Tue Sep 7 16:47:45 IST 2010 i686 unknown

Output of following command is attached in vbios.bin
echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin

"Could you try disabling vesafb in kernel config?"
I tried disabling vesafb and still getting the same display. dmesg output after disabling the vesafb is as follows.

[    1.891] ACPI: SSDT 3f7ce0c0 00CC (v0  PmRef  Cpu1Ist 0030 INTL 2011)
[    1.892] ACPI: SSDT 3f7ce3d0 005 (v0  PmRef  Cpu1Cst 0030 INTL 2011)
[    1.801] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.814] processor LNXCPU:0: registered as cooling_device1
[    1.864] Non-volatile memory driver v1.3
[    1.863] intel_rng: FWH not detected
[    1.872] Linux agpgart interface v0.13
[    1.876] agpgart-intel 00:0:0.0: Intel 95GME Chipset
[    1.878] agpgart-intel 00:0:0.0: detected 73K stolen memory
[    1.800] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    1.803] [drm] Initialized drm 1.1.0 2001
[    1.806] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.806] i95 00:0:0.0: setting latency timer to 6
[    2.222] i2c-adapter i2c-2: unable to read EDID block.
[    2.222] i95 00:0:0.0: LVDS-1: no EDID data
[    2.290] i2c-adapter i2c-3: unable to read EDID block.
[    2.299] i95 00:0:0.0: LVDS-1: no EDID data
[    2.204] i2c-adapter i2c-2: unable to read EDID block.
[    2.203] i95 00:0:0.0: LVDS-1: no EDID data
[    1.806] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.806] i95 00:0:0.0: setting latency timer to 6
[    2.222] i2c-adapter i2c-2: unable to read EDID block.
[    2.222] i95 00:0:0.0: LVDS-1: no EDID data
[    2.290] i2c-adapter i2c-3: unable to read EDID block.
[    2.299] i95 00:0:0.0: LVDS-1: no EDID data
[    2.204] i2c-adapter i2c-2: unable to read EDID block.
[    2.203] i95 00:0:0.0: LVDS-1: no EDID data
[    2.577] [drm] LVDS-8: set mode 12x78 c
[    2.777] Console: switching to colour frame buffer device 18x4
[    2.777] Console: switching to colour frame buffer device 18x4
[    2.769] [drm] fb0: inteldrmfb frame buffer device
[    2.762] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.762] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    2.902] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.241] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.481] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.722] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.724] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.735] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.734] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.744] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.796] brd: module loaded

When I tried with "grep /sys/module/i915/parameters/*" command system didn't return anything
and it was stuck there. I had to restart the system.

Please suggest me further.

Thanks & Best Regards,
Sanjay
________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Fri, 10 December, 2010 1:06:05 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Note, please keep list CCed and avoid HTML e-mails.
In addition, inlining (without line wrapping) the log snippled would have been preferred (easier to replying).

Quoted 5 lines · On Thu, 9 Dec 2010 07:43:18 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply.
Attached is the ouput of ("dmesg | grep -A 10 -B 10 drm") as "drm.txt".

Quoted 8 lines
[    1.836] ACPI: SSDT 3f7ce0c0 00CC (v0  PmRef  Cpu1Ist 0030 INTL 2011)
[    1.841] ACPI: SSDT 3f7ce3d0 005 (v0  PmRef  Cpu1Cst 0030 INTL 2011)
[    1.857] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.851] processor LNXCPU:0: registered as cooling_device1
[    1.801] Non-volatile memory driver v1.3
[    1.814] intel_rng: FWH not detected
[    1.878] Linux agpgart interface v0.13
[    1.846] agpgart-intel 00:0:0.0: Intel 95GME Chipset
                                            ^^^^^

This device name looks suspicious (as do all the i95 on the following lines...

What exact kernel version are you using?

Quoted 11 lines
[    1.815] agpgart-intel 00:0:0.0: detected 73K stolen memory
[    1.908] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    1.970] [drm] Initialized drm 1.1.0 2001
[    1.932] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.998] i95 00:0:0.0: setting latency timer to 6
[    2.217] i2c-adapter i2c-2: unable to read EDID block.
[    2.239] i95 00:0:0.0: LVDS-1: no EDID data
[    2.319] i2c-adapter i2c-3: unable to read EDID block.
[    2.336] i95 00:0:0.0: LVDS-1: no EDID data
[    2.357] i2c-adapter i2c-2: unable to read EDID block.
[    2.381] i95 00:0:0.0: LVDS-1: no EDID data

As there does not seem to be a working EDID around, driver will have to find LVDS display details somewhere in VBIOS blob. (which might fail, in which case dumping VBIOS will be needed for someone the have a look at it)

echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin

And attach the vbios. (Well hoping you don't get the same error as for the other sysfs files)

Quoted 2 lines
[    2.362] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing 

generic driver

Could you try disabling vesafb in kernel config?

Quoted 5 lines
[    2.381] Console: switching to colour dummy device 8x2
[    2.381] Console: switching to colour dummy device 8x2
[    2.582] [drm] LVDS-8: set mode 12x78 c
[    2.794] Console: switching to colour frame buffer device 18x4
[    2.794] Console: switching to colour frame buffer device 18x4

Unless a specific character go eaten your console size definitely looks damn small!

Quoted 13 lines
[    2.786] [drm] fb0: inteldrmfb frame buffer device
[    2.780] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.788] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    3.021] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.261] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.501] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.741] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.742] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.752] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.751] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.762] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.718] brd: module loaded
Quoted 1 line

Unfortunatley I could not get "sysfs" files ,it returned some error.

What error are you getting?

Quoted 3 lines

Also

"grep /sys/module/i915/parameters/*" and "uname -a" returned nothing.

Weird...

Quoted 2 lines

Also I am attaching my basic graphic display file where I amusing VESA frame buffer.

As long as framebuffer console is not properly setup it makes no sense to look at your program, the issue lying in i915 driver or data it can obtain from vbios.

Quoted 85 lines

Please suggest me something.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Mon, 6 December, 2010 6:35:41 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Most useful would be the pertinent part of your kernel log (dmesg | grep -A 10 -B 10 drm) as well as some of the content of the following sysfs files (edid is binary):
/sys/class/drm/card0/card0-*/{dpms,edid,enabled,modes,status}

Eventually also:
grep /sys/module/i915/parameters/*
and
uname -a

Bruno

Quoted 52 lines · On Mon, 6 Dec 2010 03:49:43 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply. I have recompiled the Linux kernel with
CONFIG_DRM_I915
enabled, with the updated kernel file my display is looking strange. i.e. I have

vga=791
option in my boot configuration file and with this actual graphics screen is

displayed only
in quarter area of screen. Which is reapting twice, covering left and right quarter of screen,
rest screen is black(i.e.bottom half of the screen).
How can I solve this problem? Please help me.
With the latest Kernel file with CONFIG_DRM_I915 enabled, how do I set different

screen resolutions. Please let me know.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Sat, 4 December, 2010 2:12:57 AM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi,

You should look at KMS (Kernel Mode Setting) with i915 driver that you find under DRI. (CONFIG_DRM_I915 + CONFIG_DRM_I915_KMS)
KMS can also be manually enabled/disabled with i915.modeset kernel parameter when i915 is built-in.

VESA only knows a few standard predefined modes but not the wide resolutions currently seen. It's based on some BIOS code and can only set resolution at early system boot, does not support s2ram (S3) nor any acceleration.

Bruno

Quoted 2 lines · On Fri, 03 December 2010 sanjay anvekar <[email protected]> wrote:

Hi,

Quoted 43 lines
Quoted 6 lines
Quoted 1 line

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M

chipset

Quoted 3 lines

Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced

to

Quoted 31 lines
Quoted 4 lines

the

hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object

implementation.I

Quoted 4 lines

am able to get 1024x768 screen resolution using
VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as

below

Quoted 3 lines
    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to

know

Quoted 9 lines

how I could get the full resolution using
the exsiting hardware.
Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#7 lore raw

Hi Sanjay,

Quoted 2 lines · On Mon, 13 December 2010 sanjay anvekar wrote:

Linux Kernel: uname -a info
Linux (none) 2.6.31.6 #1 SMP Tue Sep 7 16:47:45 IST 2010 i686 unknown

That's an oldish kernel (and probably quite buggy KMS related)! Are you seeing issues with more recent ones preventing their use? Otherwise it definitely is worth trying something recent like 2.6.36.x or maybe even latest 2.6.37-rc if 2.6.36.x didn't help.

Quoted 43 lines

Output of following command is attached in vbios.bin
echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin

"Could you try disabling vesafb in kernel config?"
I tried disabling vesafb and still getting the same display. dmesg output after disabling the vesafb is as follows.

[    1.891] ACPI: SSDT 3f7ce0c0 00CC (v0  PmRef  Cpu1Ist 0030 INTL 2011)
[    1.892] ACPI: SSDT 3f7ce3d0 005 (v0  PmRef  Cpu1Cst 0030 INTL 2011)
[    1.801] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.814] processor LNXCPU:0: registered as cooling_device1
[    1.864] Non-volatile memory driver v1.3
[    1.863] intel_rng: FWH not detected
[    1.872] Linux agpgart interface v0.13
[    1.876] agpgart-intel 00:0:0.0: Intel 95GME Chipset
[    1.878] agpgart-intel 00:0:0.0: detected 73K stolen memory
[    1.800] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    1.803] [drm] Initialized drm 1.1.0 2001
[    1.806] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.806] i95 00:0:0.0: setting latency timer to 6
[    2.222] i2c-adapter i2c-2: unable to read EDID block.
[    2.222] i95 00:0:0.0: LVDS-1: no EDID data
[    2.290] i2c-adapter i2c-3: unable to read EDID block.
[    2.299] i95 00:0:0.0: LVDS-1: no EDID data
[    2.204] i2c-adapter i2c-2: unable to read EDID block.
[    2.203] i95 00:0:0.0: LVDS-1: no EDID data
[    1.806] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.806] i95 00:0:0.0: setting latency timer to 6
[    2.222] i2c-adapter i2c-2: unable to read EDID block.
[    2.222] i95 00:0:0.0: LVDS-1: no EDID data
[    2.290] i2c-adapter i2c-3: unable to read EDID block.
[    2.299] i95 00:0:0.0: LVDS-1: no EDID data
[    2.204] i2c-adapter i2c-2: unable to read EDID block.
[    2.203] i95 00:0:0.0: LVDS-1: no EDID data
[    2.577] [drm] LVDS-8: set mode 12x78 c
[    2.777] Console: switching to colour frame buffer device 18x4
[    2.777] Console: switching to colour frame buffer device 18x4
[    2.769] [drm] fb0: inteldrmfb frame buffer device
[    2.762] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.762] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    2.902] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
Quoted 8 lines
[    3.241] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.481] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.722] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.724] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.735] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.734] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.744] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.796] brd: module loaded

Chris, do you remember some odd-looking output like:
'i95 00:0:0.0'
or
'Intel 95GME Chipset'
in the above kernel log?

In addition the PCI slot looks a bit too much 00:0:0.0.

Quoted 2 lines

When I tried with "grep /sys/module/i915/parameters/*" command system didn't return anything and it was stuck there. I had to restart the system.

A litte '.' is missing in the grep command (my bad), thus if there were less than 2 matches for the glob grep would be waiting for input.

grep command should have been:
grep . /sys/module/i915/parameters/*

Quoted 94 lines

Please suggest me further.

Thanks & Best Regards,
Sanjay
________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Fri, 10 December, 2010 1:06:05 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Note, please keep list CCed and avoid HTML e-mails.
In addition, inlining (without line wrapping) the log snippled would have been preferred (easier to replying).

Quoted 5 lines · On Thu, 9 Dec 2010 07:43:18 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply.
Attached is the ouput of ("dmesg | grep -A 10 -B 10 drm") as "drm.txt".

Quoted 8 lines
[    1.836] ACPI: SSDT 3f7ce0c0 00CC (v0  PmRef  Cpu1Ist 0030 INTL 2011)
[    1.841] ACPI: SSDT 3f7ce3d0 005 (v0  PmRef  Cpu1Cst 0030 INTL 2011)
[    1.857] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.851] processor LNXCPU:0: registered as cooling_device1
[    1.801] Non-volatile memory driver v1.3
[    1.814] intel_rng: FWH not detected
[    1.878] Linux agpgart interface v0.13
[    1.846] agpgart-intel 00:0:0.0: Intel 95GME Chipset
                                            ^^^^^

This device name looks suspicious (as do all the i95 on the following lines...

What exact kernel version are you using?

Quoted 11 lines
[    1.815] agpgart-intel 00:0:0.0: detected 73K stolen memory
[    1.908] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    1.970] [drm] Initialized drm 1.1.0 2001
[    1.932] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.998] i95 00:0:0.0: setting latency timer to 6
[    2.217] i2c-adapter i2c-2: unable to read EDID block.
[    2.239] i95 00:0:0.0: LVDS-1: no EDID data
[    2.319] i2c-adapter i2c-3: unable to read EDID block.
[    2.336] i95 00:0:0.0: LVDS-1: no EDID data
[    2.357] i2c-adapter i2c-2: unable to read EDID block.
[    2.381] i95 00:0:0.0: LVDS-1: no EDID data

As there does not seem to be a working EDID around, driver will have to find LVDS display details somewhere in VBIOS blob. (which might fail, in which case dumping VBIOS will be needed for someone the have a look at it)

echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin

And attach the vbios. (Well hoping you don't get the same error as for the other sysfs files)

Quoted 2 lines
[    2.362] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing 

generic driver

Could you try disabling vesafb in kernel config?

Quoted 5 lines
[    2.381] Console: switching to colour dummy device 8x2
[    2.381] Console: switching to colour dummy device 8x2
[    2.582] [drm] LVDS-8: set mode 12x78 c
[    2.794] Console: switching to colour frame buffer device 18x4
[    2.794] Console: switching to colour frame buffer device 18x4

Unless a specific character go eaten your console size definitely looks damn small!

Quoted 13 lines
[    2.786] [drm] fb0: inteldrmfb frame buffer device
[    2.780] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.788] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    3.021] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.261] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.501] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.741] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.742] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.752] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.751] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.762] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.718] brd: module loaded
Quoted 1 line

Unfortunatley I could not get "sysfs" files ,it returned some error.

What error are you getting?

Quoted 3 lines

Also

"grep /sys/module/i915/parameters/*" and "uname -a" returned nothing.

Quoted 112 lines

Weird...

Quoted 2 lines

Also I am attaching my basic graphic display file where I amusing VESA frame buffer.

As long as framebuffer console is not properly setup it makes no sense to look at your program, the issue lying in i915 driver or data it can obtain from vbios.

Quoted 103 lines

Please suggest me something.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Mon, 6 December, 2010 6:35:41 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Most useful would be the pertinent part of your kernel log (dmesg | grep -A 10 -B 10 drm) as well as some of the content of the following sysfs files (edid is binary):
/sys/class/drm/card0/card0-*/{dpms,edid,enabled,modes,status}

Eventually also:
grep /sys/module/i915/parameters/*
and
uname -a

Bruno

Quoted 70 lines · On Mon, 6 Dec 2010 03:49:43 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply. I have recompiled the Linux kernel with
CONFIG_DRM_I915
enabled, with the updated kernel file my display is looking strange. i.e. I have

vga=791
option in my boot configuration file and with this actual graphics screen is

displayed only
in quarter area of screen. Which is reapting twice, covering left and right quarter of screen,
rest screen is black(i.e.bottom half of the screen).
How can I solve this problem? Please help me.
With the latest Kernel file with CONFIG_DRM_I915 enabled, how do I set different

screen resolutions. Please let me know.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Sat, 4 December, 2010 2:12:57 AM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi,

You should look at KMS (Kernel Mode Setting) with i915 driver that you find under DRI. (CONFIG_DRM_I915 + CONFIG_DRM_I915_KMS)
KMS can also be manually enabled/disabled with i915.modeset kernel parameter when i915 is built-in.

VESA only knows a few standard predefined modes but not the wide resolutions currently seen. It's based on some BIOS code and can only set resolution at early system boot, does not support s2ram (S3) nor any acceleration.

Bruno

Quoted 20 lines · On Fri, 03 December 2010 sanjay anvekar <[email protected]> wrote:

Hi,

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M
chipset Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced to the hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object implementation.I am able to get 1024x768 screen resolution using VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as below

    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to know how I could get the full resolution using the exsiting hardware. Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#8 lore raw
Quoted 5 lines · Bruno Prémont

Chris, do you remember some odd-looking output like:
'i95 00:0:0.0'
or
'Intel 95GME Chipset'
in the above kernel log?

I'm kindly attributing that to wrangling by the mail client. A 945GME should just work, and despite the bizarre log there's no indication of what actually failed. Update to a current kernel, and then an intel_reg_dumper may be of interest if it is continuing to fail. -Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#9 lore raw
In reply to Bruno Prémont

Hi Bruno and All,
Thanks for your reply. I tried today with Kernel "linux-2.6.37-rc5" and
still I am facing the same problem.
I think I am doing something wrong please help me.

Informations are as follows:
Output of: uname -a info
Linux (none) 2.6.37-rc5 #0 SMP Tue Dec 14 11:55:56 IST 2010 i686 unknown

Output of : grep . /sys/module/i915/parameters/*
/sys/module/i915/parameters/fbpercrtc:0
/sys/module/i915/parameters/lvds_downclock:0
/sys/module/i915/parameters/modeset:1
/sys/module/i915/parameters/powersave:1

Output of:dmesg | grep -A 10 -B 10 drm

[    1.910] Monitor-Mwait will be used to enter C-3 state
[    1.911] Marking TSC unstable due to TSC halts in idle
[    1.918] Switching to clocksource hpet
[    1.989] Non-volatile memory driver v1.3
[    1.980] intel_rng: FWH not detected
[    1.989] Linux agpgart interface v0.13
[    1.993] agpgart-intel 00:0:0.0: Intel 95GME Chipset
[    1.993] agpgart-intel 00:0:0.0: detected gtt size: 224K total, 224K mappable
[    1.994] agpgart-intel 00:0:0.0: detected 89K stolen memory
[    2.039] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    2.046] [drm] Initialized drm 1.1.0 2001
[    2.045] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    2.040] i95 00:0:0.0: setting latency timer to 6
[    2.178] vgaarb: device changed decodes: 
PCI:00:0:0.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.045] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    2.040] i95 00:0:0.0: setting latency timer to 6
[    2.178] vgaarb: device changed decodes: 
PCI:00:0:0.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.183] [drm] initialized overlay support
[    2.467] Console: switching to colour frame buffer device 18x4
[    2.467] Console: switching to colour frame buffer device 18x4
[    2.457] fb0: inteldrmfb frame buffer device
[    2.456] drm: registered panic notifier
[    2.467] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.468] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    2.717] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    2.916] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.215] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.516] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.583] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.640] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.601] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.669] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.783] brd: module loaded

Output of:
echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin
is attached in file "vbios.bin" file.

My System Config. are as below.
Processor: Intel Atom N270
Chipset: Integrated Intel 945GSE + ICH7M
Graphics: Intel GMA950.
LVDS: Intel 82945GSE built in Single or dual channel support up to 1600x1200.

Thanks & Best Regards,
Sanjay

From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Mon, 13 December, 2010 5:40:19 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Quoted 2 lines · On Mon, 13 December 2010 sanjay anvekar wrote:

Linux Kernel: uname -a info
Linux (none) 2.6.31.6 #1 SMP Tue Sep 7 16:47:45 IST 2010 i686 unknown

That's an oldish kernel (and probably quite buggy KMS related)! Are you seeing issues with more recent ones preventing their use? Otherwise it definitely is worth trying something recent like 2.6.36.x or maybe even latest 2.6.37-rc if 2.6.36.x didn't help.

Quoted 43 lines

Output of following command is attached in vbios.bin
echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin

"Could you try disabling vesafb in kernel config?"
I tried disabling vesafb and still getting the same display. dmesg output after disabling the vesafb is as follows.

[    1.891] ACPI: SSDT 3f7ce0c0 00CC (v0  PmRef  Cpu1Ist 0030 INTL 2011)
[    1.892] ACPI: SSDT 3f7ce3d0 005 (v0  PmRef  Cpu1Cst 0030 INTL 2011)
[    1.801] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.814] processor LNXCPU:0: registered as cooling_device1
[    1.864] Non-volatile memory driver v1.3
[    1.863] intel_rng: FWH not detected
[    1.872] Linux agpgart interface v0.13
[    1.876] agpgart-intel 00:0:0.0: Intel 95GME Chipset
[    1.878] agpgart-intel 00:0:0.0: detected 73K stolen memory
[    1.800] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    1.803] [drm] Initialized drm 1.1.0 2001
[    1.806] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.806] i95 00:0:0.0: setting latency timer to 6
[    2.222] i2c-adapter i2c-2: unable to read EDID block.
[    2.222] i95 00:0:0.0: LVDS-1: no EDID data
[    2.290] i2c-adapter i2c-3: unable to read EDID block.
[    2.299] i95 00:0:0.0: LVDS-1: no EDID data
[    2.204] i2c-adapter i2c-2: unable to read EDID block.
[    2.203] i95 00:0:0.0: LVDS-1: no EDID data
[    1.806] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.806] i95 00:0:0.0: setting latency timer to 6
[    2.222] i2c-adapter i2c-2: unable to read EDID block.
[    2.222] i95 00:0:0.0: LVDS-1: no EDID data
[    2.290] i2c-adapter i2c-3: unable to read EDID block.
[    2.299] i95 00:0:0.0: LVDS-1: no EDID data
[    2.204] i2c-adapter i2c-2: unable to read EDID block.
[    2.203] i95 00:0:0.0: LVDS-1: no EDID data
[    2.577] [drm] LVDS-8: set mode 12x78 c
[    2.777] Console: switching to colour frame buffer device 18x4
[    2.777] Console: switching to colour frame buffer device 18x4
[    2.769] [drm] fb0: inteldrmfb frame buffer device
[    2.762] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.762] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    2.902] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
Quoted 8 lines
[    3.241] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.481] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.722] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.724] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.735] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.734] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.744] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.796] brd: module loaded

Chris, do you remember some odd-looking output like:
'i95 00:0:0.0'
or
'Intel 95GME Chipset'
in the above kernel log?

In addition the PCI slot looks a bit too much 00:0:0.0.

Quoted 2 lines

When I tried with "grep /sys/module/i915/parameters/*" command system didn't return anything and it was stuck there. I had to restart the system.

A litte '.' is missing in the grep command (my bad), thus if there were less than 2 matches for the glob grep would be waiting for input.

grep command should have been:
grep . /sys/module/i915/parameters/*

Quoted 202 lines

Please suggest me further.

Thanks & Best Regards,
Sanjay
________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Fri, 10 December, 2010 1:06:05 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Note, please keep list CCed and avoid HTML e-mails.
In addition, inlining (without line wrapping) the log snippled would have been preferred (easier to replying).

Quoted 5 lines · On Thu, 9 Dec 2010 07:43:18 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply.
Attached is the ouput of ("dmesg | grep -A 10 -B 10 drm") as "drm.txt".

Quoted 8 lines
[    1.836] ACPI: SSDT 3f7ce0c0 00CC (v0  PmRef  Cpu1Ist 0030 INTL 2011)
[    1.841] ACPI: SSDT 3f7ce3d0 005 (v0  PmRef  Cpu1Cst 0030 INTL 2011)
[    1.857] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.851] processor LNXCPU:0: registered as cooling_device1
[    1.801] Non-volatile memory driver v1.3
[    1.814] intel_rng: FWH not detected
[    1.878] Linux agpgart interface v0.13
[    1.846] agpgart-intel 00:0:0.0: Intel 95GME Chipset
                                            ^^^^^

This device name looks suspicious (as do all the i95 on the following lines...

What exact kernel version are you using?

Quoted 11 lines
[    1.815] agpgart-intel 00:0:0.0: detected 73K stolen memory
[    1.908] agpgart-intel 00:0:0.0: AGP aperture is 26M @ 0xd0000
[    1.970] [drm] Initialized drm 1.1.0 2001
[    1.932] i95 00:0:0.0: PCI INT A -> GSI 1 (level, low) -> IRQ 1
[    1.998] i95 00:0:0.0: setting latency timer to 6
[    2.217] i2c-adapter i2c-2: unable to read EDID block.
[    2.239] i95 00:0:0.0: LVDS-1: no EDID data
[    2.319] i2c-adapter i2c-3: unable to read EDID block.
[    2.336] i95 00:0:0.0: LVDS-1: no EDID data
[    2.357] i2c-adapter i2c-2: unable to read EDID block.
[    2.381] i95 00:0:0.0: LVDS-1: no EDID data

As there does not seem to be a working EDID around, driver will have to find LVDS display details somewhere in VBIOS blob. (which might fail, in which case dumping VBIOS will be needed for someone the have a look at it)

echo 1 > /sys/class/drm/card0/device/rom
cat /sys/class/drm/card0/device/rom > vbios.bin

And attach the vbios. (Well hoping you don't get the same error as for the other sysfs files)

Quoted 2 lines
[    2.362] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing 

generic driver

Could you try disabling vesafb in kernel config?

Quoted 5 lines
[    2.381] Console: switching to colour dummy device 8x2
[    2.381] Console: switching to colour dummy device 8x2
[    2.582] [drm] LVDS-8: set mode 12x78 c
[    2.794] Console: switching to colour frame buffer device 18x4
[    2.794] Console: switching to colour frame buffer device 18x4

Unless a specific character go eaten your console size definitely looks damn small!

Quoted 13 lines
[    2.786] [drm] fb0: inteldrmfb frame buffer device
[    2.780] [drm] Initialized i95 1.6.0 2003 for 00:0:0.0 on minor 0
[    2.788] Serial: 85/150 driver, 4 ports, IRQ sharing enabled
[    3.021] serial85: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.261] serial85: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.501] serial85: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.741] serial85: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.742] 0:0: ttyS0 at I/O 0x3f8 (irq = 4) is a 150A
[    3.752] 0:0: ttyS1 at I/O 0x2f8 (irq = 3) is a 150A
[    3.751] 0:0: ttyS2 at I/O 0x3e8 (irq = 1) is a 150A
[    3.762] 0:0a: ttyS3 at I/O 0x2e8 (irq = 1) is a 150A
[    3.718] brd: module loaded
Quoted 1 line

Unfortunatley I could not get "sysfs" files ,it returned some error.

What error are you getting?

Quoted 3 lines

Also

"grep /sys/module/i915/parameters/*" and "uname -a" returned nothing.

Weird...

Quoted 3 lines

Also I am attaching my basic graphic display file where I amusing VESA frame

buffer.

As long as framebuffer console is not properly setup it makes no sense to look at your program, the issue lying in i915 driver or data it can obtain from vbios.

Quoted 28 lines

Please suggest me something.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Mon, 6 December, 2010 6:35:41 PM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi Sanjay,

Most useful would be the pertinent part of your kernel log (dmesg | grep -A 10 -B 10 drm) as well as some of the content of the following sysfs files (edid is binary):
/sys/class/drm/card0/card0-*/{dpms,edid,enabled,modes,status}

Eventually also:
grep /sys/module/i915/parameters/*
and
uname -a

Quoted 14 lines

Bruno

Quoted 9 lines · On Mon, 6 Dec 2010 03:49:43 sanjay anvekar wrote:

Hi Bruno,
Thanks for your reply. I have recompiled the Linux kernel with
CONFIG_DRM_I915
enabled, with the updated kernel file my display is looking strange. i.e. I

have

vga=791
option in my boot configuration file and with this actual graphics screen

is

Quoted 51 lines
Quoted 51 lines

displayed only
in quarter area of screen. Which is reapting twice, covering left and right

quarter of screen,
rest screen is black(i.e.bottom half of the screen).
How can I solve this problem? Please help me.
With the latest Kernel file with CONFIG_DRM_I915 enabled, how do I set different

screen resolutions. Please let me know.

Thanks & Best Regards,
Sanjay

________________________________
From: Bruno Prémont <[email protected]>
To: sanjay anvekar <[email protected]>
Cc: [email protected]
Sent: Sat, 4 December, 2010 2:12:57 AM
Subject: Re: [Intel-gfx] Help-On frame Buffer

Hi,

You should look at KMS (Kernel Mode Setting) with i915 driver that you find under DRI. (CONFIG_DRM_I915 + CONFIG_DRM_I915_KMS)
KMS can also be manually enabled/disabled with i915.modeset kernel parameter when i915 is built-in.

VESA only knows a few standard predefined modes but not the wide resolutions currently seen. It's based on some BIOS code and can only set resolution at early system boot, does not support s2ram (S3) nor any acceleration.

Bruno

Quoted 10 lines · On Fri, 03 December 2010 sanjay anvekar <[email protected]> wrote:

Hi,

I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M
chipset Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced

to the hardware (it supports Dual Channel 24-bit LVDS).
I am using Linux VESA frame buffer for various graphic object implementation.I am able to get 1024x768 screen resolution using VESA frame buffer, but I am not able to get the full screen resolution of

Quoted 14 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

1366x768 pixels supported my LCD screen.
Currenlty for various resolution I am changing boot configuration file as

below

    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like

to

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

know how I could get the full resolution using the exsiting hardware. Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#10 lore raw

KMS in GMA500 ?

In reply to Bruno Prémont

Hello,

     I have Intel GMA500 board with integrated graphics.Display of 800x480 

resolution is interfaced to
the board.I would like to enable Kernel Mode Setting to achieve this resolution.

So please can anybody let me know which Linux Kernel option need to be selected in order to achieve

this.
I am using Kernel 2.6.36.2.

Thanks & Best Regards,
Sanjay

#11 lore raw

Re: KMS in GMA500 ?

Hi,

There is some limited kms mode-setting support in linux-2.6.38, however only mode setting and now acceleration or whatever. Unfourtunatlly there are only closed-source drivers for your GPU, precompiled for some selected distributions.

- Clemens

2011/1/12 sanjay anvekar <[email protected]>:

Quoted 16 lines

Hello,
    I have Intel GMA500 board with integrated graphics.Display of 800x480 resolution is interfaced to
the board.I would like to enable Kernel Mode Setting to achieve this resolution.

So please can anybody let me know which Linux Kernel option need to be selected in order to achieve

this.
I am using Kernel 2.6.36.2.

Thanks & Best Regards,
Sanjay

Quoted 5 lines

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#12 lore raw
In reply to sanjay anvekar

If you use vga=791, that mean you will use vesa driver to set mode. 1366x768 is not a standard mode and normally will not be pre-set in the video bios. So you can not find it and use VBE standard call to set/get this mode.

Maybe you can try modprobe intelfb mode=1366x768-32@50.

[1] intelfb.txt in kernel source Document
[2] vesafb.txt in kernel source Document

From: [email protected] [mailto:[email protected]] On Behalf Of sanjay anvekar
Sent: Saturday, December 04, 2010 1:41 AM
To: [email protected]
Subject: [Intel-gfx] Help-On frame Buffer

Hi,
I am new to Linux and frame buffer. I am using Intel 945GSE / ICH7M chipset Panel PC with integrated Intel 945GSE
display chipset. Different size and resolution LCD screens are interfaced to the hardware (it supports Dual Channel 24-bit LVDS). I am using Linux VESA frame buffer for various graphic object implementation.I am able to get 1024x768 screen resolution using VESA frame buffer, but I am not able to get the full screen resolution of 1366x768 pixels supported my LCD screen. Currenlty for various resolution I am changing boot configuration file as below

    e.g. vga=791 for 1024x768.

My existing BIOS does not list the 1366x768 resolution. So I would like to know how I could get the full resolution using the exsiting hardware.
Please help me.

Thanks & Best Regards,
Sanjay

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx