Bug 5695 - Wrong DefaultColorDepth in xorg.conf for Intel Poulsbo US15W
Summary: Wrong DefaultColorDepth in xorg.conf for Intel Poulsbo US15W
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 17:33 CEST by Bjarne Thomsen
Modified: 2013-05-21 22:39 CEST (History)
3 users (show)

See Also:
Source RPM: drakx-kbd-mouse-x11-0.102-1.mga2
CVE:
Status comment:


Attachments
this should do it (507 bytes, patch)
2012-05-02 18:22 CEST, Thierry Vignaud
Details | Diff
real fix (1.47 KB, patch)
2012-05-02 21:26 CEST, Thierry Vignaud
Details | Diff
real fix (502 bytes, patch)
2012-05-03 08:39 CEST, Thierry Vignaud
Details | Diff
.xsession-errors for Driver "modesetting" (25.99 KB, text/plain)
2012-05-04 18:29 CEST, Bjarne Thomsen
Details

Description Bjarne Thomsen 2012-04-30 17:33:36 CEST
Description of problem:
After having removed /etc/X11/xorg.conf
XFdrake configures xorg.conf to use
DefaultColorDepth 16
instead of the correct
DefaultColorDepth 24
I had to edit xorg.conf by hand.

Version-Release number of selected component (if applicable):
0.102-1.mga2

How reproducible:
Every time

Steps to Reproduce:
I just selected the suggested values.
1.
2.
3.
xorg.conf:
...

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
......
Manuel Hiebel 2012-05-01 00:22:36 CEST

Assignee: bugsquad => thierry.vignaud

Comment 1 Thierry Vignaud 2012-05-02 18:22:48 CEST
Created attachment 2158 [details]
this should do it

Note that this isn't really a bug.
You should have the choice between 16 & 24 in XFdrake.
Comment 2 Bjarne Thomsen 2012-05-02 19:22:02 CEST
Yes it is! I have only ONE choice 16, even when I had put 24 into xorg.conf.
I can only change it back to 16. I have tried it on a box without this chip.
I can only create a new xorg.conf with 16 using XFdrake. You can try it yourself.
Thierry Vignaud 2012-05-02 21:23:36 CEST

CC: (none) => mageia

Thierry Vignaud 2012-05-02 21:25:24 CEST

CC: (none) => tmb

Comment 3 Thierry Vignaud 2012-05-02 21:26:33 CEST
Created attachment 2160 [details]
real fix

This one do work.

Blino, Thomas, we were previously only accepting 16bit for vesafb but now that we've more various drivers underneath, we may have to offer more depths.
WDYT?

Attachment 2158 is obsolete: 0 => 1

Comment 4 Bjarne Thomsen 2012-05-02 22:27:58 CEST
This attachment is 5627.diff, something about a bootloader.
Comment 5 Thierry Vignaud 2012-05-03 08:39:14 CEST
Created attachment 2167 [details]
real fix

Attachment 2160 is obsolete: 0 => 1

Comment 6 Bjarne Thomsen 2012-05-03 10:54:43 CEST
Yes, with that fix it works!
Comment 7 Thierry Vignaud 2012-05-03 23:50:04 CEST
BTW can you test using x11-driver-video-modesetting?
Comment 8 Bjarne Thomsen 2012-05-04 11:12:51 CEST
How do I do that?
xorg.conf:
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1920x1200"
    HorizSync 31.5-74.5
    VertRefresh 56.0-65.0
    Option "PreferredMode" "1600x1200"

    # Monitor preferred modeline (60.0 Hz vsync, 74.0 kHz hsync, ratio 16/10, 94 dpi)
    ModeLine "1920x1200" 154 1920 1968 2000 2080 1200 1203 1209 1235 -hsync +vsync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel Poulsbo US15W (GMA500)"
    Driver "fbdev"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth 8
        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection

    Subsection "Display"
        Depth 15
        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection

    Subsection "Display"
        Depth 16
        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection

    Subsection "Display"
        Depth 24
        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection
Comment 9 Thierry Vignaud 2012-05-04 14:08:47 CEST
Please never paste a file but attach one (though that's uneeded there).
Just install x11-driver-video-modesetting and replace "fbdev" by "modesetting" in xorg.conf
Comment 10 Bjarne Thomsen 2012-05-04 18:29:00 CEST
Created attachment 2186 [details]
.xsession-errors for Driver "modesetting"
Comment 11 Bjarne Thomsen 2012-05-04 18:32:43 CEST
Comment on attachment 2186 [details]
.xsession-errors for Driver "modesetting"

Cursor problem with modesetting driver

Attachment 2186 description: :q => .xsession-errors for Driver "modesetting"

Comment 12 Bjarne Thomsen 2012-05-04 18:35:50 CEST
Apart from an big many coloured square cursor modesetting appeared to work
Thierry Vignaud 2012-05-04 18:39:04 CEST

Attachment 2186 mime type: application/octet-stream => text/plain

Comment 13 Bjarne Thomsen 2012-05-11 09:22:58 CEST
I see that the DefaultColorDepth 24 has not made it into mageia-2-RC.
The DVD-i586 install works as there is no DefaultColorDepth in xorg.conf;
but KDE4-Live-i586 displays on the left part of the screen in so strange
colors that I cannot read the text. I know that this is caused by 
DefaultColorDepth 16.
Comment 14 Marja Van Waes 2012-05-26 13:09:29 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 15 Bjarne Thomsen 2012-05-26 14:53:31 CEST
Yes, it still applies. The Mageia Control Center only allows 16-bit for fdev,
but the Intel Poulsbo US15W driver requires 24-bit depth.
Thierry Vignaud gave me a fix (attachment 2167 [details]) and it worked, but it did
not make its way into the source.

The change of fdev into modesetting nearly works,
but the cursor is missing.

Version: Cauldron => 2

Sander Lepik 2012-05-26 16:21:31 CEST

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik

Comment 16 Marja Van Waes 2012-07-06 15:05:49 CEST
Please look at the bottom of this mail to see whether you're the assignee of this  bug, if you don't already know whether you are.


If you're the assignee:

We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead.

If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard.

Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why.

Thanks :)

**************************** 

@ the reporter and persons in the cc of this bug:

If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us.

@ the reporter of this bug

If you didn't reply yet to a request for more information, please do so within two weeks from now.

Thanks all :-D
Comment 17 Bjarne Thomsen 2013-05-21 22:39:31 CEST
Outdated. This has been solved in Mageia3

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.