Intel graphics - ArchWiki

文章推薦指數: 80 %
投票人數:10人

Since Intel provides and supports open source drivers, Intel graphics are essentially plug-and-play. For a comprehensive list of Intel GPU models and ... HomePackagesForumsWikiBugsSecurityAURDownload Jumptocontent Navigationmenu Navigation MainpageTableofcontentsGettinginvolvedWikinewsRandompage Interaction HelpContributingRecentchangesRecenttalksNewpagesStatisticsRequests Tools WhatlinkshereRelatedchangesSpecialpagesPrintableversionPermanentlinkPageinformation Inotherlanguages DeutschEspañolFrançaisMagyar日本語Русский中文(繁體) Namespaces PageDiscussion Variants expanded collapsed Views ReadViewsourceViewhistory More expanded collapsed Intelgraphics FromArchWiki Relatedarticles IntelGMA3600 Xorg Kernelmodesetting Xrandr Hybridgraphics Vulkan GPGPU SinceIntelprovidesandsupportsopensourcedrivers,Intelgraphicsareessentiallyplug-and-play. ForacomprehensivelistofIntelGPUmodelsandcorrespondingchipsetsandCPUs,seeWikipedia:ListofIntelgraphicsprocessingunits. Note:PowerVR-basedgraphics(GMA3600series)arenotsupportedbyopensourcedrivers. Contents 1Installation 2Loading 2.1EnableearlyKMS 2.2EnableGuC/HuCfirmwareloading 3Xorgconfiguration 3.1AccelMethod 4Module-basedoptions 4.1Framebuffercompression(enable_fbc) 4.2Fastboot 4.3IntelGVT-ggraphicsvirtualizationsupport 4.4Enableperformancesupport 5Tipsandtricks 5.1Settingscalingmode 5.2HardwareacceleratedH.264decodingonGMA4500 5.3OldOpenGLDriver(i965) 5.4OverridingreportedOpenGLversion 5.5ViewingGPUusage 5.6Settingbrightnessandgamma 6Troubleshooting 6.1Tearing 6.2DisableVerticalSynchronization(VSYNC) 6.3DRI3issues 6.4FontandscreencorruptioninGTKapplications(missingglyphsaftersuspend/resume) 6.5Blankscreenduringboot,when"Loadingmodules" 6.6Xfreeze/crashwithinteldriver 6.7Addingundetectedresolutions 6.8Backlightisnotadjustable 6.9CorruptionorunresponsivenessinChromiumandFirefox 6.10Kernelcrashingw/kernels4.0+onBroadwell/Core-Mchips 6.11LaginWindowsguests 6.12Screenflickering 6.13OpenGL2.1withi915driver 6.14KMSIssue:consoleislimitedtosmallarea 6.15Weatheredcolors(colorrangeproblems) 6.16NosoundthroughHDMIonaHaswellCPU 6.17Graphicalsessioncrash 7Seealso Installation Installthemesapackage,whichprovidestheDRIdriverfor3Dacceleration. For32-bitapplicationsupport,alsoinstallthelib32-mesapackagefromthemultilibrepository. FortheDDXdriver(whichprovides2DaccelerationinXorg),installthexf86-video-intelpackage.(Oftennotrecommended,seenotebelow.) ForVulkansupport(IvyBridgeandnewer),installthevulkan-intelpackage. AlsoseeHardwarevideoacceleration. Note:Some(Debian&Ubuntu,Fedora,KDE)recommendnotinstallingthexf86-video-inteldriver,andinsteadfallingbackonthemodesettingdriverforGen4andnewerGPUs(GMA3000from2006andnewer).See[1],[2],Xorg#Installation,andmodesetting(4).However,themodesettingdrivercancauseproblemssuchasChromiumIssue370022andvsyncjitter/videostutterinmpv. Loading TheIntelkernelmoduleshouldloadfineautomaticallyonsystemboot. Ifitdoesnothappen,then: Makesureyoudonothavenomodesetasakernelparameter,sinceIntelrequireskernelmode-setting. Also,checkthatyouhavenotdisabledIntelbyusinganymodprobeblacklistingwithin/etc/modprobe.d/or/usr/lib/modprobe.d/. EnableearlyKMS Kernelmodesetting(KMS)issupportedbyIntelchipsetsthatusethei915DRMdriverandismandatoryandenabledbydefault. RefertoKernelmodesetting#EarlyKMSstartforinstructionsonhowtoenableKMSassoonaspossibleatthebootprocess. EnableGuC/HuCfirmwareloading OnsupportedSkylakeandnewerprocessors,somevideofeatures(e.g.CBRratecontrolonSKLlow-powerencodingmode)mayrequiretheuseofanupdatedGPUfirmware,[3]whichisloadedbydefaultonlyonGen11+hardwaresinceLinux5.4.[4]EnablingGuC/HuCfirmwareloadingcancauseissuesonsomesystems;disableitifyouexperiencefreezing(forexample,afterresumingfromhibernation). Note:SeeGentoo:Intel#FeaturesupportforanoverviewofIntelprocessorgenerations. InordertoenableGuC/HuCfirmwareloading,linux-firmwareisneeded. ForprocessorsbeforeGen11,eitheraddi915.enable_guc=2tothekernelparameterstoenablebothGuCandHuCfirmwareloading,oraddthei915module(seeKernelmodesetting#EarlyKMSstart)toinitramfsandthensettheseoptionsthroughafilein/etc/modprobe.d/,e.g.: /etc/modprobe.d/i915.conf optionsi915enable_guc=2 Andthenrebuildyourinitramfs. Note:ManuallyenablingGuC/HuCfirmwareloadingtaintsthekernelevenwhenthefeatureisnotsupported. OnnextbootyoucanverifybothGuCandHuCareenabledbyusingdmesg: #dmesg [30130.586970]i9150000:00:02.0:[drm]GuCfirmwarei915/icl_guc_33.0.0.binversion33.0submission:disabled [30130.586973]i9150000:00:02.0:[drm]HuCfirmwarei915/icl_huc_9.0.0.binversion9.0authenticated:yes Iftheyarenotsupportedbyyourgraphicsadapteryouwillsee: #dmesg [0.571339]i9150000:00:02.0:[drm]Incompatibleoptionenable_guc=2-GuCisnotsupported! [0.571340]i9150000:00:02.0:[drm]Incompatibleoptionenable_guc=2-HuCisnotsupported! Alternatively,checkusing: #cat/sys/kernel/debug/dri/0/gt/uc/guc_info #cat/sys/kernel/debug/dri/0/gt/uc/huc_info Warning:UsingGVT-ggraphicsvirtualizationbysettingenable_gvt=1isnotsupportedasoflinux4.20.11whenGuC/HuCisalsoenabled.Thei915modulewouldfailtoinitializeasshowninsystemjournal. #journalctl ...kernel:[drm:intel_gvt_init[i915]]*ERROR*i915GVT-gloadingfailedduetoGraphicsvirtualizationisnotyetsupportedwithGuCsubmission ...kernel:i9150000:00:02.0:[drm:i915_driver_load[i915]]Deviceinitializationfailed(-5) ...kernel:i915:probeof0000:00:02.0failedwitherror-5 ...kernel:snd_hda_intel0000:00:1f.3:failedtoaddi915componentmaster(-19) Notethattherelatedwarningisnotfatal,asexplainedin[5]: #journalctl-b ...kernel:i9150000:00:02.0:Directfirmwareloadfori915/gvt/vid_0x8086_did_0x5916_rid_0x02.golden_hw_statefailedwitherror-2 Xorgconfiguration Note:Thefollowingrequiresxf86-video-intel. TheremaybenoneedforanyconfigurationtorunXorg. However,ifXorgdoesnotstart,andtotakeadvantageofsomedriveroptions,youcancreateanXorgconfigurationfilesimilartotheonebelow: /etc/X11/xorg.conf.d/20-intel.conf Section"Device" Identifier"IntelGraphics" Driver"intel" EndSection AdditionaloptionsareaddedbytheuseronnewlinesbelowDriver. Forthefulllistofoptions,seetheintel(4)manpage. Note:Youmightneedtoaddmoredevicesectionsthantheonelistedabove.Thiswillbeindicatedwherenecessary. AccelMethod YoumayneedtoindicateOption"AccelMethod"whencreatingaconfigurationfile,theclassicaloptionsareUXA,SNA(default)andBLT. IfyouexperienceissueswithdefaultSNA(e.g.pixelatedgraphics,corrupttext,etc.),tryusingUXAinstead,whichcanbedonebyaddingthefollowinglinetoyourconfigurationfile: Option"AccelMethod""uxa" Seethe"AccelMethod"optionunderintel(4)§ CONFIGURATIONDETAILS. Module-basedoptions Thei915kernelmoduleallowsforconfigurationviamoduleoptions.Someofthemoduleoptionsimpactpowersaving. Alistofalloptionsalongwithshortdescriptionsanddefaultvaluescanbegeneratedwiththefollowingcommand: $modinfo-pi915 Tocheckwhichoptionsarecurrentlyenabled,run #systool-mi915-av Youwillnotethatmanyoptionsdefaultto-1,resultinginper-chippowersavingdefaults.Itishoweverpossibletoconfiguremoreaggressivepowersavingbyusingmoduleoptions. Warning:DivertingfromthedefaultswillmarkthekernelastaintedfromLinux3.18onwards.Thisbasicallyimpliesusingotheroptionsthantheper-chipdefaultsisconsideredexperimentalandnotsupportedbythedevelopers. Framebuffercompression(enable_fbc) MakinguseofFramebuffercompression(FBC)canreducepowerconsumptionwhilereducingmemorybandwidthneededforscreenrefreshes. ToenableFBC,usei915.enable_fbc=1askernelparameterorsetin/etc/modprobe.d/i915.conf: /etc/modprobe.d/i915.conf optionsi915enable_fbc=1 Note:FramebuffercompressionmaybeunreliableorunavailableonIntelGPUgenerationsbeforeSandyBridge(generation6).Thisresultsinmessagesloggedtothesystemjournalsimilartothisone: kernel:drm:notenoughstolenspaceforcompressedbuffer,disabling. Enablingframebuffercompressiononpre-SandyBridgeCPUsresultsinendlesserrormessages: #dmesg [2360.475430][drm]notenoughstolenspaceforcompressedbuffer(need4325376bytes),disabling [2360.475437][drm]hint:youmaybeabletoincreasestolenmemorysizeintheBIOStoavoidthis Thesolutionistodisableframebuffercompressionwhichwillimperceptiblyincreasepowerconsumption(around0.06W).Inordertodisableitaddi915.enable_fbc=0tothekernellineparameters.Moreinformationontheresultsofdisabledcompressioncanbefoundhere. Fastboot Note:ThisparameterisenabledbydefaultforSkylakeandnewer[6]aswellasBay-andCherry-Trail(VLV/CHV)[7]sinceLinux5.1.[8] ThegoalofIntelFastbootistopreservetheframe-bufferassetupbytheBIOSorbootloadertoavoidanyflickeringuntilXorghasstarted.[9][10] Toforceenablefastbootonplatformswhereitisnotthedefaultalready,seti915.fastboot=1askernelparameterorsetin/etc/modprobe.d/i915.conf: /etc/modprobe.d/i915.conf optionsi915fastboot=1 IntelGVT-ggraphicsvirtualizationsupport SeeIntelGVT-gfordetails. Enableperformancesupport Someapplicationshavethefollowingwarning: MESA-INTEL:warning:Performancesupportdisabled,considersysctldev.i915.perf_stream_paranoid=0 Ifsettingthevalueto0ina/etc/sysctl.d/*.conffileresultsinthefollowingerroratboot sysctl:cannotstat/proc/sys/dev/i915/perf_stream_paranoid:Nosuchfileordirectory youshouldloadthei915moduleearlywithearlyKMS. Tipsandtricks Settingscalingmode Thiscanbeusefulforsomefullscreenapplications: $xrandr--outputLVDS1--setPANEL_FITTINGparam whereparamcanbe: center:resolutionwillbekeptexactlyasdefined,noscalingwillbemade, full:scaletheresolutionsoitusestheentirescreenor full_aspect:scaletheresolutiontothemaximumpossiblebutkeeptheaspectratio. Ifitdoesnotwork,try: $xrandr--outputLVDS1--set"scalingmode"param whereparamisoneof"Full","Center"or"Fullaspect". Note:Thisoptioncurrentlydoesnotworkforexternaldisplays(e.g.VGA,DVI,HDMI,DP).[11] HardwareacceleratedH.264decodingonGMA4500 Thelibva-intel-driverpackageonlyprovideshardwareacceleratedMPEG-2decoding–andnotH.264decoding–forsomeGMA4500seriesGPUs.TocheckwhetherthataffectsyourparticularGPU,installboththatdriverandthelibva-utilspackage,thenchecktheoutputofthevainfotoolforthepresenceofentriesthatstartwithVAProfileH264. TheH.264decodingsupportismaintainedinaseparatedg45-h264branch,whichcanbeusedbyinstallinglibva-intel-driver-g45-h264AURpackage.Note,however,thatthissupportisexperimentalanditsdevelopmenthasbeenabandoned.UsingtheVA-APIwiththisdriveronaGMA4500seriesGPUwilloffloadtheCPUbutmaynotresultinassmoothaplaybackasnon-acceleratedplayback.TestsusingmplayershowedthatusingvaapitoplaybackanH.264encoded1080pvideohalvedtheCPUload(comparedtotheXVoverlay)butresultedinverychoppyplayback,while720pworkedreasonablywell[12].Thisisechoedbyotherexperiences[13].SettingthepreallocatedvideoramsizehigherinBIOSresultsinmuchbetterhardwaredecodedplayback.Even1080ph264workswellifthisisdone.Smoothplayback(1080p/720p)worksalsowithmpv-gitAURincombinationwithffmpeg-gitAURandlibva-intel-driver-g45-h264AUR.WithMPVandtheFirefoxplugin"SendtoMPVplayer"[14]itispossibletowatchhardwareacceleratedYouTubevideos. OldOpenGLDriver(i965) AsofMesa19.2,anewOpenGLdriver,Iris,isavailablefortesting.InMesa20.0,theIrisdriverispromotedtobethedefaultforGen8+.Certainapplicationsrunfasterwithit.Youmaydisableitandreverttousetheoldi965driverbysettingtheMESA_LOADER_DRIVER_OVERRIDE=i965environmentvariablebeforestartinganyOpenGLapplication.ThissettingdoesnotaffectVulkanapplications. Warning:ReportbugsandregressionsregardingtheIrisdriverhere. OverridingreportedOpenGLversion TheMESA_GL_VERSION_OVERRIDEenvironmentvariablecanbeusedtooverridethereportedOpenGLversiontoanyapplication.Forexample,settingMESA_GL_VERSION_OVERRIDE=4.5willreportOpenGL4.5. Warning:YoucanusethisvariabletoreportanyknownOpenGLversion,evenifitisnotsupportedbytheGPU.Someapplicationsmightnolongercrash,somemaystartcrashing-youprobablydonotwanttosetthisvariableglobally. ViewingGPUusage SeethetipregardingIntelGPUsinHardwarevideoacceleration#Verification. Settingbrightnessandgamma SeeBacklight. Troubleshooting Tearing TheSNAaccelerationmethodcausestearingonsomemachines.Tofixthis,enabletheTearFreeoptioninthedriverbyaddingthefollowinglinetoyourconfigurationfile: /etc/X11/xorg.conf.d/20-intel.conf Section"Device" Identifier"IntelGraphics" Driver"intel" Option"TearFree""true" EndSection Seetheoriginalbugreportformoreinfo. Note: ThisoptionmaynotworkwhenSwapbuffersWaitisfalse. Thisoptionmayincreasememoryallocationconsiderablyandreduceperformance.[15] Thisoptionisproblematicforapplicationsthatareverypickyaboutvsynctiming,likeSuperMeatBoy. ThisoptiondoesnotworkwithUXAaccelerationmethod,onlywithSNA. ForIntelUHD620or630youwillneedtoaddOption"TripleBuffer""true"inorderforTearFreetowork. DisableVerticalSynchronization(VSYNC) Usefulwhen: Chomium/ChromehaslagsandslowperformanceduetoGPUandrunssmoothlywith--disable-gpuswitch glxgearstestdoesnotshowdesiredperformance Theintel-driverusesTripleBufferingforverticalsynchronization;thisallowsforfullperformanceandavoidstearing.Toturnverticalsynchronizationoff(e.g.forbenchmarking)usethis.drircinyourhomedirectory: ~/.drirc Note:DonotusedriconfAURtocreatethisfile.Itisbuggyandwillsetthewrongdriver. DRI3issues DRI3isthedefaultDRIversioninxf86-video-intel.Onsomesystemsthiscancauseissuessuchasthis.ToswitchbacktoDRI2addthefollowinglinetoyourconfigurationfile: Option"DRI""2" Forthemodesettingdriver,thismethodofdisablingDRI3doesnotwork.Instead,onecansettheenvironmentvariableLIBGL_DRI3_DISABLE=1. FontandscreencorruptioninGTKapplications(missingglyphsaftersuspend/resume) ShouldyouexperiencemissingfontglyphsinGTKapplications,thefollowingworkaroundmighthelp.Edit/etc/environmenttoaddthefollowingline: /etc/environment COGL_ATLAS_DEFAULT_BLIT_MODE=framebuffer SeealsoFreeDesktopbug88584. Blankscreenduringboot,when"Loadingmodules" Ifusing"latestart"KMSandthescreengoesblankwhen"Loadingmodules",itmayhelptoaddi915andintel_agptotheinitramfs.SeeKernelmodesetting#EarlyKMSstartsection. Alternatively,appendingthefollowingkernelparameterseemstoworkaswell: video=SVIDEO-1:d IfyouneedtooutputtoVGAthentrythis: video=VGA-1:1280x800 Xfreeze/crashwithinteldriver SomeissueswithXcrashing,GPUhanging,orproblemswithXfreezing,canbefixedbydisablingtheGPUusagewiththeNoAcceloption-addthefollowinglinestoyourconfigurationfile: Option"NoAccel""True" Alternatively,trytodisablethe3DaccelerationonlywiththeDRIoption: Option"DRI""False" Addingundetectedresolutions ThisissueiscoveredontheXrandrpage. Backlightisnotadjustable Ifafterresumingfromsuspend,thehotkeysforchangingthescreenbrightnessdonottakeeffect,checkyourconfigurationagainsttheBacklightarticle. Iftheproblempersists,tryoneofthefollowingkernelparameters: acpi_osi=Linux acpi_osi="!Windows2012" acpi_osi= Alsomakesureyouarenotusingfastbootmode(i915.fastbootkernelparameter),itisknownforbreakingbacklightcontrols. CorruptionorunresponsivenessinChromiumandFirefox Ifyouexperiencecorruption,unresponsiveness,lagsorslowperformanceinChromiumand/orFirefoxsomepossiblesolutionsare: SettheAccelMethodto"uxa" DisableVSYNC EnabletheTearFreeoption Disable"DRI"andaccelerationmethod(testedonIntelIris10thgeneration):Option"NoAccel""True" Option"DRI""False" Kernelcrashingw/kernels4.0+onBroadwell/Core-Mchips AfewsecondsafterX/WaylandloadsthemachinewillfreezeandjournalctlwilllogakernelcrashreferencingtheIntelgraphicsasbelow: Jun1617:54:03hostnamekernel:BUG:unabletohandlekernelNULLpointerdereferenceat(null) Jun1617:54:03hostnamekernel:IP:[](null) ... Jun1617:54:03hostnamekernel:CPU:0PID:733Comm:gnome-shellTainted:GUO4.0.5-1-ARCH#1 ... Jun1617:54:03hostnamekernel:CallTrace: Jun1617:54:03hostnamekernel:[] ?i915_gem_object_sync+0xe7/0x190[i915] Jun1617:54:03hostnamekernel:[]intel_execlists_submission+0x294/0x4c0[i915] Jun1617:54:03hostnamekernel:[]i915_gem_do_execbuffer.isra.12+0xabc/0x1230[i915] Jun1617:54:03hostnamekernel:[] ?i915_gem_object_set_to_cpu_domain+0xa9/0x1f0[i915] Jun1617:54:03hostnamekernel:[] ?__kmalloc+0x2e/0x2a0 Jun1617:54:03hostnamekernel:[]i915_gem_execbuffer2+0x141/0x2b0[i915] Jun1617:54:03hostnamekernel:[]drm_ioctl+0x1db/0x640[drm] Jun1617:54:03hostnamekernel:[] ?i915_gem_execbuffer+0x450/0x450[i915] Jun1617:54:03hostnamekernel:[] ?eventfd_ctx_read+0x16b/0x200 Jun1617:54:03hostnamekernel:[]do_vfs_ioctl+0x2c6/0x4d0 Jun1617:54:03hostnamekernel:[] ?__fget+0x72/0xb0 Jun1617:54:03hostnamekernel:[]SyS_ioctl+0x81/0xa0 Jun1617:54:03hostnamekernel:[]system_call_fastpath+0x12/0x17 Jun1617:54:03hostnamekernel:Code:BadRIPvalue. Jun1617:54:03hostnamekernel:RIP[](null) Thiscanbefixedbydisablingexeclistsupportwhichwaschangedtodefaultonwithkernel4.0.Addthefollowingkernelparameter: i915.enable_execlists=0 Thisisknowntobebrokentoatleastkernel4.0.5. LaginWindowsguests ThevideooutputofaWindowsguestinVirtualBoxsometimeshangsuntilthehostforcesascreenupdate(e.g.bymovingthemousecursor).Removingtheenable_fbc=1optionfixesthisissue. Screenflickering PanelSelfRefresh(PSR),apowersavingfeatureusedbyInteliGPUsisknowntocauseflickeringinsomeinstancesFS#49628FS#49371FS#50605.Atemporarysolutionistodisablethisfeatureusingthekernelparameteri915.enable_psr=0. OpenGL2.1withi915driver Theupdateofmesafromversion13.xto17maybreaksupportforOpenGL2.1onthirdgenIntelGPUs(GMA3100,seehere),asdescribedinthisarticle,revertingitbacktoOpenGL1.4.Howeverthiscouldberestoredmanuallybysetting/etc/drircor~/.drircoptionslike: /etc/drirc ... ... Note:ThereasonofthisstepbackwasChromiumandotherapplications'badexperience.Ifneeded,youmighteditthedrircfileina"app-specific"style,seehere,todisablegl2.1onexecutablechromiumforinstance. KMSIssue:consoleislimitedtosmallarea Oneofthelow-resolutionvideoportsmaybeenabledonbootwhichiscausingtheterminaltoutilizeasmallareaofthescreen.Tofix,explicitlydisabletheportwithani915modulesettingwithvideo=SVIDEO-1:dinthekernelcommandlineparameterinthebootloader.SeeKernelparametersformoreinfo. Ifthatdoesnotwork,trydisablingTV1orVGA1insteadofSVIDEO-1.Videoportnamescanbelistedwithxrandr. Weatheredcolors(colorrangeproblems) The"BroadcastRGB"propertyintheInteldriverdefinesthecolorrangewhichcanbeusedbythedisplay-either"Limited16:235"(whichlimitsthecolorrangeforsomedisplaysthatcannotproperlyprocessfullrangecolorsignals)and"Full".Sincekernel3.9,thenewdefaultproperty"Automatic"triestodeterminewheneverthedisplaysupportsthefullcolorrange,andifitdoesnot/detectionfails,colorrangefallsbackto"Limited16:235".Ifdetectionsfaultyfallsbacktolimitedcolorrange,itresultsinweatheredcolorsandgreyblacks.Onsomedisplays/connectors,despitethefullcolorrangebeingsupportedproperly,automaticdetectionfailsandfallsbacktothelimitedcolorrange(upstreambugreport,kernels4.18-4.20). Youcanforcefullysetthedesiredcolorrangebyrunningxrandr--output--set"BroadcastRGB""Full"(replacewiththeappropriateoutputdevice,listedbyrunningxrandr).Thereisnowaytopersistthissettinginxorg.conf. NosoundthroughHDMIonaHaswellCPU AccordingtoaLinuxkernelissue,soundwillnotbeoutputthroughHDMIifintel_iommu=on.Tofixthisproblem,usethefollowingkernelparameter: intel_iommu=on,igfx_off Oralternatively,disableIOMMU: intel_iommu=off Graphicalsessioncrash Low-poweredIntelprocessorsand/orlaptopprocessorshaveatendencytorandomlyhangorcrashduetotheproblemswiththepowermanagementfeaturesfoundinlow-powerIntelchips.Ifsuchacrashhappens,youwillnotseeanylogsreportingthisproblem.AddingthefollowingKernelparametersmayhelptoresolvetheproblem. Note:Itisnotadvisedtouseallthreeofthebelowkernelparameterstogether. intel_idle.max_cstate=1i915.enable_dc=0ahci.mobile_lpm_policy=1 ahci.mobile_lpm_policy=1fixesahangonseveralLenovolaptopsandsomeAcernotebooksduetoproblematicSATAcontrollerpowermanagement.ThatworkaroundisstrictlynotrelatedtoIntelgraphicsbutitdoessolverelatedissues.AddingthiskernelparameterwillalsosolvehangswhenyouchangedisplaybrightnessoncertainLenovomachines. i915.enable_dc=0disablesGPUpowermanagement.ThisdoessolverandomhangsoncertainIntelsystems,notablyGoldmountandKabyLakeRefreshchips.Usingthisparameterdoesresultinhigherpoweruseandshorterbatterylifeonlaptops/notebooks. intel_idle.max_cstate=1limitstheprocessorssleepstates,itpreventstheprocessorfromgoingintodeepsleepstates.Thatisabsolutelynotidealanddoesresultinhigherpoweruseandlowerbatterylife.However,itdoessolverandomhangsonmanyIntelsystems.UsethisifyouhaveaIntelBaytrailoraKabyLakeRefreshchip.Intel"Baytrail"chipsareknowntorandomlyhangwithoutthiskernelparameterduetoahardwareflaw[16]. Ifyoutryaddingintel_idle.max_cstate=1i915.enable_dc=0ahci.mobile_lpm_policy=1inthehopeoffixingfrequenthangsandthatsolvestheissueyoushouldlaterremoveonebyonetoseewhichofthemactuallyhelpedyousolvetheissue.RunningwithcstatesanddisplaypowermanagementdisabledisnotadvisableiftheactualproblemisrelatedtoSATApowermanagementandahci.mobile_lpm_policy=1istheonethatactuallysolvesit. CheckLinuxReviewsformoredetails. Seealso https://01.org/linuxgraphics/documentation(includesalistofsupportedhardware) Retrievedfrom"https://wiki.archlinux.org/index.php?title=Intel_graphics&oldid=721118" Categories:GraphicsXserver



請為這篇文章評分?