Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#6202 closed enhancement (fixed)

Intel Extreme Driver Does Not Work With Intel Atom D510

Reported by: atomozero Owned by: axeld
Priority: normal Milestone: R1
Component: Drivers/Graphics/intel_extreme Version: R1/alpha2
Keywords: intel_extreme atom d510 videocard Cc: umccullough
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 atomozero 4 years ago.
listdev.intel.D510 (2.3 KB) - added by atomozero 4 years ago.
intel_extreme_atom_20101128_1.patch (10.7 KB) - added by umccullough 3 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 3 years ago.
fixes some bugs in the PLL code
syslog_atom_n10.txt (119.4 KB) - added by umccullough 3 years ago.
syslog after successful boot with intel_extreme and Intel N10 support
intel_n10.png (196.3 KB) - added by umccullough 3 years ago.
Screenshot showing the details

Download all attachments as: .zip

Change History (23)

Changed 4 years ago by atomozero

Changed 4 years ago by atomozero

comment:1 Changed 4 years ago by stippi

  • Type changed from bug to enhancement

comment:2 Changed 4 years ago by tonestone57

  • Component changed from - General to Drivers/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 3 years ago by umccullough

  • Cc umccullough added

comment:4 Changed 3 years ago by umccullough

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 3 years ago by umccullough

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 3 years ago by brecht

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 3 years ago by brecht (previous) (diff)

comment:7 Changed 3 years ago by brecht

  • Has a Patch set

comment:8 Changed 3 years ago by umccullough

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 3 years ago by umccullough

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

comment:9 Changed 3 years ago by umccullough

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 3 years ago by brecht

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 3 years ago by umccullough

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 3 years ago by brecht

fixes some bugs in the PLL code

comment:12 Changed 3 years ago by brecht

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 3 years ago by umccullough

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 3 years ago by umccullough

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 3 years ago by umccullough

syslog after successful boot with intel_extreme and Intel N10 support

Changed 3 years ago by umccullough

Screenshot showing the details

comment:15 Changed 3 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 3 years ago by brecht

  • Resolution set to fixed
  • Status changed from new to closed

Patch with consistent naming is applied in hrev40319.

comment:17 Changed 3 years ago by atomozero

thx!!!! _

Note: See TracTickets for help on using tickets.