Bug 5633 - Driver "fbdev" should be used with "Poulsbo US15W(GMA500)" in xorg.conf
Summary: Driver "fbdev" should be used with "Poulsbo US15W(GMA500)" in xorg.conf
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, PATCH
Depends on:
Blocks:
 
Reported: 2012-04-27 11:52 CEST by Bjarne Thomsen
Modified: 2012-04-30 10:14 CEST (History)
4 users (show)

See Also:
Source RPM: ldetect-lst
CVE:
Status comment:


Attachments
use fbdev by default for Poulsbo (262 bytes, patch)
2012-04-28 14:09 CEST, Thierry Vignaud
Details | Diff

Description Bjarne Thomsen 2012-04-27 11:52:00 CEST
Description of problem:
After some detective work I found out that xorg.conf is configured by the mouse package: drakx-kbd-mouse-x11-0.101-1.mga2

The old psb kernal module is deprecated. The new mga500_gfx module in the 3.3.3 kernel should be used instead, together with the fbdev driver:
x11-driver-video-fbdev-0.4.2-7.mga2.

When I select "Poulsbo US15W(GMA500)" in XFdrake it starts installing
x11-driver-video-psb-0.31.0-8
and compiling
dkms-psb-4.41.1-7
But the compilation fails, so it falls back to I don't now what.
Moving a window is jerky. I find that moving windows is much less jerky,
if Driver "fbdev" is inserted into /etc/X11/xorg.conf.

I suggest that XFdrake
XFdrake->Vendor->Intel->Poulsbo US15W(GMA500)
be modified, so that it inserts
Section "Device"
    Identifier "device1"
    VendorName "Intel"
    BoardName "Poulsbo US15W(GMA500)"
    Driver "fbdev"
    Option "DPMS"
EndSection
into
/etc/X11/xorg.conf


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

How reproducible:
always, but this hardware is needed:
rt3090sta       : Ralink corp.|RT3090 Wireless 802.11n 1T/1R PCIe [NETWORK_OTHER]
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168B PCI Express Gigabit Ethernet controller [NETWORK_ETHERNET] (rev: 02)
pata_sch        : Intel Corporation|System Controller Hub (SCH Poulsbo) IDE Controller [STORAGE_IDE] (rev: 07)
lpc_sch         : Intel Corporation|System Controller Hub (SCH Poulsbo) LPC Bridge [BRIDGE_ISA] (rev: 07)
sdhci_pci       : Intel Corporation|System Controller Hub (SCH Poulsbo) SDIO Controller #2 [SYSTEM_SDHCI] (rev: 07)
sdhci_pci       : Intel Corporation|System Controller Hub (SCH Poulsbo) SDIO Controller #1 [SYSTEM_SDHCI] (rev: 07)
ehci_hcd        : Intel Corporation|System Controller Hub (SCH Poulsbo) USB EHCI #1 [SERIAL_USB] (rev: 07)
uhci_hcd        : Intel Corporation|System Controller Hub (SCH Poulsbo) USB UHCI #3 [SERIAL_USB] (rev: 07)
uhci_hcd        : Intel Corporation|System Controller Hub (SCH Poulsbo) USB UHCI #2 [SERIAL_USB] (rev: 07)
uhci_hcd        : Intel Corporation|System Controller Hub (SCH Poulsbo) USB UHCI #1 [SERIAL_USB] (rev: 07)
shpchp          : Intel Corporation|System Controller Hub (SCH Poulsbo) PCI Express Port 2 [BRIDGE_PCI] (rev: 07)
shpchp          : Intel Corporation|System Controller Hub (SCH Poulsbo) PCI Express Port 1 [BRIDGE_PCI] (rev: 07)
snd_hda_intel   : Intel Corporation|System Controller Hub (SCH Poulsbo) HD Audio Controller (rev: 07)
Card:Intel Poulsbo US15W (GMA500): Intel Corporation|System Controller Hub (SCH Poulsbo) Graphics Controller [DISPLAY_VGA] (rev: 07)
unknown         : Intel Corporation|System Controller Hub (SCH Poulsbo) [BRIDGE_HOST] (rev: 07)
hub             : Linux 3.3.3-desktop586-1.mga2 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Linux 3.3.3-desktop586-1.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
lirc_igorplugusb: Cesko|AVR309:USB to UART protocol converter (simple)
hub             : Linux 3.3.3-desktop586-1.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
usbhid          : Logitech|Logitech Illuminated Keyboard [Human Interface Device|Boot Interface Subclass|Keyboard]
hub             : Linux 3.3.3-desktop586-1.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
usbhid          : Logitech|USB Optical Mouse [Human Interface Device|Boot Interface Subclass|Mouse]


Steps to Reproduce:
1.
2.
3.
Manuel Hiebel 2012-04-27 22:49:21 CEST

CC: (none) => anssi.hannula, mageia, thierry.vignaud

Comment 1 Thierry Vignaud 2012-04-28 14:09:03 CEST
We don't have mga500_gfx in our kernel
If dkms-psb doesn't compile, we do need to switch Poulsbo

CC: (none) => tmb
Source RPM: drakx-kbd-mouse-x11-0.101-1.mga2 => ldetect-lst

Comment 2 Thierry Vignaud 2012-04-28 14:09:58 CEST
Created attachment 2129 [details]
use fbdev by default for Poulsbo

Can you confirm that with that change, default choice with XFdrake is OK?
Thierry Vignaud 2012-04-28 14:10:29 CEST

Keywords: (none) => NEEDINFO, PATCH

Comment 3 Thierry Vignaud 2012-04-28 14:31:14 CEST
Let's fix this before the release

Priority: Normal => release_blocker

Comment 4 Thomas Backlund 2012-04-28 14:36:43 CEST
(In reply to comment #1)
> We don't have mga500_gfx in our kernel
> If dkms-psb doesn't compile, we do need to switch Poulsbo


Oh, but we do...

modinfo gma500_gfx
filename:       /lib/modules/3.3.4-desktop-1.mga2/kernel/drivers/gpu/drm/gma500/gma500_gfx.ko.xz


Hm, I guess I should obsolete the dkms-psb stuff with core kernel & x11-driver-video-psb with x11-driver-video-fbdev
Comment 5 Bjarne Thomsen 2012-04-28 17:13:54 CEST
I have testet XFdrake with the modified ldetect-lst
The driver selection works, but when I come to the the monitor selection there is an odd problem. I can only chose DefaultColorDepth=16. But I know that 24 is the correct value. I have been using it in xorg.conf without any problems. When I re-booted the left half of the screen was in pink colors (the right half was black). Then I tried Automatic for the resolution and everything worked as before. The resolution was 1600x1200 which is the maximum possible. The DefaultColorDepth had gone from xorg.conf. So why does it insist on a value of 16 when the when the correct one is 24?
Comment 6 Thierry Vignaud 2012-04-30 10:14:14 CEST
Fixed.

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


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