Bug 107412 - HPmini 2133 wrong resolution on openchrome v0.6 (1024x768 instead of 1024x600)
Summary: HPmini 2133 wrong resolution on openchrome v0.6 (1024x768 instead of 1024x600)
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/openchrome (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Kevin Brace
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-28 01:49 UTC by xanum
Modified: 2018-11-29 21:27 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg logs version 0.4 and 0.6 (14.92 KB, application/zip)
2018-07-28 01:49 UTC, xanum
no flags Details
lspci -vvnn > (13.15 KB, text/plain)
2018-11-28 20:26 UTC, gabbo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xanum 2018-07-28 01:49:43 UTC
Created attachment 140862 [details]
Xorg logs version 0.4 and 0.6

I'm using Arch linux 4.17.3 in a HPmini 2133 with screen at 1024x600

When using Openchrome 0.6 from official Archlinux repositories and using LXDE, Openchrome detects wrong resolution of 1024x768 and the last 168 lines of the screen are hidden, thus no menu bar is visible.

From Xorg.log.v0.6
[   783.375] (II) CHROME(0): Flat Panel Native Resolution: 1024x768

If I compile version 0.4 from GIT and overwrite the 0.6 libraries, I get the correct resolution.

From Xorg.log.v0.4
[    49.852] (--) CHROME(0): Detected Flat Panel Screen Resolution: 1024x600

Also the 0.5 version is OK but I get the wlan disconnection issue.

I'm sending Xorg.log of version 0.4 and 0.6

I can help building and testing new drivers

Best regards 
Jor-El-mx
Comment 1 Kevin Brace 2018-07-30 03:51:13 UTC
Just for your information, I am replying to this bug report from HP 2133 mini-note.
It appears that some models sold in certain countries got 1024 x 600 resolution flat panel, US (United States of America) model got 1280 x 768 resolution flat panel.
Furthermore, the 1280 x 768 resolution flat panel I have is I2C capable (it is made by CMO; Chi Mei Optoelectronics), but looking at the Xorg.0.log you supplied for OpenChrome DDX Version 0.4 shows that it is not connected to I2C bus.
I would imagine that I will need to use PCI subvendor ID and subdevice ID to handle HP 2133 as a special case (i.e., basically a "quirk" table type of an approach).
    By the way, you do not need to put multiple files into an archive file.
Just attach two log files (i.e., Xorg.0.log for Version 0.4 and 0.6) to the bug report.
I prefer it this way so that I can read the attachments from an Android tablet (actually, an Amazon tablet that uses a forked version of Android OS).
Comment 2 Kevin Brace 2018-11-16 00:04:57 UTC
Can you attach an lspci output?

lspci -vvnn > ("File Name").txt

I do have an HP 2133 myself, but it is the version with the higher resolution and I2C bus capable flat panel.
Comment 3 gabbo 2018-11-28 20:26:59 UTC
Created attachment 142651 [details]
lspci -vvnn >

if it can help, HPmini 2133 with screen at 1024x600,
to solve this issue,

$ cat /etc/X11/xorg.conf
Section "Monitor"
    Identifier      "FP-1"
    Modeline        "1024x600_60.00" 49.00  1024 1072 1168 1312  600 603 613 624 -hsync +vsync
    Option          "UseEdidDpi" "False"
    Option          "PreferredMode" "1024x600_60.00"
EndSection

Section "Screen"
    Identifier      "Screen 0"
    Device          "VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC]"
    DefaultDepth    24
    SubSection "Display"
           Depth   24
           Modes   "1024x600" 
    EndSubSection
EndSection
Comment 4 Kevin Brace 2018-11-29 21:27:58 UTC
(In reply to gabbo from comment #3)

I will go make a patch to specifically address this issue.
I hope to have it ready in a few days.


> Created attachment 142651 [details]
> lspci -vvnn >
> 
> if it can help, HPmini 2133 with screen at 1024x600,
> to solve this issue,
> 
> $ cat /etc/X11/xorg.conf
> Section "Monitor"
>     Identifier      "FP-1"
>     Modeline        "1024x600_60.00" 49.00  1024 1072 1168 1312  600 603 613
> 624 -hsync +vsync
>     Option          "UseEdidDpi" "False"
>     Option          "PreferredMode" "1024x600_60.00"
> EndSection
> 
> Section "Screen"
>     Identifier      "Screen 0"
>     Device          "VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC]"
>     DefaultDepth    24
>     SubSection "Display"
>            Depth   24
>            Modes   "1024x600" 
>     EndSubSection
> EndSection


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.