|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
||||
Package installation and database errors
You had at least two packages which failed to install properly. When there is a failure during package install, pkg_add(1) retains the partially installed package with a name beginning with "partial-". If the package database in /var/db/pkg/ is coherent, these can be successfully deleted with pkg_delete(1). However, there is apparently damage to your package database. The pkg_check(8) program can inspect and repair package database problems. After running pkg_check, you should be able to then issue pkg_delete(1) to remove any remaining partial-* packages. There is insufficient information in your post to tell me why your package database has been damaged, or why you have packages which did not successfully install after installation was underway. Video issues This will be hardware, video driver, and X Windows related, and there is nothing in the information provided here that indicates any correlation between the two problems. Include both a dmesg(8) and the contents of /var/log/Xorg.0.log in your new thread. |
|
||||
pkg_check was very useful, thanks.
Quote:
The video issue seems to be my Radeon driver. The computer that died had an Nvidea driver and video worked perfectly. Videos become watchable on this new box when they are greatly shrunk. Reducing the container to about a fifth of the size the video is supposed to be makes a video watchable, but is very annoying. Although I am not going to worry about it for the moment. Since it is not an emergency it can wait for awhile. |
|
||||
You might have that backwards. Radeon and Intel are the two best working video hardware infrastructures with this OS. NVidia is never recommended -- usually because the only functional driver is vesa(4), which cannot use 2D or 3D hardware acceleration.
|
|
|||
Quote:
When you had Nvidia probably Mesa fallbacked to software rendering. IIRC you can force process using Mesa library to fallback to software rendering by some environment variables. This may or may not help for yours problems with videos.
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase Last edited by e1-531g; 27th October 2016 at 11:09 AM. Reason: corrected grammar mistake |
|
||||
Quote:
iwm-firmware-20160412 and uvideo-firmware-1.2p2 were installed after the first reboot. iwm-firmware-5.11p1 and radeondrm-firmware-20150927 are also available. Perhaps installing the radeondrm firmware will help. I shall try it in the near future and report back. dmesg Code:
$ dmesg OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80<clock_battery> real mem = 4129878016 (3938MB) avail mem = 4000235520 (3814MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe6ac0 (67 entries) bios0: vendor LENOVO version "D7CN30WW(V3.03)" date 04/18/2016 bios0: LENOVO 80LM acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP TCPA UEFI UEFI SSDT SSDT TPM2 MSDM SSDT DBGP DBG2 ASF! ASPT BOOT DBGP HPET LPIT APIC MCFG SSDT SSDT SSDT SSDT SSDT SSDT SSDT DMAR FPDT acpi0: wakeup devices PEGP(S3) PEGP(S3) PEG1(S3) PEGP(S3) PEG2(S3) XHC_(S3) HDAS(S4) PXSX(S4) PEGA(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S3) PXSX(S4) RP06(S3) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 23999999 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2694.53 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2693.73 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2693.73 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2693.73 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG1) acpiprt2 at acpi0: bus -1 (PEG2) acpiprt3 at acpi0: bus 1 (RP01) acpiprt4 at acpi0: bus -1 (RP02) acpiprt5 at acpi0: bus -1 (RP03) acpiprt6 at acpi0: bus -1 (RP04) acpiprt7 at acpi0: bus 2 (RP05) acpiprt8 at acpi0: bus 3 (RP06) acpiprt9 at acpi0: bus -1 (RP07) acpiprt10 at acpi0: bus -1 (RP08) acpiprt11 at acpi0: bus 4 (RP09) acpiprt12 at acpi0: bus -1 (RP10) acpiprt13 at acpi0: bus -1 (RP11) acpiprt14 at acpi0: bus -1 (RP12) acpiprt15 at acpi0: bus -1 (RP13) acpiprt16 at acpi0: bus -1 (RP14) acpiprt17 at acpi0: bus -1 (RP15) acpiprt18 at acpi0: bus -1 (RP16) acpiprt19 at acpi0: bus -1 (RP17) acpiprt20 at acpi0: bus -1 (RP18) acpiprt21 at acpi0: bus -1 (RP19) acpiprt22 at acpi0: bus -1 (RP20) acpiec0 at acpi0 acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PC05, resource for RP01 acpitz0 at acpi0: critical temperature is 127 degC "INT3F0D" at acpi0 not configured "MSFT0001" at acpi0 not configured "SYN2B39" at acpi0 not configured "VPC2004" at acpi0 not configured acpibat0 at acpi0: BAT1 model "PABAS0241231" serial 41167 type Li-Ion oem "LENOVO " acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 "PNP0C14" at acpi0 not configured "MSFT0101" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 2694 MHz: speeds: 2301, 2300, 2200, 2100, 2000, 1800, 1700, 1500, 1400, 1300, 1100, 1000, 800, 700, 500, 400 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 6G Host" rev 0x08 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 520" rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x21: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 pchtemp0 at pci0 dev 20 function 2 "Intel 100 Series Thermal" rev 0x21 "Intel 100 Series MEI" rev 0x21 at pci0 dev 22 function 0 not configured ahci0 at pci0 dev 23 function 0 "Intel 100 Series AHCI" rev 0x21: msi, AHCI 1.3.1 ahci0: port 0: 6.0Gb/s ahci0: port 1: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, ST500LT012-1DG14, 0002> SCSI3 0/direct fixed naa.5000c5009ae05052 sd0: 476940MB, 512 bytes/sector, 976773168 sectors cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GUE0N, T.02> ATAPI 5/cdrom removable ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi pci1 at ppb0 bus 1 1:0:0: mem address conflict 0xfffe0000/0x20000 "ATI Radeon HD 8670M" rev 0x83 at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 4 "Intel 100 Series PCIE" rev 0xf1: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), msi, address 1c:39:47:d1:96:78 rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 ppb2 at pci0 dev 28 function 5 "Intel 100 Series PCIE" rev 0xf1: msi pci3 at ppb2 bus 3 iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 3165" rev 0x99, msi ppb3 at pci0 dev 29 function 0 "Intel 100 Series PCIE" rev 0xf1: msi pci4 at ppb3 bus 4 rtsx0 at pci4 dev 0 function 0 "Realtek RTS5229 Card Reader" rev 0x01: msi sdmmc0 at rtsx0: 4-bit pcib0 at pci0 dev 31 function 0 "Intel 100 Series LPC" rev 0x21 "Intel 100 Series PMC" rev 0x21 at pci0 dev 31 function 2 not configured azalia0 at pci0 dev 31 function 3 "Intel 100 Series HD Audio" rev 0x21: msi azalia0: codecs: Realtek/0x0236, Intel/0x2809, using Realtek/0x0236 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel 100 Series SMBus" rev 0x21: apic 2 int 16 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pms0: Synaptics touchpad, firmware 8.1 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhidev0 at uhub0 port 1 configuration 1 interface 0 "Sunplus USB Optical Mouse" rev 2.00/0.14 addr 2 uhidev0: iclass 3/1, 1 report id ums0 at uhidev0 reportid 1: 5 buttons, Z and W dir wsmouse1 at ums0 mux 0 uvideo0 at uhub0 port 5 configuration 1 interface 0 "Bison Corp. Lenovo EasyCamera" rev 2.00/42.08 addr 3 video0 at uvideo0 ugen0 at uhub0 port 6 "Validity Sensors VFS5011 Fingerprint Reader" rev 1.10/0.78 addr 4 ugen1 at uhub0 port 7 "Intel product 0x0a2a" rev 2.00/0.01 addr 5 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (e159154ee5af42c2.a) swap on sd0b dump on sd0b iwm0: hw rev 0x210, fw ver 16.242414.0, address 00:db:df:ed:63:40 |
|
|||
Quote:
Anyway mpv also has OpenGL backend. My point is that a lot of software currently accelerates 3D and 2D graphics via OpenGL/OpenGL ES using hardware acceleration or fallbacks to software rendering. Quote:
Added On the other hand he has i5-6200U. Skylake. Back in September 2015 there was an update to Intel driver (ported from Linux) and newest supported Intel's GPUs were of Broadwell generation (predecessor of Skylake). I would not be surprised if Skylake is still not supported. So original poster (OP) can have too new hardware for OpenBSD system :/
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase Last edited by e1-531g; 28th October 2016 at 12:43 PM. |
|
|||
I have upgraded system recently and I can add something about mpv on unaccelerated hardware.
mpv can use different kind of video outputs. Default is opengl. It works well for me with acceleration by Intel's Sandy Bridge GPU. But I have dual GPU system and without applying patches I don't have acceleration. If I don't have acceleration xv video output works reasonably good. It seems that, sadly, vaapi video output is not available in OpenBSD' mpv. It is in Gnu/Linux distros. Code:
## prints available video outputs $ mpv -vo help ## to watch movie $ mpv -vo xv /path/to/file.extension Code:
vo = xv
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
||||
My available outputs are:
Code:
opengl : Extended OpenGL Renderer xv : X11/Xv sdl : SDL 2.0 Renderer x11 : X11 (slow, old crap) null : Null video output image : Write video frames to image files opengl-hq : Extended OpenGL Renderer (high quality rendering preset) |
|
||||
Update
Since the solution to get MPV working properly was a simple edit of the configuration file, I spent quite a while fiddling with VLC's .config, but nothing stopped VLC from crashing after loading a video. It turns out that the solution to get both VLC and Smplayer working with this driver does not require touching any configuration files. VLC preferences/video/output_driver/x11 (slow) Smplayer preferences/video/X11 video output (XCB) Strangely enough, when I played around with the video preferences a month ago nothing I tried worked. Today success. It is a mystery how I managed to not accomplish this earlier. (Well, not a complete mystery. The word incompetence comes to mind.) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
4 py-*** packages wouldn't accept uninstall or repair | daemonfowl | OpenBSD Packages and Ports | 8 | 4th June 2013 06:21 PM |
Convert varchar () to datetime datatype in MYSQL | cksraj | Programming | 1 | 22nd June 2009 12:53 PM |
Laptop Repair | DrJ | General Hardware | 4 | 25th August 2008 02:30 PM |