You are not logged in.

#1 2012-04-18 10:53:48

alexey
Member
Registered: 2012-03-29
Posts: 56

Asus Zenbook ux31. xrandr screen resolution failed after upgrade.

Hi All,

The bug itself:
xrandr:
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
eDP1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 293mm x 164mm
   1600x900       60.0*+
   1024x768       60.0 
   800x600        60.3     56.2 
   640x480        59.9 

How to reproduce: just try to change resolution - xrandr --output eDP1 --mode 1024x768
I got blank screen.
And dmesg says:
[  114.291318] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:3]
[  114.304939] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:3]
[  117.512786] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:3]

Hardware - ASUSTeK Computer Inc. UX31E/UX31E

I faced this bug after upgrade from 3.2.6 to 3.2.7 in Feb. I looked into lwn and found a patch to i915 diver:
drm/i915: Force explicit bpp selection for intel_dp_link_required
by Keith Packard  http://lists.freedesktop.org/archives/d … 18456.html

I tried to contact him several times but i got noreply. It's now 3.3.2-1-ARCH but the problem exists. Only when i boot into 3.2.6 ( which i saved for reason i need other resolutions) all works good.

Im not sure but probably the problem in then X and framebuffer runs different bpp/depth or even that the patch says " This patch
only supports 18bpp and 24bpp modes..."
My X runs 24 but framebuffer 32:
intel(0): Depth 24, (--) framebuffer bpp 32

My /etc/X11/xorg.conf
...
Section "Device"
        Option     "DRI"
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
EndSection

Trying to add:
        DefaultDepth 32
        DefaultFbBpp 32
to Screen section will give error /var/log/Xorg.0.log:
[  4969.239] (II) intel(0): Creating default Display subsection in Screen section
        "Screen0" for depth/fbbpp 32/32
[  4969.239] (EE) intel(0): Given depth (32) is not supported by I830 driver

Any idea how to workaround this ?

Thanks in advance!

Offline

Board footer

Powered by FluxBB