Atom N2600/CedarTrail graphics problems & workarounds?[Solv]

Need help with peripherals or devices?
Message
Author
sokolov
Posts: 2
Joined: 2012-04-23 18:20

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#16 Post by sokolov »

How exactly did you build the new kernel and which version?

Does the screen still work when it wakes up from sleep/standby?

And do WiFi and LAN work?

Over at
http://ubuntuforums.org/showthread.php?t=1953734&page=2
two users report these problems.

turnip
Posts: 3
Joined: 2012-04-24 06:36

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#17 Post by turnip »

Thanks for the immediate reply. Ill try it as soon as i can. Will post my progress for the benefit of humankind.

Thanks again!

jacobh
Posts: 20
Joined: 2011-03-29 23:44

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#18 Post by jacobh »

sokolov wrote:How exactly did you build the new kernel and which version?
I built the current version of the kernel in experimental (3.3.2-1~experimental.1); the method is in the previous post.
sokolov wrote:Does the screen still work when it wakes up from sleep/standby?
I’m afraid I don’t use sleep or standby.
sokolov wrote:And do WiFi and LAN work?
Yes, but then my machine (an Asus Eee) has an Atheros wireless card which is one of the more painless ones to get working on Linux.

sokolov
Posts: 2
Joined: 2012-04-23 18:20

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#19 Post by sokolov »

Thank you, maybe I'll give it a try later on. I've tried Ubuntu 12.04 Beta 2, then with Kernel 3.3.3 - and now I've decided to give Meego 1.2 a chance. If that doesn't do it either I'll come back to compiling a 3.3.2 kernel. :-)

dealcorn
Posts: 13
Joined: 2010-12-30 09:30

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#20 Post by dealcorn »

How do I clear the following error obtained when following the procedure?

Code: Select all

root@n2800:/usr/src/linux-source-3.3# make xconfig
  HOSTCC  scripts/basic/fixdep
  CHECK   qt
* Unable to find the QT4 tool qmake. Trying to use QT3
*
* Unable to find any QT installation. Please make sure that
* the QT4 or QT3 development package is correctly installed and
* either qmake can be found or install pkg-config or set
* the QTDIR environment variable to the correct location.
*
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'.  Stop.
make: *** [xconfig] Error 2
Both qt4-dev-tools qt4-qmake were properly installed in a prior step.

Two observations may help to those who wish to follow. First, stable has unresolved dependencies under this approach. The testing distribution looks good so far. Second, the suggested tar command dropped a " -" parameter after the word tar.

Edit: I created a soft link using:

Code: Select all

ln -s /var/lib/dpkg/alternatives/qmake
which permited completion of the procedure sucessfully. The remaining issue involves creation of xorg.conf.

dealcorn
Posts: 13
Joined: 2010-12-30 09:30

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#21 Post by dealcorn »

Could anyone who has sucessfully completed this 3.3 kernel procedure post a working example of a Cedar Trail xorg.conf file? The 3.3 kernel forces a "mode not supported" by my monitor and also does not create an xorg.conf file. Modification of a working xorg.conf file sounds like the easiest solution.

dralexxm
Posts: 4
Joined: 2012-05-22 16:36

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#22 Post by dralexxm »

Hey jacobh,

nice how to. I managed to get the graphic card of my Asus Eee PC 1011CX working with resolution 1024 x 600. I started with installation Linux Mint Lisa Kernel 3.0 and compiled/installed Kernel 3.3.7 following the steps further down:

apt-get update
apt-get install fakeroot kernel-package qt4-dev-tools qt4-qmake libncurses5-dev wget bzip2 build-essential zlib1g-dev
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/ ... 3.7.tar.gz
tar xzfv ./linux-3.3.7.tar.gz
ln -s linux-3.3.7 linux
cd linux
make clean && make mrproper
cp /boot/config-3.0.0-12-generic ./.config
make menuconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
cd ..
dpkg -i linux-image-3.3.7-custom_3.3.7-custom-10.00.Custom_i386.deb
dpkg -i linux-headers-3.3.7-custom_3.3.7-custom-10.00.Custom_i386.deb
reboot

Thank you!!!

dralexxm

pmcon
Posts: 1
Joined: 2012-05-28 18:05

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#23 Post by pmcon »

for ubuntu precise
http://www.silentpcreview.com/forums/vi ... 9&p=558348

thanks to gryle,woks for my he post this :
There is a ppa repository with drivers for ubuntu 12.04 in here: http://ppa.launchpad.net/sarvatt/cedarview/ubuntu/

I've managed to get accelerated X working in Ubuntu 12.04 with these steps:

#Add repository in http://ppa.launchpad.net/sarvatt/cedarview/ubuntu/ :
sudo add-apt-repository ppa:sarvatt/cedarview
sudo apt-get install add-apt-key
sudo add-apt-key 0x4c96de60854c4636
sudo apt-get update

# Add video=LVDS-1:d to GRUB_CMDLINE_LINUX_DEFAULT variable
sudo vi /etc/default/grub

# if you're using PAE kernel, remove it and install generic kernel
sudo apt-get install linux-headers-generic linux-image-generic
sudo apt-get remove linux-headers-generic-pae linux-image-generic-pae

sudo apt-get install cedarview-drm libva-cedarview-vaapi-driver cedarview-graphics-drivers

#Change Option "AIGLX" to "Off" because 3D isn't working
sudo vi /usr/share/intel-cdv/X11/xorg.conf.d/61-cdv-pvr.conf

sudo update-grub2

mentallymick
Posts: 1
Joined: 2012-06-01 08:53

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#24 Post by mentallymick »

I have an ASUS 1025c netbook and I had the same problem. And I hardly know anything about computers so I've been searching for a solution for 3 days!

I was going to settle with Meego until the release of Tizen, but I decided to install the 32 bit Windows 8 preview ISO and (after encountering the same problem and more dead ends) I visited the ASUS site, downloaded and installed the Intel(R) Graphics Media Accelerator Driver (click on VGA in the menu) and my problem was finally solved.

Don't know if it works with Ubuntu. Don't drivers get installed on a partition separate from operating systems?

Don't bother answering that. I've had enough of these kind of forums to last me a lifetime.

My good deed is done and I'm gone.

zoccaf
Posts: 2
Joined: 2012-07-07 18:42

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#25 Post by zoccaf »

today i compile the kernel 3.4 for my asus 1025c (atom n2800) and finally the resolution is change to 1024x600 but i can't configure the monitor.
now the pc is usable but i waiting for a complete and working driver, i need to use another monitor and the hdmi port don't work!

jacobh
Posts: 20
Joined: 2011-03-29 23:44

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#26 Post by jacobh »

With apologies for reviving an old thread, but I noticed that, last month, Intel released some graphics drivers for this architecture. There are some instructions for building a 3.1 kernel on Ubuntu to use them. I was wondering if anyone who has had some more experience of working with kernels than I might be able to look through the instructions and see if they should work on Debian (with the usual adjustments for differently-named packages etc.)?

Thanks!

valerie94
Posts: 14
Joined: 2012-07-18 22:04

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#27 Post by valerie94 »

jacobh wrote:With apologies for reviving an old thread, but I noticed that, last month, Intel released some graphics drivers for this architecture. There are some instructions for building a 3.1 kernel on Ubuntu to use them. I was wondering if anyone who has had some more experience of working with kernels than I might be able to look through the instructions and see if they should work on Debian (with the usual adjustments for differently-named packages etc.)?

Thanks!

Wow, great find Jacob! Building kernels in Debian should be comparatively the same with Ubuntu.

valerie94
Posts: 14
Joined: 2012-07-18 22:04

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#28 Post by valerie94 »

Hi Jacob, I have compiled the kernel (in ubuntu) using intel's instructions with just a little modification. You can have a look at it: http://forums.debian.net/viewtopic.php?f=5&t=82222

That's how I would do it in debian as well. Anyway, it took the n2600 atom 3 hours to finish.

valerie94
Posts: 14
Joined: 2012-07-18 22:04

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#29 Post by valerie94 »

I just want to confirm that the instructions for building a vaapi-enabled mplayer found here http://download.intel.com/support/mothe ... ntu_12.pdf absolutely works wonders.

Intel also released an adobe flash plugin with hardware acceleration (absolutely works wonders) found here https://registrationcenter.intel.com/Re ... uctID=1618. Download the meego flash plugin (flash-plugin-10.2.0-Meego_Release.rpm) and replace your currently installed libflashplayer.so.

Note: I'm using Ubuntu 12.04 (LXDE) with cedarview drivers found here https://launchpad.net/~sarvatt/+archive/cedarview/

jacobh
Posts: 20
Joined: 2011-03-29 23:44

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#30 Post by jacobh »

Thanks for the recommendation of the flash plugin. You are absolutely correct; it does make an enormous difference to using the default plugin when watching (the disappointingly omnipresent) flash videos.

sujithkattappana
Posts: 1
Joined: 2012-08-07 07:46

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#31 Post by sujithkattappana »

can u share the compiled kernel image and header mentioned below because it is very useful for beginners like me who do not had expertise in compiling custom kernels, so please make it available for download. its a request and i had an asus eee pc 1015cx for which i am trying hard to make graphics work.



dralexxm wrote:Hey jacobh,

nice how to. I managed to get the graphic card of my Asus Eee PC 1011CX working with resolution 1024 x 600. I started with installation Linux Mint Lisa Kernel 3.0 and compiled/installed Kernel 3.3.7 following the steps further down:

apt-get update
apt-get install fakeroot kernel-package qt4-dev-tools qt4-qmake libncurses5-dev wget bzip2 build-essential zlib1g-dev
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/ ... 3.7.tar.gz
tar xzfv ./linux-3.3.7.tar.gz
ln -s linux-3.3.7 linux
cd linux
make clean && make mrproper
cp /boot/config-3.0.0-12-generic ./.config
make menuconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
cd ..
dpkg -i linux-image-3.3.7-custom_3.3.7-custom-10.00.Custom_i386.deb
dpkg -i linux-headers-3.3.7-custom_3.3.7-custom-10.00.Custom_i386.deb
reboot

Thank you!!!

dralexxm

nfo
Posts: 1
Joined: 2012-08-13 14:08

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#32 Post by nfo »

Hi,

iam not a kernel hacker, but i managed to get my cedar card working.

Code: Select all

wget http://codejungle.org/linux-image-3.5.0_3.5.custom_i386.deb
dpkg -i linux-image-3.5.0_3.5.custom_i386.deb
Kernel: 3.5.0

Not Tested:
HDMI

best regards
andreas

zoccaf
Posts: 2
Joined: 2012-07-07 18:42

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#33 Post by zoccaf »

hi nfo,
do you only recompile the kernel or do you add the intel patch too?
do i have to install the packages described on pdf?

thanx

ragnarok
Posts: 1
Joined: 2012-11-28 19:35

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#34 Post by ragnarok »

zoccaf wrote:hi nfo,
do you only recompile the kernel or do you add the intel patch too?
do i have to install the packages described on pdf?

thanx
do you solved the ABI difference of the xorg?

dlj0
Posts: 4
Joined: 2011-03-28 17:36

Re: Atom N2600/CedarTrail graphics problems & workarounds?[S

#35 Post by dlj0 »

My system is a little different, a Shuttle xs35v3 (very small desktop machine) which has an Atom 2700, with Cedar Trail and a GMA3650 graphics chip. I finally got it working correctly for me with my hi-def 1920x1080 monitor. I had had to use the VESA graphics driver and could only get 1280x1040 before (using an old monitor). I had set up a 64-bit system, debian testing, so the 32-bit proprietary drivers from Intel (which I understand were not all that good, anyway) were not what I wanted.

Here is what I did. Now, this is a workaround, and is not a real alternative to getting a machine with a graphics card (or, rather, a manufacturer) that cooperates with linux. But, you wouldn't be reading this unless you already had the hardware, just like me.

I installed a custom 3.7.1 kernel built from source. General instructions for that come from the kernel-package debian package. There may be an earlier one that lets you do this, but when I tried 4-5 months ago I did not have all of the options and files I needed. This kernel, which the kernel source site calls stable, has what we need. You have to set a lot of kernel options. I had trouble with "make menuconfig" in creating the kernel, since it would not let me change the processor type to Atom, but "make mconfig" did work.

So: I set the processor type to Atom. That's a no-brainer.

I am not sure where all of the settings occur in the menu; most are under drivers/video.

You have to enable agp, agp_intel, acpi, acpi_video, drm, drm_kms_helper, drm_i915, drm_i915_kms, framebuffer, drm_load_edid_firmware. You also need to set "Allow to specify an EDID data set instead of probing for it", or drm_load_edid_firmware. More on that later. I also built in the Intel I810 driver, but that was a mistake, since the hardware can't use it, and I will build without it the next time.

I built a kernel with most of these built-in rather than as modules, since after all I would always need them loaded.

But there is more. In the kernel source tree, in ./Documentation/EDID, are files you need to build separately to load into the kernel at boot time. These edid files contain video parameters for the monitor that the video card is supposed to poll for, but doesn't do correctly (yet??). There is a Makefile there, and running "make" (which of course you have installed if you are going to compile a kernel, anyway) will generate binary versions that you can load into the kernel at boot time (since you enabled that with the edid kernel configuration options above). If you have a nonstandard resolution monitor, you do need to somehow get video timing information for it. xrandr will do that, but you need to use a machine that will talk to the monitor.

Put the resulting 1920x1080.bin files in /lib/firmware/edid/ (you will have to create that last directory).

You are almost ready. You need to tell the kernel to load the edid file, which you do by adding to the boot line drm_kms_helper.edid_firmware=edid/1920x1080.bin

The first time I did that just from the grub prompt (enter e to edit the command paramaters, and put that string (with your resolution) in after "ro". After I found to my surprise that this worked, I added it to /etc/default/grub in the line

GRUB_CMDLINE_LINUX="drm_kms_helper.edid_firmware=edid/1920x1080.bin"

I also set the initial screen to 1920x1080 as well, by GRUB_GFXMODE=1920x1080
in that same file.

Sorry for belaboring the details that might have been clear to the experts, but I did have to fight through a lot of advice and random files to get this figured out.

I still have one issue, in that the boot process hangs for 2 minutes. I think what is happening is that it's probing video connections looking for the monitor, and I should be able to set that by another boot flag, but at least it now works. I did cut the delay down to 1 minute by adding the command video=LVDS-1:d to stop the machine from waiting for that nonexistent video to respond. Other such commands (the d at the end disables the port) did not seem to help.

DVD videos are still choppy in fullscreen mode, but they are watchable within the default window that my video player creates. This may be partially due to my dvd drive. In general the response is considerably better than the vesa driver and my old monitor, and I have all that monitor real estate back.

Post Reply