Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6202 closed enhancement (fixed)

Intel Extreme Driver Does Not Work With Intel Atom D510

Reported by: Andrea Bernardi Owned by: axeld
Priority: normal Milestone: R1
Component: Drivers/Graphics/intel_extreme Version: R1/alpha2
Keywords: intel_extreme atom d510 videocard Cc: Urias McCullough
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

work only vesa mode :(

device Display controller (VGA compatible controller, VGA controller) [3|0|0]

vendor 8086: Intel Corporation device a001: N10 Family Integrated Graphics Controller

KERN: intel_extreme: init_hardware()

Attachments (6)

syslog (365.0 KB) - added by Andrea Bernardi 7 years ago.
listdev.intel.D510 (2.3 KB) - added by Andrea Bernardi 7 years ago.
intel_extreme_atom_20101128_1.patch (10.7 KB) - added by Urias McCullough 7 years ago.
Fixed version of brecht's patch, missing constant values added from linux driver
intel_extreme_atom.patch (11.2 KB) - added by Brecht Machiels 7 years ago.
fixes some bugs in the PLL code
syslog_atom_n10.txt (119.4 KB) - added by Urias McCullough 7 years ago.
syslog after successful boot with intel_extreme and Intel N10 support
intel_n10.png (196.3 KB) - added by Urias McCullough 7 years ago.
Screenshot showing the details

Download all attachments as: .zip

Change History (23)

Changed 7 years ago by Andrea Bernardi

Attachment: syslog added

Changed 7 years ago by Andrea Bernardi

Attachment: listdev.intel.D510 added

comment:1 Changed 7 years ago by Stephan Aßmus

Type: bugenhancement

comment:2 Changed 7 years ago by Nickos V

Component: - GeneralDrivers/Graphics/intel_extreme
Owner: changed from Nobody to axeld

This uses the GMA 3150 which should be similar to GMA 3100. http://en.wikipedia.org/wiki/Intel_GMA#Specifications

Adding in device id might get intel_extreme driver to work with this graphic chip.

comment:3 Changed 7 years ago by Urias McCullough

Cc: Urias McCullough added

comment:4 Changed 7 years ago by Urias McCullough

Simply adding the deviceid to the intel_extreme driver and agp_gart did not seem to work. Seems to end up at a black screen with my monitor complaining about a bad video mode.

comment:5 Changed 7 years ago by Urias McCullough

I'll send $25 USD via paypal to anyone who can get intel_extreme to work and provide native resolution support on the N10 graphics chipset (deviceid 0xa001) of my Atom box. Consider this a "mini-bounty" of sorts - or at the very least, a thank you gift :)

comment:6 Changed 7 years ago by Brecht Machiels

The GMA3150 is integrated with the Atom. The N400 and D4/500 datasheets at (1) contain some information about the GMA3150 control register, which seems to be compatible to the G33's. The changeset that adds support for the GMA3150 to the Linux driver can be found at (2). This might contain some hints as to what needs to be changed.

(1) http://www.intel.com/products/processor/atom/techdocs.htm

(2) http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=f53bdad1412f841075232455837578f00709c6ef

Last edited 7 years ago by Brecht Machiels (previous) (diff)

comment:7 Changed 7 years ago by Brecht Machiels

Has a Patch: set

comment:8 Changed 7 years ago by Urias McCullough

Applied locally, looks like a few constants were missed:

/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp: In function `void retrieve_current_mode(display_mode &, long unsigned int)':
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:413: `DISPLAY_PLL_M2_DIVISOR_MASK_IGD' undeclared (first use this function)
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:413: (Each undeclared identifier is reported only once
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:413: for each function it appears in.)
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:415: `DISPLAY_PLL_N_DIVISOR_MASK_IGD' undeclared (first use this function)
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp: In function `status_t intel_set_display_mode(display_mode *)':
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:775: parse error before `;'
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:963: parse error before `)'

I'll see if I can clean that up and test it a bit.

Changed 7 years ago by Urias McCullough

Fixed version of brecht's patch, missing constant values added from linux driver

comment:9 Changed 7 years ago by Urias McCullough

Oops, did you update the patch as well?

Using the version of the patch I just attached here, it compiles (there were some syntax issues as well), but it produces a black screen on boot still, and my monitor claims the mode is wrong.

If I get a chance, I'll locate my serial cable and provide some debug output.

comment:10 Changed 7 years ago by Brecht Machiels

Can you provide the output of the following:

setpci -v -d 8086:a001 10.L
setpci -v -d 8086:a001 18.L
setpci -v -d 8086:a001 1C.L

You can find setpci here.

comment:11 Changed 7 years ago by Urias McCullough

Results are here:

~/Desktop> setpci -v -d 8086:a001 10.L
0000:00:02.0 @10 = fea80000
~/Desktop> setpci -v -d 8086:a001 18.L
0000:00:02.0 @18 = d0000008
~/Desktop> setpci -v -d 8086:a001 1C.L
0000:00:02.0 @1c = fe900000
~/Desktop> 

Changed 7 years ago by Brecht Machiels

Attachment: intel_extreme_atom.patch added

fixes some bugs in the PLL code

comment:12 Changed 7 years ago by Brecht Machiels

The new patch fixes some errors I made in porting the Linux driver code. There's probably more left, though. Please attach your syslog using the current patch.

comment:13 Changed 7 years ago by Urias McCullough

Will test tonight - and if it works, you'll need to send me the email address you use for PayPal privately :D

comment:14 Changed 7 years ago by Urias McCullough

Wonderful - it works! :)

I'm posting this comment from my Atom D510 machine using 1920x1200 and the intel_extreme driver...

I tested GLTeapot and a couple resolution changes, but I did not test media player/overlay support since I didn't have any videos handy.

syslog and screenshot coming shortly.

Brecht, I (gladly!) owe you $25 :)

Changed 7 years ago by Urias McCullough

Attachment: syslog_atom_n10.txt added

syslog after successful boot with intel_extreme and Intel N10 support

Changed 7 years ago by Urias McCullough

Attachment: intel_n10.png added

Screenshot showing the details

comment:15 Changed 7 years ago by axeld

The naming is a bit inconsistent (DISPLAY_PLL_IGD_POST1_DIVISOR_MASK vs. DISPLAY_PLL_N_DIVISOR_MASK_IGD -- the latter should be DISPLAY_PLL_IGD_N_DIVISOR_MASK instead), but the rest looks like the necessary evil. Nice work Brecht!

comment:16 Changed 7 years ago by Brecht Machiels

Resolution: fixed
Status: newclosed

Patch with consistent naming is applied in hrev40319.

comment:17 Changed 7 years ago by Andrea Bernardi

thx!!!! _

Note: See TracTickets for help on using tickets.