Bug 96453 - [G33] Screen shows only upper left detail
Summary: [G33] Screen shows only upper left detail
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 13:41 UTC by Sebastian Gutzwiller
Modified: 2017-07-27 19:35 UTC (History)
2 users (show)

See Also:
i915 platform: G33
i915 features: display/LVDS


Attachments
kernel messages debug DRM (471.41 KB, text/plain)
2016-06-09 13:41 UTC, Sebastian Gutzwiller
no flags Details
output of 'xrandr --verbose' (2.12 KB, text/plain)
2016-06-09 13:43 UTC, Sebastian Gutzwiller
no flags Details
Picture of screen (581.72 KB, image/jpeg)
2016-06-09 13:45 UTC, Sebastian Gutzwiller
no flags Details
XOrg log file (15.39 KB, text/plain)
2016-06-10 04:53 UTC, Sebastian Gutzwiller
no flags Details
picture of screen without video parameter (1024x768) (1.09 MB, image/jpeg)
2016-06-10 07:26 UTC, Sebastian Gutzwiller
no flags Details
picture of screen with video parameter (640x480) (784.46 KB, image/jpeg)
2016-06-10 07:27 UTC, Sebastian Gutzwiller
no flags Details

Description Sebastian Gutzwiller 2016-06-09 13:41:08 UTC
Created attachment 124412 [details]
kernel messages debug DRM

Screen shows only upper left detail

Bug description:
The PC has a single display called 'AUO 5.7" VGA (640x480) Colour TFT' (G057VN01 V2). I installed several Ubuntu flavours on its harddisk resulting always in the effect described in the summary field while & after booting.

chipset: Core/Core2

system architecture: i686

xf86-video-intel: 2.99.917

xserver: 1.17.2

mesa: not installed?

libdrm: 2.4.64

kernel version: 4.2.0-27-generic

Linux distribution:
- Xubuntu 14.04.4 LTS
- Ubuntu 14.04.4 LTS
- Ubuntu MATE 14.04.2 LTS
- Ubuntu GNOME 14.04.4
- Lubuntu 14.04 LTS

Machine or mother board model: Advantech AIMB-212 (with one Intel Atom N450)

Display connector: LVDS

Reproducing steps:
Screen shows only upper left detail while & after booting Ubuntu, even in the boot loader GRUB2.

Additional info:
After installing 'intel-gpu-tools'-package I ran intel_reg_dumper, but I am seeing: 'Gen2/3 Ranges are not supported. Please use unsafe access.'.
Because I am new to Linux I don't know how to download & build 'intel-gpu-tools'. So provide me 'intel_reg_dumper' and I will run it.

Following the description from https://01.org/linuxgraphics/documentation/development/how-dump-video-bios I am seeing: 'cat: /sys/devices/pci0000:00/0000:00:02.0/rom: Invalid argument'.
Comment 1 Sebastian Gutzwiller 2016-06-09 13:43:20 UTC
Created attachment 124413 [details]
output of 'xrandr --verbose'
Comment 2 Sebastian Gutzwiller 2016-06-09 13:45:33 UTC
Created attachment 124414 [details]
Picture of screen
Comment 3 Jani Nikula 2016-06-09 18:00:33 UTC
(In reply to Sebastian Gutzwiller from comment #2)
> Created attachment 124414 [details]
> Picture of screen

I don't quite understand what's wrong with the picture. Please clarify. What should I look for?

It's not promising that it's broken already before i915 loads.
Comment 4 Chris Wilson 2016-06-09 20:41:50 UTC
The screen is only 640x480 but we define a 1024x768 framebuffer since there is no EDID for the panel. Not sure if there is anything we can do without user invention since the hardware is not providing a description, so the best approach would appear to be video=VGA-1:640x480
Comment 5 Sebastian Gutzwiller 2016-06-10 04:53:20 UTC
Created attachment 124433 [details]
XOrg log file
Comment 6 Sebastian Gutzwiller 2016-06-10 05:14:17 UTC
(In reply to Jani Nikula from comment #3)
> (In reply to Sebastian Gutzwiller from comment #2)
> > Created attachment 124414 [details]
> > Picture of screen
> 
> I don't quite understand what's wrong with the picture. Please clarify. What
> should I look for?
> 
> It's not promising that it's broken already before i915 loads.

In the 'XOrg log file'-attachment one sees that the physical screen size is set to 270 x 203. I calculated the proportion to the real screen size (115 x 86) and compared it with the whole screen content that I see if I connect a standalone PC-monitor to the VGA-connector: And it matches.
So if I would have a real screen size of 270 x 203 I would see the whole screen content.
Comment 7 Sebastian Gutzwiller 2016-06-10 07:16:46 UTC
(In reply to Chris Wilson from comment #4)
> The screen is only 640x480 but we define a 1024x768 framebuffer since there
> is no EDID for the panel. 

I tried to give an appropriate EDID of the 'AUO 5.7" VGA (640x480) Colour TFT' to the DRM as suggested by https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID 
I am verifying that EDID with the manufacturer.
During trials with that EDID I saw in the XOrg log that the default DPI of 96 x 96 also led to the wrong physical screen size.
Is giving the EDID to the DRM an option?

> Not sure if there is anything we can do without
> user invention since the hardware is not providing a description, so the
> best approach would appear to be video=VGA-1:640x480

I made two trials without success, see attached pictures. Shall I attach a log?
Comment 8 Sebastian Gutzwiller 2016-06-10 07:26:31 UTC
Created attachment 124436 [details]
picture of screen without video parameter (1024x768)
Comment 9 Sebastian Gutzwiller 2016-06-10 07:27:22 UTC
Created attachment 124437 [details]
picture of screen with video parameter (640x480)
Comment 10 Elizabeth 2017-07-27 19:34:27 UTC
Timeout. Closing bug for the lack of activity. Thank you.
Comment 11 Elizabeth 2017-07-27 19:35:14 UTC
(In reply to Elizabeth from comment #10)
> Timeout. Closing bug for the lack of activity. Thank you.

If problem persist on newest kernels open new bug to follow up. Thank you.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.