Re: Switchable graphics intel/ati - Fatal error during GPU init
On Wed, Apr 15, 2020 at 12:24:39AM +0200, Riccardo Mottola wrote: > Hi! > > My HP laptop has switchable graphics. When I first installed OpenBSD > some releases ago, I had to disable in BIOS or it would freeze as soon > as X started and showed a pointer. > > Now, I thought, let's try again.: so many things improved! > > Now, even during boot when I reach console, in dmesg I already see an issue: > > initializing kernel modesetting (CAICOS 0x1002:0x6760 0x103C:0x167D 0x00). > [drm] *ERROR* Unable to locate a BIOS ROM > drm:pid0:radeondrm_attachhook *ERROR* Fatal error during GPU init > [TTM] Memory type 2 has not been initialized > drm1 detached > radeondrm0 detached > "ATI Radeon HD 6400M" rev 0x00 at pci1 dev 0 function 0 not configured > inteldrm0: 1366x768, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 > > > If I try to run X11, it does not even attempt radeon and simply runs on > intel i965. > > Am I missing some firmware? "fw_update" did not download me anything new. > Or... some other "trick" ? > > Thanks, > > Riccardo > I don't think OpenBSD's build of X.Org supports PRIME.
possible hardware incompatibility with HP 2000 2d27DX
Most of the hardware functionality works under OpenBSD, but there are some missing. First, I can't control brightness input, even through wsconsctl (as there are no values to set brightness input). Second, I can't shutdown the computer properly. Issuing halt -p halts the system but doesn't turn off the computer as I had experienced with other hardware under OpenBSD. OpenBSD 6.6-current (GENERIC.MP) #84: Fri Mar 27 23:50:29 MDT 2020 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3702251520 (3530MB) avail mem = 3577438208 (3411MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbf9bc000 (44 entries) bios0: vendor Insyde version "F.37" date 06/26/2013 bios0: Hewlett-Packard HP 2000 Notebook PC acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI HPET APIC MCFG ASF! BOOT FPDT MSDM SSDT SSDT VFCT SSDT SSDT SSDT SSDT SSDT BGRT acpi0: wakeup devices GPP0(S5) GPP1(S4) OHC1(S3) OHC2(S3) OHC3(S3) EHC1(S3) EHC2(S3) EHC3(S3) XHC0(S4) ODD8(S3) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD A6-5200 APU with Radeon(TM) HD Graphics, 1996.51 MHz, 16-00-01 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1,XSAVEOPT cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD A6-5200 APU with Radeon(TM) HD Graphics, 1996.27 MHz, 16-00-01 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1,XSAVEOPT cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD A6-5200 APU with Radeon(TM) HD Graphics, 1996.27 MHz, 16-00-01 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1,XSAVEOPT cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD A6-5200 APU with Radeon(TM) HD Graphics, 1996.27 MHz, 16-00-01 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PCTRL3,ITSC,BMI1,XSAVEOPT cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins, remapped acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (GPP0) acpiprt2 at acpi0: bus 5 (GPP1) acpiprt3 at acpi0: bus 6 (GPP2) acpiprt4 at acpi0: bus -1 (GPP3) acpiprt5 at acpi0: bus -1 (GFX_) acpiec0 at acpi0 acpicpu0 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS acpicpu1 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS acpicpu2 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS acpicpu3 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS acpipwrres0 at acpi0: FN00, resource for FAN0 acpitz0 at acpi0: critical temperature is 120 degC acpibtn0 at acpi0: PWRB acpipci0 at acpi0 PCI0: 0x00
audio issues with HP 2000 2d27DX laptop
I am unable to play videos if audio is present. The media keys work normally and I can fiddle with audio using mixerctl. Removing mic2 from inputs.mix_source stops a kind of hissing I hear when the headset is plugged into the laptop. However, when trying to reproduce videos either with the browser (firefox-esr) or the media players (mplayer; mpv) I get stuck in a static frame. I can still reproduce videos if no audio output is specified (e.g. with mplayer -ao null file/url). Audio-only media cannot be reproduced at all. Rebooting the system sometimes fixes the issue, but sparingly so. The last time it worked I had gotten audio to briefly work but shortly after it looped into a frame and crashed the video. I am indexing the verbose output of mpv, hoping it helps somehow (+) Video --vid=1 (*) (h264 1280x720 30.000fps) (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz) AO: [sndio] 44100Hz stereo 2ch s16 VO: [gpu] 1280x720 yuv420p [ao/sndio] Audio device returned broken buffer state (sent 18081 samples, got 11025 samples, 441 period)! [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 samples, 441 period)! [ao/sndio] Audio output is reporting incorrect buffer status. [ao/sndio] A