Slow video in VLC and mplayer, but not in browsers
Hi, I'm getting slow and choppy (non-accelerated?) video in both VLC and mplayer on OpenBSD 6.1. However, when watching the same video inside chromium or firefox the quality is decent. What might cause this? $ dmesg | grep vga vga1 at pci0 dev 2 function 0 "Intel HD Graphics 630" rev 0x04 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) $ glxinfo [...] direct rendering: Yes [...] Extended renderer info (GLX_MESA_query_renderer): Vendor: VMware, Inc. (0x) Device: softpipe (0x) Version: 13.0.6 Accelerated: no Video memory: 16068MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 3.3 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 Btw, for VLC I also need to export LD_PRELOAD=/usr/X11R6/lib/libGL.so.17.1 to work around undefined symbols in swrast_dri.so, as described in https://marc.info/?l=openbsd-ports&m=146532946103283. Thanks for any hints! Maxim
Re: Does pf support NPT (RFC6296) ?
> > I know I can do NAT66, but I don't think it's feasible to emulate NPT > > using NAT66 rules. > > No, NPT is different and can't be emulated by anything that OpenBSD's > PF currently does. Shoot. I was really hoping pfSense managed it through some feature that predated FreeBSD's pf(4) import, but that I had merely overlooked. That sucks, right now. > The closest it can get is NAT with bitmask and "static-port", but > 1) that's stateful, and 2) it doesn't do the "checksum neutral" > modification that NPT uses (NPT doesn't replace just the network prefix; > it also adjusts the host part of the address in a complementary manner > so that the IPv6 checksum doesn't change). Ah, thank you for that explanation - I wasn't clear on what the manipulations were supposed to accomplish. In my unfortunate scenario, NAT66 would probably work just as well, assuming my intuition about how IPv4 NAT/SNAT/PNAT works in pf(4) extends to the IPv6 world. An HTTP proxy would also work, I suppose, but would require more configuration on the inner hosts. All I need is a way to give ULA-addressed hosts a way *out* to reach, e.g. DNS, NTP, mirrors, probably various CDNs - all the maintenance traffic a modern (non-OpenBSD) host generates by itself. As I write this, I'm starting to wonder if NAT66 isn't the better solution anyway since it's (kind-of) inherently unidirectional. Oh, and in case anyone's wondering - this is all because a) VMware NSX 6.0 supports IPv6, but neglects to include any form of NAT or NPT or outbound proxy; and b) OVH, even in their private cloud offering (which is where the VMware NSX 6.0 comes in!), will not route public IP address space to a VLAN behind my firewall... which works for IPv4 ("just use NAT!"), but not so well for IPv6. And I need IPv6 on the protected hosts. *sigh* If anyone reading this thinks they can see a better way around this pair of problems, please let me know. -Adam
Re: Installing openbsd on MacBook air 2014
On Tue, May 16, 2017 at 12:22:18PM +, flipchan wrote: > Here is the output: > > > first boot didnt work so i searched around and found this blog post > http://www.sacrideo.us/openbsd-on-macbook/ and i tried typing in the mkdir > commands i it booted > > >>OpenBSD/i386 BOOT 3.31 > boot> > boot>mkdir cd-dir > boot>cd cd-dir > boot>mkdir -p 4.2/i386 > boot>mkdir -p etc > boot>cp ~/cdboot ~/cdbr ~/bsd.rd 4.2/i386 > boot>config -ef 4.2/i386/bsd.rd These aren't commands for the boot loader. This guide recommends that you create a custom ISO image. It's very outdated. I would not rely on it. > Welcome to the OpenBSD/i386 6.1 installation program: Please try amd64 instead of i386.
Re: Problme parsing the BGP UPDATE file
On Tue, May 16, 2017 at 11:53:22AM +, Stuart Henderson wrote: > On 2017-05-16, Nagarjun G wrote: > > Hi Team, > > > > We are running an OpenBGPD router inside an AS we own. We are collecting > > BGP RIB files every 2 hours and UPDATE files every 5 mins. I tried parsing > > these files using some well known parses like bgpstream and mabo. I am able > > to parse RIB files successfully but I am unable to parse UPDATE files. I > > see that files are getting truncated. Developers of mabo are saying that > > files may be corrupted, mabo will not parse MRT headers are corrupted. > > > > *Commands used to dump files:* > > > > dump table-v2 "/tmp/rib-dump-v2-%Y%m%d%H%M" 7200 > > dump updates in "/tmp/updates-%Y%m%d%H%M" 300 > > > > *Error while parsing UPDATE file using mabo:* > > > > $ ./mabo dump updates-in-1223.gz > > {"type":"update","timestamp":1493880788.0,"peer_as":4755.0,"peer_ip":"121.244.206.224","as_path":"4755 > > 6453 7575 38022 55702","announce":["49.0.31.0/24"],"withdraw":[]} > > [..] > > MRT parsing error: MRT dump is truncated: 1493880791 16/4 138 > > > > It starts parsing the file, then throws error. > > > > Could someone help me to fix the problem. > > Thanks in Advance > > > > Regards, > > Nagarjun > > > > I've just tried mabo on a mrt updates dump on an OpenBSD -current > system and it works here. > > Is bgpdump able to read the file? (just "pkg_add libbgpdump" and > "bgpdump $file"). If so, if you lookup the last entry that mabo was > able to parse, and look at the next entry in bgpdump (presumably the > one triggering the failure), does that give any clues about what > the problem might be? > I guess this is the same bug reported in Dec last year and fixed in rev 1.356 of session.c. So this is fixed in 6.1 and -current but not in 6.0. -- :wq Claudio
Re: Installing openbsd on MacBook air 2014
Here is the output: first boot didnt work so i searched around and found this blog post http://www.sacrideo.us/openbsd-on-macbook/ and i tried typing in the mkdir commands i it booted >>OpenBSD/i386 BOOT 3.31 boot> boot>mkdir cd-dir boot>cd cd-dir boot>mkdir -p 4.2/i386 boot>mkdir -p etc boot>cp ~/cdboot ~/cdbr ~/bsd.rd 4.2/i386 boot>config -ef 4.2/i386/bsd.rd pci11 at ppb10 bus 4 ahci0 at pci11 dev 0 function 0 vendor "Marvell", unknown product 0x9183 rev 0x14: msi, AHCI 1.0 ahci0: port 0: 6.0Gb/s scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.5001b44c33d7ff40 sd0: 115712MB, 512 bytes/sector, 236978176 sectors, thin pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04 "Intel 8 Series SMBus" rev 0x04 at pci0 dev 31 function 3 not configured isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 uhub0: device problem, disabling port 1 uhub0: device problem, disabling port 3 uhub0: device problem, disabling port 5 uhub0: device problem, disabling port 12 Welcome to the OpenBSD/i386 6.1 installation program: (I)nstall, (Upgrade), (A)utoinstall or (S)hell i cant do anything cuz my keyboard is disabled On May 16, 2017 1:31:02 PM GMT+02:00, Stefan Sperling wrote: >On Tue, May 16, 2017 at 08:43:39AM +, flipchan wrote: >> Hi the install61.fs boots up but it gets frozen giveing errors >> >> Link to pic : >https://www.file-upload.net/download-12501308/2017-05-1610.41.54.jpg.html > >Sorry, I tried a few times, enabled some java script in firefox >along the way, and then gave up. I cannot see your image. > >> Maybe I'm missing something > >Please do not send image attachements, or links like this. > >If you want help, please describe your problem in plain text. >If necessary type off your screen. Yes it feels very silly to do that, >but it saves everyone else a bit of time. -- Take Care Sincerely flipchan layerprox dev
Re: Installing openbsd on MacBook air 2014
I boot it and it outputs uhub0: device problem. disabling port 1,2,3,5,12 Welcome to the OpenBSD installing program: And the nothing happens cuz I can't use my keyboard On May 16, 2017 1:31:02 PM GMT+02:00, Stefan Sperling wrote: >On Tue, May 16, 2017 at 08:43:39AM +, flipchan wrote: >> Hi the install61.fs boots up but it gets frozen giveing errors >> >> Link to pic : >https://www.file-upload.net/download-12501308/2017-05-1610.41.54.jpg.html > >Sorry, I tried a few times, enabled some java script in firefox >along the way, and then gave up. I cannot see your image. > >> Maybe I'm missing something > >Please do not send image attachements, or links like this. > >If you want help, please describe your problem in plain text. >If necessary type off your screen. Yes it feels very silly to do that, >but it saves everyone else a bit of time. -- Take Care Sincerely flipchan layerprox dev
Re: Problme parsing the BGP UPDATE file
On 2017-05-16, Nagarjun G wrote: > Hi Team, > > We are running an OpenBGPD router inside an AS we own. We are collecting > BGP RIB files every 2 hours and UPDATE files every 5 mins. I tried parsing > these files using some well known parses like bgpstream and mabo. I am able > to parse RIB files successfully but I am unable to parse UPDATE files. I > see that files are getting truncated. Developers of mabo are saying that > files may be corrupted, mabo will not parse MRT headers are corrupted. > > *Commands used to dump files:* > > dump table-v2 "/tmp/rib-dump-v2-%Y%m%d%H%M" 7200 > dump updates in "/tmp/updates-%Y%m%d%H%M" 300 > > *Error while parsing UPDATE file using mabo:* > > $ ./mabo dump updates-in-1223.gz > {"type":"update","timestamp":1493880788.0,"peer_as":4755.0,"peer_ip":"121.244.206.224","as_path":"4755 > 6453 7575 38022 55702","announce":["49.0.31.0/24"],"withdraw":[]} > [..] > MRT parsing error: MRT dump is truncated: 1493880791 16/4 138 > > It starts parsing the file, then throws error. > > Could someone help me to fix the problem. > Thanks in Advance > > Regards, > Nagarjun > I've just tried mabo on a mrt updates dump on an OpenBSD -current system and it works here. Is bgpdump able to read the file? (just "pkg_add libbgpdump" and "bgpdump $file"). If so, if you lookup the last entry that mabo was able to parse, and look at the next entry in bgpdump (presumably the one triggering the failure), does that give any clues about what the problem might be?
Re: Installing openbsd on MacBook air 2014
On Tue, May 16, 2017 at 08:43:39AM +, flipchan wrote: > Hi the install61.fs boots up but it gets frozen giveing errors > > Link to pic : > https://www.file-upload.net/download-12501308/2017-05-1610.41.54.jpg.html Sorry, I tried a few times, enabled some java script in firefox along the way, and then gave up. I cannot see your image. > Maybe I'm missing something Please do not send image attachements, or links like this. If you want help, please describe your problem in plain text. If necessary type off your screen. Yes it feels very silly to do that, but it saves everyone else a bit of time.
Re: Installing openbsd on MacBook air 2014
Hi the install61.fs boots up but it gets frozen giveing errors Link to pic : https://www.file-upload.net/download-12501308/2017-05-1610.41.54.jpg.html Maybe I'm missing something On May 16, 2017 10:00:22 AM GMT+02:00, Stefan Sperling wrote: >On Tue, May 16, 2017 at 07:49:51AM +, flipchan wrote: >> Hi I am trying to install openbsd on my MacBook air 2014. I have >tried burning the 6.1 intel install61.iso to a USB and tried to boot >from that but I have got zero success (burned it with dd like a normal >os install). Does anyone know how to install openbsd on a MacBook air? >The MacBook air don't detect the USB as a bootable device. >> >> >> Take care and have a good day > >The first comment here indicates you may need to hold down the >Option key while booting: https://www.geeklan.co.uk/?p=1283o >And this also supports the idea: >https://support.apple.com/en-us/HT201255 > >Good luck! -- Take Care Sincerely flipchan layerprox dev
Re: Installing openbsd on MacBook air 2014
On Tue, May 16, 2017 at 07:49:51AM +, flipchan wrote: > Hi I am trying to install openbsd on my MacBook air 2014. I have tried > burning the 6.1 intel install61.iso to a USB and tried to boot from that but > I have got zero success (burned it with dd like a normal os install). Does > anyone know how to install openbsd on a MacBook air? The MacBook air don't > detect the USB as a bootable device. > > > Take care and have a good day The first comment here indicates you may need to hold down the Option key while booting: https://www.geeklan.co.uk/?p=1283o And this also supports the idea: https://support.apple.com/en-us/HT201255 Good luck!
Re: Installing openbsd on MacBook air 2014
On 2017-05-16 10:49, flipchan wrote: Hi I am trying to install openbsd on my MacBook air 2014. I have tried burning the 6.1 intel install61.iso to a USB and tried to boot from that but I have got zero success (burned it with dd like a normal os install). Does anyone know how to install openbsd on a MacBook air? The MacBook air don't detect the USB as a bootable device. Take care and have a good day Hi, Try with install61.fs. Regards.
Installing openbsd on MacBook air 2014
Hi I am trying to install openbsd on my MacBook air 2014. I have tried burning the 6.1 intel install61.iso to a USB and tried to boot from that but I have got zero success (burned it with dd like a normal os install). Does anyone know how to install openbsd on a MacBook air? The MacBook air don't detect the USB as a bootable device. Take care and have a good day -- Take Care Sincerely flipchan layerprox dev