Intel GMA 3600: Difference between revisions

From ArchWiki
m (→‎Xorg driver: space.)
 
(29 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Graphics]][[Category:X Server]]
[[Category:Graphics]]
[[fr:Intel]]
[[Category:X server]]
[[zh-CN:Intel_GMA3600]]
[[ja:Intel GMA 3600]]
[[zh-hans:Intel GMA 3600]]
{{Related articles start}}
{{Related articles start}}
{{Related|Intel graphics}}
{{Related|Intel graphics}}
Line 7: Line 8:
{{Related articles end}}
{{Related articles end}}


The '''Intel GMA 3600''' series is a family of integrated video adapters based on the PowerVR SGX 545 graphics core. It is used in the Atom N2600 and Atom N2800.
The '''Intel GMA 3600''' series is a family of integrated video adapters based on the PowerVR SGX 545 graphics core. It is used in [https://ark.intel.com/content/www/us/en/ark/products/codename/37505/products-formerly-cedarview.html Intel Cedarview] CPUs (Atom D2500, D2550, D2700, N2600 and N2800).


==News==
The Linux kernel has support since version 3.5, but since version 4.15 the relevant kernel driver, uvesafb, has not been included in the kernel so using the [[DKMS]] version of the driver is necessary. See [[uvesafb]] for more information.
Intel release a graphics driver for PowerVR:
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21938


Be aware: The current version 1.03 (10/01/2012) has the following dependencies:
== Xorg driver ==


Bundle "Ant"
At the moment there is no accelerated driver for Xorg, but some support is available using the Xorg modesetting driver provided by package {{Pkg|xorg-server}}.
* Kernel: 3.0.0
* Mesa GL: 7.9
* Xorg: 1.9


Bundle "Bee"
{{hc|/etc/X11/xorg.conf.d/20-gpudriver.conf|
* Kernel: 3.1.0
Section "Device"
* Mesa GL: 7.11
    Identifier "Intel GMA3600"
* Xorg: 1.11
    Driver    "modesetting"
EndSection
}}


This means, unless you run a really outdated system this driver is useless for Arch-Linux.
The modesetting driver allows disabling/enabling LVDS, VGA, etc. ports and changing resolution using xrandr.


==Kernel module driver==
The following can be used to disable LVDS and force enable VGA if needed.
Kernel has an experimental support for this adapter since v3.3. Since Kernel v3.5 the GMA3600 power features are supported. Now suspend/resume should properly work.
 
If after resume you got a blank screen try the following
sudo touch /etc/pm/sleep.d/99video
 
==Xorg driver==
At the moment there is no accelerated driver for Xorg Server, but some support is available using the Xorg modesetting driver provided by package {{Pkg|xorg-server}}.


/etc/X11/xorg.conf.d/20-gpudriver.conf:
{{hc|/etc/X11/xorg.conf.d/20-gpudriver.conf|
Section "Device"
Section "Device"
    Identifier "Intel GMA3600"
    Identifier "Intel GMA3600"
    Driver    "modesetting"
    Driver    "modesetting"
EndSection
    Option    "Monitor-LVDS-0" "Ignore"
    Option    "Monitor-VGA-0" "Monitor"
EndSection


The modesetting driver allows disabling/enabling LVDS, VGA, etc. ports and changing resolution using xrandr.
Section "Monitor"
    Identifier "Ignore"
    Option    "Ignore"
EndSection


The following can be used to disable LVDS and force enable VGA if needed.
Section "Monitor"
    Identifier "Monitor"
    Option    "Enable"
EndSection
}}


/etc/X11/xorg.conf.d/20-gpudriver.conf:
== Troubleshooting ==
Section "Device"
    Identifier "Intel GMA3600"
    Driver    "modesetting"
    Option    "Monitor-LVDS-0" "Ignore"
    Option    "Monitor-VGA-0" "Monitor"
EndSection
Section "Monitor"
    Identifier "Ignore"
    Option    "Ignore"
EndSection
Section "Monitor"
    Identifier "Monitor"
    Option    "Enable"
EndSection


==Playing video==
=== Blank screen after resume ===
It is unable to utilize whole chip power and play fullHD movies using graphics acceleration. As workaround you could utilize the maximum power of your Atom CPU to decode video:


mplayer -lavdopts threads=4 -fs myvideo.avi
If the device gets a blank screen after resuming:


== Cedarview-drm module port ==
# touch /etc/pm/sleep.d/99video
{{Deletion|linux-lts is 3.14 already, old kernel is not supported by Arch.}}
You can get around the Kernel 3.1.0 requirement from the package by using the following git repository[http://communities.intel.com/message/199686#199686 1] (thanks to [https://github.com/thomas001/cedarview-drm thomas001]):
  git clone https://github.com/thomas001/cedarview-drm.git cedarview-drm-master
  (Intended for Linux Kernel releases 3.7 to 3.9)


  git clone -b linux-3.5 https://github.com/thomas001/cedarview-drm.git
=== Playing video ===
  (Intended for Linux Kernel releases 3.4 and 3.5)


Currently the following kernel versions are tested:
It is unable to utilize whole chip power and play full HD videos using graphics acceleration. As workaround you could utilize the maximum power of your Atom CPU to decode video:
* vanilla 3.7.8
* vanilla 3.4.32 --- use linux-3.5 branch


You can either compile the module directly using a command like:
$ mplayer -lavdopts threads=4 -fs myvideo.avi
  make -C /lib/modules/`uname -r`/build M=`pwd` KMYDIR=`pwd`


or you employ [https://wiki.archlinux.org/index.php/Dkms DKMS]:
$ mpv --vd-lavc-threads=4 -fs myvideo.avi
  cp -r /path/too/cedarview-drm /usr/src/cedarview-drm-1.0.3
  dkms add cedarview-drm/1.0.3


Afterwards you have to build the module and maybe regenerate your initramfs, as follows:
== See also ==
  mkinitcpio -p linux


==See also==
* https://www.change.org/en-GB/petitions/intel-listen-to-the-community-and-develop-gma3600-drivers-for-linux
* https://www.change.org/en-GB/petitions/intel-listen-to-the-community-and-develop-gma3600-drivers-for-linux
* http://ubuntuforums.org/showthread.php?t=1953734
* https://ubuntuforums.org/showthread.php?t=1953734
* http://communities.intel.com/message/158477
* https://communities.intel.com/message/158477{{Dead link|2023|07|30|status=404}}
* https://bbs.archlinux.org/viewtopic.php?id=144445

Latest revision as of 10:55, 11 January 2024

The Intel GMA 3600 series is a family of integrated video adapters based on the PowerVR SGX 545 graphics core. It is used in Intel Cedarview CPUs (Atom D2500, D2550, D2700, N2600 and N2800).

The Linux kernel has support since version 3.5, but since version 4.15 the relevant kernel driver, uvesafb, has not been included in the kernel so using the DKMS version of the driver is necessary. See uvesafb for more information.

Xorg driver

At the moment there is no accelerated driver for Xorg, but some support is available using the Xorg modesetting driver provided by package xorg-server.

/etc/X11/xorg.conf.d/20-gpudriver.conf
Section "Device"
    Identifier "Intel GMA3600"
    Driver     "modesetting"
EndSection

The modesetting driver allows disabling/enabling LVDS, VGA, etc. ports and changing resolution using xrandr.

The following can be used to disable LVDS and force enable VGA if needed.

/etc/X11/xorg.conf.d/20-gpudriver.conf
Section "Device"
    Identifier "Intel GMA3600"
    Driver     "modesetting"
    Option     "Monitor-LVDS-0" "Ignore"
    Option     "Monitor-VGA-0" "Monitor"
EndSection

Section "Monitor"
    Identifier "Ignore"
    Option     "Ignore"
EndSection

Section "Monitor"
    Identifier "Monitor"
    Option     "Enable"
EndSection

Troubleshooting

Blank screen after resume

If the device gets a blank screen after resuming:

# touch /etc/pm/sleep.d/99video

Playing video

It is unable to utilize whole chip power and play full HD videos using graphics acceleration. As workaround you could utilize the maximum power of your Atom CPU to decode video:

$ mplayer -lavdopts threads=4 -fs myvideo.avi
$ mpv --vd-lavc-threads=4 -fs myvideo.avi

See also