priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
Hi Since we now stuck with drm2 in base for a few more years I have an idea would make things much smoother for many of us, hugely reduce the amount of bug reports we get and I think would be beneficial in other ways too. Current I run with something like this in /boot/loader.conf module_path="/

Re: priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
. > -M > > OK, thanks for the clarification. That's a good compromise I guess. Still, regardless of drm, aren't modules in overlay folders suppose to have higher priority than those in the kernel folder? > > > > On Fri, Aug 24, 2018 at 01:06 Johannes Lundberg >

Re: priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
On Fri, Aug 24, 2018 at 5:20 PM Warner Losh wrote: > > > On Fri, Aug 24, 2018 at 8:13 AM Rodney W. Grimes < > freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > >> > On Fri, Aug 24, 2018 at 3:22 AM Johannes Lundberg >> wrote: >> > > >> >

Re: priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
On Fri, Aug 24, 2018 at 5:43 PM Warner Losh wrote: > > > On Fri, Aug 24, 2018 at 9:27 AM Johannes Lundberg > wrote: > >> There's some tricks we can do here. >>> >>> First, I talked to Kyle yesterday about augmenting the Lua loader to >>> ha

Re: drm / drm2 removal in 12

2018-08-25 Thread Johannes Lundberg
Hi Owen I'm truly sorry you feel this way about our work. At first I was thinking "I'm not going to feed the troll" but after giving what you're writing some more thought it seems maybe you have misunderstood some things that I want to clarify to make sure there's no misunderstanding by you or an

Re: drm / drm2 removal in 12

2018-08-25 Thread Johannes Lundberg
those companies with all their resources > cannot? > > Those 30,000 ports many of them bring bugs with them because of this > Linuxkpi stuff. Just recently there was a user who said google earth > doesn't work the answer was it doesn't work and that's that. > > The

usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
Hi I have (with 12-ALPHA5) /boot/loader.conf rtwn_load="YES" if_urtw_usb_load="YES" /etc/rc.conf wlans_rtwn0="wlan0" ifconfig_wlan0="WPA DHCP" but still after boot only lo0 exists and all modules are loaded. Manually running ifconfig wlan0 create wlandev rtwn0 sets up the interface correctly.

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov wrote: > Johannes Lundberg wrote: > > Hi > > > > I have (with 12-ALPHA5) > > > > /boot/loader.conf > > rtwn_load="YES" > > if_urtw_usb_load="YES" > > rtwn(4) thinks this should

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss wrote: > > > > On 18 Sep 2018, at 10:32, Johannes Lundberg wrote: > > > > On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov wrote: > > > >> Johannes Lundberg wrote: > >>> Hi > >>&

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg wrote: > > > On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss > wrote: > >> >> >> > On 18 Sep 2018, at 10:32, Johannes Lundberg wrote: >> > >> > On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 10:03 AM Johannes Lundberg wrote: > > > On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg > wrote: > >> >> >> On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss >> wrote: >> >>> >>> >>> > On 18 S

Re: usb rtwn not loaded properly at boot

2018-09-19 Thread Johannes Lundberg
> On Tue, Sep 18, 2018 at 6:55 AM Johannes Lundberg > wrote: > > > On Tue, Sep 18, 2018 at 10:03 AM Johannes Lundberg > > wrote: > > > > > > > > > > > On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg > > &g

Random reboots with wifi/wpa/iwm (12-alpha6)

2018-09-22 Thread Johannes Lundberg
Hi For a while I have had occasional random reboots. Today I managed to get 2 core dumps, both with the same backtrace. It might be the case that this only happens after the system has been resumed from S3 but I'm not sure. The second time the reboot was 30 minutes after resume. I'm using wpa_sup

Re: r338641 && /dev/cyapa0: moused does not show pointer on console

2018-09-26 Thread Johannes Lundberg
On Mon, Sep 24, 2018 at 21:57 Matthias Apitz wrote: > El día Monday, September 24, 2018 a las 09:01:34PM +0200, Michael Gmelin > escribió: > > > >> On 24/09/2018 13:21, Matthias Apitz wrote: > > >> Re/ i915kms, I have to load it with kldload by hand. If I load it via > > >> loader.conf, the cyapa

Re: 12.0-ALPHA5 - ZFS default ARC max apparently forcing system to run out of memory

2018-09-27 Thread Johannes Lundberg
On Thu, Sep 27, 2018 at 15:03 Rebecca Cran wrote: > I'm running 12.0-ALPHA5 on a laptop which has 32GB RAM and 2GB swap. > I've found it running out of memory when building ports via synth: I > think I've also seen it when running a buildworld. Johannes on > FreeBSDDesktop suggested it might be r

Re: drm2 in base

2018-09-28 Thread Johannes Lundberg
drm-legacy-kmod will be ready before 12 is released. On Fri, Sep 28, 2018 at 13:48 Steve Kargl wrote: > On Fri, Sep 28, 2018 at 01:30:59PM -0700, Matthew Macy wrote: > > > > Bug reports are addressed as they come in. If issues haven't come up > > it likely reflects a scarcity of users. > > > > I

Dell latitude 7490 touchpad support?

2018-09-29 Thread Johannes Lundberg
Hi I just got a new work laptop and the touchpad does not work. Some information points to that this machine has a Microsoft precision touchpad. I can't see any USB device so I'm wondering if this is an I2C device? Do we have any driver for this? /Johannes ___

Re: Resume Issue with em(4) ALPHA7

2018-09-30 Thread Johannes Lundberg
On Sun, Sep 30, 2018 at 8:24 AM Ali Abdallah wrote: > I'm having also the same problem on my Thinkpad x230. However I'm running a > minimal kernel, so usually I do kldunload/kldload if_em, > to reset the hardware and to avoid a reboot. > > Hopefully this gets fixed soon. > > Hi I've been having

Sound issues with Dell Latitude 7490 (kabylake)

2018-10-01 Thread Johannes Lundberg
Hi While sound work out of the box (with headphone switching) on the 1-2 year older Latitude 7270, it does not on my new machine. The internal speaker works fine. If I plug in external speakers in the headphone jack, sound still goes to the internal speaker while a very load buzz comes from the e

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-01 Thread Johannes Lundberg
On Mon, Oct 1, 2018 at 5:43 PM Rodney W. Grimes < freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > > Hi > > > > While sound work out of the box (with headphone switching) on the 1-2 > year > > older Latitude 7270, it does not on my new machine. > > > > The internal speaker works fine. If I plug in ext

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-01 Thread Johannes Lundberg
On Mon, Oct 1, 2018 at 8:37 PM Jakob Alvermark wrote: > On 10/1/18 5:57 PM, Johannes Lundberg wrote: > > Hi > > > > While sound work out of the box (with headphone switching) on the 1-2 > year > > older Latitude 7270, it does not on my new machine. > > >

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-02 Thread Johannes Lundberg
On Mon, Oct 1, 2018 at 10:12 PM Jakob Alvermark wrote: > On 10/1/18 10:56 PM, Johannes Lundberg wrote: > > On Mon, Oct 1, 2018 at 8:37 PM Jakob Alvermark > wrote: > > > >> On 10/1/18 5:57 PM, Johannes Lundberg wrote: > >>> Hi > >>> > >>

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-02 Thread Johannes Lundberg
On Tue, Oct 2, 2018 at 9:32 PM Jakob Alvermark wrote: > On 10/2/18 9:56 PM, Johannes Lundberg wrote: > > > > On Mon, Oct 1, 2018 at 10:12 PM Jakob Alvermark > wrote: > >> On 10/1/18 10:56 PM, Johannes Lundberg wrote: >> > On Mon, Oct 1, 2018 at 8:37 PM Jako

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-02 Thread Johannes Lundberg
On Tue, Oct 2, 2018 at 9:36 PM Johannes Lundberg wrote: > > > On Tue, Oct 2, 2018 at 9:32 PM Jakob Alvermark > wrote: > >> On 10/2/18 9:56 PM, Johannes Lundberg wrote: >> >> >> >> On Mon, Oct 1, 2018 at 10:12 PM Jakob Alvermark >> wrote:

linux-c7 and opengl apps?

2018-10-03 Thread Johannes Lundberg
Hi Have anyone successfully run opengl apps with linux-c7? Linux opengl apps works great with linux-c6 on gpu < kabylake but linux-c6-dri does not include support for kabylake gpus. Linux glxinfo in c7 show support for hardware rendering on kabylake but any attempt to run an opengl app results in

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-03 Thread Johannes Lundberg
On Wed, Oct 3, 2018 at 2:30 PM Jakob Alvermark wrote: > On 10/3/18 3:06 PM, David Wolfskill wrote: > > On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote: > >> > >> Do the headphones work with this patch? > >> > >> Index: sys/dev/sound/pci/hda/hdaa.c > >> ===

Re: Radeon HD 7570M: drm: deep frustration with r339186

2018-10-06 Thread Johannes Lundberg
ould progress no further e.g. no login manager > (sddm); no response to Control-Alt-F2; no response to Control-Alt-Delete. > The apparent unpredictability leading to a dead-end situation has created a > sense of unease; now I'm genuinely afraid to test suspend :-( > > i believe j

Re: linux-c7 and opengl apps?

2018-10-06 Thread Johannes Lundberg
On Sat, Oct 6, 2018 at 1:39 PM Greg V wrote: > > > On Fri, Oct 5, 2018 at 11:21 PM, Theron wrote: > > % /compat/linux/opt/VirtualGL/bin/glxinfo | grep OpenGL > > libGL error: MESA-LOADER: failed to retrieve device information > > Do you have linsysfs mounted? > > Try reading /compat/linux/sys/cl

Re: drm confusion / xorg / AMD RX580 GPU

2018-10-09 Thread Johannes Lundberg
On Mon, Oct 8, 2018 at 1:47 PM tech-lists wrote: > Hi, > > context: 12-alpha8, amd64, xorg, AMD rx580 card > > As per /usr/ports/UPDATING, I have installed graphics/drm-kmod which has > installed drm-next-kmod-4.11.g20180822 > > As per pkg message, it's loaded with this line in /etc/rc.conf: > >

Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread Johannes Lundberg
On Wed, Oct 10, 2018 at 11:18 AM tech-lists wrote: > Hi, > > I'm trying to get xorg to display 4k. The context is: > > FreeBSD 12.0-ALPHA8 r339084 amd64 > ports r481640 > AMD RX580 GPU > Asus X99 Extreme3 mobo > cpu: intel e5-2699v4 > 48GB RAM > Samsung UE48JU6410U monitor connected via HDMI > >

Re: is 4k desktop possible on freebsd-12?

2018-10-11 Thread Johannes Lundberg
On Thu, Oct 11, 2018 at 9:58 AM tech-lists wrote: > On 10/10/2018 15:24, Slawa Olhovchenkov wrote: > > You need check HDMI 2.0 available on video card and monitor. > > For HDMI 1.4 you need check of support both card and monitor support > 4K@24. > > Yes, the card, cable and monitor are all capabl

Re: drm changes and updating to 12.0

2018-11-05 Thread Johannes Lundberg
On Mon, Nov 5, 2018 at 5:27 PM Robert Huff wrote: > > Warner Losh writes: > > > I'm curious where 2013 comes from. I know that Intel Sandy Bridge > graphics > > is supported with VAAPI acceleration by drm-stable-kmod, since it i > working > > on the system I am using to send this m

Re: drm changes and updating to 12.0

2018-11-05 Thread Johannes Lundberg
On Mon, Nov 5, 2018 at 10:05 PM Carsten Mattner wrote: > On Mon, Nov 5, 2018 at 7:00 PM Johannes Lundberg > wrote: > > > Which Linux version is tracked is listed in the port info. > > drm-stable-kmod is currently at Linux 4.9 > > drm-devel-kmod is currently at Linux 4

Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel

2018-11-11 Thread Johannes Lundberg
I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the time with references to various memory access errors (use after free among other). Ubuntu is also unstable on this machine but Windows 10 works well after a windows update (I had to reinstall the previous motherboard with older

Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel

2018-11-12 Thread Johannes Lundberg
On Mon, Nov 12, 2018 at 2:04 AM Johannes Dieterich wrote: > On Sun, Nov 11, 2018 at 4:48 PM Johannes Lundberg > wrote: > > > > I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the > time > > with references to various memory access errors (use

axp288 on Intel HW

2018-11-16 Thread Johannes Lundberg
Hi I have a Lenovo Ideapad Miix 310 that has a Intel CherryTrail CPU and it runs FreeBSD quite nicely (with accelerated graphics). What I'm missing is battery life status.. I can get this information using smb (for some reason i2c just returns error sending start condition) smbmsg -f /dev/smb6 -s

Re: axp288 on Intel HW

2018-11-16 Thread Johannes Lundberg
On Fri, Nov 16, 2018 at 5:11 PM John Baldwin wrote: > On 11/16/18 12:51 AM, Johannes Lundberg wrote: > > Hi > > > > I have a Lenovo Ideapad Miix 310 that has a Intel CherryTrail CPU and it > > runs FreeBSD quite nicely (with accelerated graphics). What I'm miss

Re: drm2 removed?

2019-02-11 Thread Johannes Lundberg
On 2/11/19 4:23 PM, Niclas Zeising wrote: > On 2/11/19 5:20 PM, Steve Kargl wrote: >> On Mon, Feb 11, 2019 at 08:12:05AM -0800, Steve Kargl wrote: >>> Anyone have any idea which recent change broke the >>> drm-legacy-kmod port.  This is why I raised an issue >>> with removal of drm2 from src/sys. 

Fwd: What is evdev and autoloading?

2019-02-18 Thread Johannes Lundberg
Missed to include current@ Forwarded Message Subject:Re: What is evdev and autoloading? Date: Mon, 18 Feb 2019 12:02:50 + From: Johannes Lundberg To: freebsd-hack...@freebsd.org On 2/18/19 11:06 AM, Stefan Blachmann wrote: > On 2/18/19, Vladi

Re: What is evdev and autoloading?

2019-02-18 Thread Johannes Lundberg
On 2/18/19 3:12 PM, Rodney W. Grimes wrote: >> On 2/18/19 12:06 PM, Stefan Blachmann wrote: >>> On 2/18/19, Vladimir Kondratyev wrote: On 2019-02-17 21:03, Steve Kargl wrote: > Anyone have insight into what evdev is? evdev.ko is a small in-kernel library that makes all your input e

Re: What is evdev and autoloading?

2019-02-19 Thread Johannes Lundberg
On 2/19/19 12:37 AM, Warner Losh wrote: > On Mon, Feb 18, 2019 at 9:50 AM Steve Kargl < > s...@troutmask.apl.washington.edu> wrote: > >> On Mon, Feb 18, 2019 at 09:11:14AM -0700, Warner Losh wrote: >>> You do know these constant complaints about people trying to make things >>> better is demorali

Re: What is evdev and autoloading?

2019-02-19 Thread Johannes Lundberg
On 2/18/19 10:54 PM, Mark Linimon wrote: > On Mon, Feb 18, 2019 at 08:50:27AM -0800, Rodney W. Grimes wrote: >> I think one serious problem here is the summary dismissal of things >> simply on the "5 year old" basis. > IIUC the graphics changes are being forced upon FreeBSD by external > projects

Re: What is evdev and autoloading?

2019-02-19 Thread Johannes Lundberg
On 2/19/19 5:35 PM, Steve Kargl wrote: > On Tue, Feb 19, 2019 at 08:17:48AM -0800, Cy Schubert wrote: >> On February 18, 2019 9:17:37 AM PST, Pete Wright wrote: >>> >>> On 2/18/19 8:50 AM, Rodney W. Grimes wrote: > On Mon, Feb 18, 2019 at 9:12 AM Rodney W. Grimes < > > I don't know. I

Switching fb backend back to default

2019-03-17 Thread Johannes Lundberg
Hi I'm working on making i915kms unload properly. I've come to what I think is the last issue. The drm driver unloads ok, the "efifb" backend is restored (according to logs) and vt_efifb_init() is being called but the screen (laptop built in display) stays black. The system seems operational other

Re: Switching fb backend back to default

2019-03-17 Thread Johannes Lundberg
On 3/17/19 3:34 PM, Greg V wrote: > > > On Sun, Mar 17, 2019 at 3:07 PM, Johannes Lundberg > wrote: >> Hi >> >> I'm working on making i915kms unload properly. I've come to what I think >> is the last issue. The drm driver unloads ok, the "ef

Re: Switching fb backend back to default

2019-03-17 Thread Johannes Lundberg
On Sun, Mar 17, 2019 at 21:35 Emmanuel Vadot wrote: > On Sun, 17 Mar 2019 16:32:43 + > Johannes Lundberg wrote: > > > > > On 3/17/19 3:34 PM, Greg V wrote: > > > > > > > > > On Sun, Mar 17, 2019 at 3:07 PM, Johannes Lundberg > > &

Use mic from headphone jack on freebsd laptop?

2019-03-18 Thread Johannes Lundberg
Hi On my Dell laptop the output audio switches to the headphones automatically when plugged in, however, the same does not seem to be true for the mic. Is there any configuration magic that can be done to use the headphone mic instead of the internal one? Here's pin config: hdaa0: Dumping AFG pi

Re: Switching fb backend back to default

2019-03-18 Thread Johannes Lundberg
On Mon, Mar 18, 2019 at 19:28 Pete Wright wrote: > > > On 3/17/19 2:50 PM, Johannes Lundberg wrote: > > On Sun, Mar 17, 2019 at 21:35 Emmanuel Vadot > wrote: > > > >> On Sun, 17 Mar 2019 16:32:43 + > >> Johannes Lundberg wrote: > >> >

Re: Switching fb backend back to default

2019-03-18 Thread Johannes Lundberg
On Mon, Mar 18, 2019 at 19:48 Oliver Pinter wrote: > > > On Sunday, March 17, 2019, Johannes Lundberg wrote: > >> On Sun, Mar 17, 2019 at 21:35 Emmanuel Vadot >> wrote: >> >> > On Sun, 17 Mar 2019 16:32:43 + >> > Johannes Lundberg wrote: >

Re: SVN r346645 breaks build of DRM drivers

2019-04-24 Thread Johannes Lundberg
Hi Sorry about that. Github has been updated to workaround this https://github.com/FreeBSDDesktop/kms-drm (default branch = drm-current-kmod) The port will be updated asap. /Johannes On 4/24/19 8:03 PM, Michael Butler wrote: > The removal of dma_mask (around line 105) in > /usr/src/sys/compat/

RTL8821CU USB WiFi

2019-04-29 Thread Johannes Lundberg
Hi Is anyone working on adding support for RTL8811CU & RTL8821CU chipsets?  ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.or

Rotating (efi) framebuffer

2019-05-02 Thread Johannes Lundberg
Hi I have a Lenovo Ideapad where the screen is rotated 90 degrees and I can't rotate it to landscape mode until I'm in X. How many of you are in the same situation and would like a fix? Seeing how development is going with small (tiny) computers it will probably be more and more common with ultra

Heads up for breaking drm update.

2019-05-19 Thread Johannes Lundberg
Hi Cross posting to -current and -x11. LinuxKPI in base have received a lot of updates recently for Linux 5.0, a couple of them will break drm-current-kmod. So, as of r347973 you will need drm-current-kmod 4.16.g20190519. Ports have been updated and new packages should be available shortly. A dr

Re: Heads up for breaking drm update.

2019-05-19 Thread Johannes Lundberg
On 5/19/19 7:36 PM, Steve Kargl wrote: > On Sun, May 19, 2019 at 02:50:54PM -0700, Johannes Lundberg wrote: >> LinuxKPI in base have received a lot of updates recently for Linux 5.0, >> a couple of them will break drm-current-kmod. So, as of r347973 you will >> need

Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
Hi I'm fiddling with lindebugfs, which is based on pseudofs. When writing to a file, this works: # echo  1 >> /path/to/file but this does not: # echo 1 > /path/to/file "Operation not supported." is returned before the pseudofs code is even entered. Is this expected behavior? (if so, why?) Tha

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 10:51 AM, Konstantin Belousov wrote: > On Wed, May 22, 2019 at 10:36:34AM -0700, Johannes Lundberg wrote: >> Hi >> >> I'm fiddling with lindebugfs, which is based on pseudofs. When writing >> to a file, >> >> this works: # echo  1 >&g

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 11:03 AM, Alan Somers wrote: > On Wed, May 22, 2019 at 11:59 AM Johannes Lundberg > wrote: >> >> On 5/22/19 10:51 AM, Konstantin Belousov wrote: >>> On Wed, May 22, 2019 at 10:36:34AM -0700, Johannes Lundberg wrote: >>>> Hi >>>> &

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 1:53 PM, Johannes Lundberg wrote: > On 5/22/19 11:03 AM, Alan Somers wrote: >> On Wed, May 22, 2019 at 11:59 AM Johannes Lundberg >> wrote: >>> On 5/22/19 10:51 AM, Konstantin Belousov wrote: >>>> On Wed, May 22, 2019 at 10:36:34AM -070

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 3:02 PM, Conrad Meyer wrote: > On Wed, May 22, 2019 at 1:58 PM Johannes Lundberg wrote: >>> It seems, a single '>' will cause it to try to create the file (even >>> though it already exists) and that fails (kern_openat). >>> >>

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 4:12 PM, Johannes Lundberg wrote: > On 5/22/19 3:02 PM, Conrad Meyer wrote: >> On Wed, May 22, 2019 at 1:58 PM Johannes Lundberg >> wrote: >>>> It seems, a single '>' will cause it to try to create the file (even >>>> t

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 4:22 PM, Alan Somers wrote: > On Wed, May 22, 2019 at 5:18 PM Johannes Lundberg wrote: >> >> On 5/22/19 4:12 PM, Johannes Lundberg wrote: >>> On 5/22/19 3:02 PM, Conrad Meyer wrote: >>>> On Wed, May 22, 2019 at 1:58 PM Johannes Lundberg &

Heads up for LinuxKPI updates to 12-STABLE

2019-05-25 Thread Johannes Lundberg
Hi As with recent 13-CURRENT, we're pushing some updates that might break build of drm modules temporarily on 12-STABLE. One of those changes is moving lindebugfs.ko from ports to base. If you're building your kernel with MODULES_OVERRIDE, don't forget to include it since it is required by drm dri

Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
Hi I have a bridge and an ethernet/wifi lagg failover like this: # First define all cloned interfaces cloned_interfaces="bridge0 lagg0" # bhyve bridge ifconfig_bridge0="inet 192.168.8.1/24 addm lagg0 up" # Ethernet/WiFi failvoer ifconfig_em0="up" wlans_iwm0="wlan0" ifconfig_wlan0="WPA up" creat

Re: Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
On 5/30/19 9:37 AM, Greg Rivers wrote: > On Thursday, May 30, 2019 10:31:45 AM CDT Johannes Lundberg wrote: >> Hi >> >> I have a bridge and an ethernet/wifi lagg failover like this: >> >> # First define all cloned interfaces >> cloned_interfac

Re: Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
On 5/30/19 12:37 PM, Cy Schubert wrote: > In message <85a5bf45-231e-1bb4-4c26-677e414af...@freebsd.org>, Johannes > Lundber > g writes: >> On 5/30/19 9:37 AM, Greg Rivers wrote: >>> On Thursday, May 30, 2019 10:31:45 AM CDT Johannes Lundberg wrote: >>&g

Re: Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
On 5/30/19 1:25 PM, Miroslav Lachman wrote: > Greg Rivers wrote on 2019/05/30 18:37: > > [...] > >>> Do I have something weird in my setup causing this? I don't recall ever >>> having this issue when not using failover lagg. Running recent >>> 13-CURRENT. >>> >> I think there's a (unknown?) proble

UEFI boot broken in 13?

2019-06-03 Thread Johannes Lundberg
Hi I'm using poudriere-image to create usb memstick images. The images are identical except OS version. They are tested on a laptop with 13-CURRENT installed as only OS, having UEFI boot and root on zfs. 12-STABLE memstick boots fine with in UEFI mode. With 13-CURRENT memstick it boots the insta

Re: UEFI boot broken in 13?

2019-06-03 Thread Johannes Lundberg
On 6/3/19 7:25 PM, Rodney W. Grimes wrote: >> Hi >> >> I'm using poudriere-image to create usb memstick images. The images are >> identical except OS version. They are tested on a laptop with 13-CURRENT >> installed as only OS, having UEFI boot and root on zfs. >> >> 12-STABLE memstick boots fine

Re: pkg: Cannot open /dev/null:No such file or directory

2019-06-04 Thread Johannes Lundberg
On 6/3/19 10:44 PM, Baptiste Daroussin wrote: > On Tue, Jun 04, 2019 at 07:32:16AM +0200, O. Hartmann wrote: >> Hello List, >> >> lately I ran into a serious problem installing packages in a nanoBSD >> environment, in which the package repository server is "remotely" on site. >> The >> issue as

Re: pkg: Cannot open /dev/null:No such file or directory

2019-06-11 Thread Johannes Lundberg
wrote: > I'm having the same issue with poudriere image; could you please let > me know what you did to fix it?  I'm assuming the image.sh you're > referring to is /usr/local/share/poudriere/image.sh, but I'm not sure > where the change would need to be made. > >

pseudofs broken(?) with r351741

2019-09-04 Thread Johannes Lundberg
Hey I noticed that linuxkpi's debugfs which is based on pfs stopped show any content in mounted folders. r351740 works as expected, r351741 does not. Just as if there are no files. Does this change require any patches to users of pfs to work or is pfs broken? commit 378285257117261aba3d181fff9

Re: pseudofs broken(?) with r351741

2019-09-04 Thread Johannes Lundberg
On 9/4/19 1:55 PM, Mateusz Guzik wrote: > have you tried with https://svnweb.freebsd.org/changeset/base/351815 ? That fixes it. Thanks! > > On 9/4/19, Johannes Lundberg wrote: >> Hey >> >> I noticed that linuxkpi's debugfs which is based on pfs stopped show a

wlan can't discover known networks after relocating

2019-09-17 Thread Johannes Lundberg
Hi For a long time now I have had this problem with iwm and wlan0. Whenever I move between work and home it won't reconnect automatically and I have to do wlan0 scan manually for it to pick up the different network. Anyone have a solution for this? For now I think I'll put a 'ifconfig wlan0 scan'

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
On 9/19/19 3:06 PM, Adrian Chadd wrote: > So roaming in ifconfig/net80211 is what's set to manual. > > wpa_supplicant right now does RSSI threshold based roaming. All of the > roaming and network preferences when wpa_supplicant is running is done > in wpa_supplicant. That's where you have to look.

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
Tested today with bgscan added. Didn’t connect to home network until I manually run ifconfig wlan0 scan. Again, this is with failover lagg. It did however realize I wasn’t at the office anymore and the ssid field was empty in ifconfig output. Sometimes it stays the same long after I leave the netw

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
On 9/19/19 7:30 PM, Cy Schubert wrote: > In message om> > , Johannes Lundberg writes: >> --0875960592f275a3 >> Content-Type: text/plain; charset="UTF-8" >> Content-Transfer-Encoding: quoted-printable >> >> Tested today with bgscan a

Re: The support for AMD graphics and how freebsd hardware support

2019-09-25 Thread Johannes Lundberg
On 9/25/19 8:00 AM, c...@riseup.net wrote: > On Wed, Sep 25, 2019 at 09:28:49AM -0500, Valeri Galtsev wrote: >> >> On 2019-09-25 01:04, Kevin Oberman wrote: >>> On Tue, Sep 24, 2019 at 8:56 PM wrote: >>> developed Reply-To: X-Priority: 1 Importance: high Disposition-Noti

Re: radeon panics kernels

2019-10-04 Thread Johannes Lundberg
On Fri, Oct 4, 2019 at 11:39 Steve Kargl wrote: > On Thu, Oct 03, 2019 at 11:52:38PM +0200, Hans Petter Selasky wrote: > > On 2019-10-03 22:26, Steve Kargl wrote: > > > On Thu, Oct 03, 2019 at 03:05:27PM +0200, Hans Petter Selasky wrote: > > >> > > >> If you leave the port debug knob for drm-curr

Wayland update

2016-12-20 Thread Johannes Lundberg
Hi Everyone! We had some progress with Wayland that we'd like to share. Wayland (v1.12.0) Working Weston (v1.12.0) Working (Porting WIP) Weston-clients (installed with wayland/weston port) Working XWayland (run X11 apps in Wayland compositor) Works (maximized window only) if started ma

Re: current freebsd graphics stack

2017-01-03 Thread Johannes Lundberg
Hi Owen I've been helping out with drm, i915, linuxkpi and evdev in the kernel. For userland I'm working on Wayland-related stuff. You can check my twitter (@johalun) or this mailing list for my earlier posts about how to use this work. Sorry for asking but exactly what is your question now aga

Re: current freebsd graphics stack

2017-01-03 Thread Johannes Lundberg
w massive GEM, KMS and DRM > are just yet but it seems like adding a wrapper around another OS kernel > into that mix can only go bad. > > How many people are working on the project with you at the moment? > > Best, > Owen > > On Tue, Jan 3, 2017 at 5:42 PM, Johannes Lun

Re: current freebsd graphics stack

2017-01-03 Thread Johannes Lundberg
ange, the complexity is pretty high. > > We'll see if we can sort that out. > > Best, > Owen > > On Tue, Jan 3, 2017 at 6:45 PM, Johannes Lundberg > wrote: > > Hi > > Not sure about the other graphics drivers but porting a driver like > drm/i915 for Intel gra

Wayland update

2017-01-11 Thread Johannes Lundberg
Howdy It's time for another update from your friendly neighborhood graphics programmer. I will be keeping a live document with instructions etc here https://github.com/johalun/documentation/blob/master/wayland.md Please visit any time for information about Wayland on FreeBSD. Suggestions for im

Multiple FreeBSD on same drive

2017-01-14 Thread Johannes Lundberg
Hi The most recent info I have is that the (UEFI) boot loader can only boot from the first UFS partition it finds. Has support for multiple installations been implemented? If so, how can I choose to boot from the first or second UFS partition? Thanks! _

Secure Boot

2017-01-14 Thread Johannes Lundberg
Hi It's been almost a year since the Secure Boot wiki has been updated. https://wiki.freebsd.org/SecureBoot What is the current status and roadmap? Thanks! ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd

ASLR

2017-01-18 Thread Johannes Lundberg
Hi What is the status of ASLR? https://reviews.freebsd.org/D5603 The thread has been silent for a couple of months. I'm happy to test if needed. I'm also interested in KASLR. Is that also on the roadmap? If someone involved could share some info I'd be grateful. ___

Linker problems with clang /usr/local/lib

2017-01-22 Thread Johannes Lundberg
Hi How can I make 'cc' (/usr/bin/ld) look for libraries in /usr/local/lib without having to specify environment or command line variables? I got "/usr/local/lib" in /etc/ld.so.conf and /var/run/ld-elf.so.hints. /sbin/ldconfig -l xxx can find library xxx in /usr/local/lib /usr/bin/ld can not. T

Re: Linker problems with clang /usr/local/lib

2017-01-22 Thread Johannes Lundberg
eeded... On Sun, Jan 22, 2017 at 12:42 PM, Dimitry Andric wrote: > On 22 Jan 2017, at 21:29, Johannes Lundberg wrote: > > > > How can I make 'cc' (/usr/bin/ld) look for libraries in /usr/local/lib > > without having to specify environment or command line variables? &g

asmc driver patch merge request

2017-02-15 Thread Johannes Lundberg
Hi This patch adds support for MacBook Pro 11,2 to asmc. The other day I tried patching my old https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214836 submission and discovered it did not apply at all anymore. I uploaded an updated patch that should apply cleanly to HEAD. Someone got time to

Re: asmc driver patch merge request

2017-02-16 Thread Johannes Lundberg
My emacs remove trailing white spaces automatically on save. On Wed, Feb 15, 2017 at 22:59 Adrian Chadd wrote: > this looks fine to me. what's with the whitespace changes? > > > > -a > > > On 15 February 2017 at 19:27, Johannes Lundberg > wrote: > >

Re: asmc driver patch merge request

2017-02-16 Thread Johannes Lundberg
Thanks! On Thu, Feb 16, 2017 at 08:12 Adrian Chadd wrote: > ok, lemme do a build and if it succeeds i'll commit it > > > > -a > > > On 16 February 2017 at 06:39, Johannes Lundberg > wrote: > > My emacs remove trailing white spaces automatically on save.

Re: increased power consumption lately?

2017-03-28 Thread Johannes Lundberg
Hi Personally I got some acpi-something kernel thread at 100% CPU constant usage. Need to lock CPU freq at lower value otherwise it runs with turboboost all the time. Could it be the same for you? On Tue, 28 Mar 2017 at 20:58, Adrian Chadd wrote: > hiya, > > I've noticed that my battery life o

Re: increased power consumption lately?

2017-04-03 Thread Johannes Lundberg
pmcstat -S instructions -T to see what's taking your CPU? > > > > -adrian > > > On 28 March 2017 at 13:36, Johannes Lundberg wrote: > > Hi > > > > Personally I got some acpi-something kernel thread at 100% CPU constant > > usage. Need to lock CPU freq

Re: increased power consumption lately?

2017-04-05 Thread Johannes Lundberg
d to AcpiNsLookup() ? > > > > -adrian > > > On 3 April 2017 at 03:24, Johannes Lundberg wrote: > >> Hi Adrian >> >> The three threads are kernel(acpi_task_{0-2}) and they use ~30% each so >> total 100% of one core. >> >> Machine is 2013 MBP >

Re: increased power consumption lately?

2017-04-20 Thread Johannes Lundberg
Thanks Ngie, that was a good one! (I really need to learn dtrace...) Got this among other: AcpiNsLookup:entry PathInfo: \/ _SB_PCI0IGPUGSSE�GSMI\/ _SB_PCI0IGPUGSCI�K p Might be related to: https://bugs.freedesktop.org/show_bug.cgi?id=98501 On Wed, Apr 5, 2017 at 8:15 PM, Ngie Cooper (yaneura

Re: increased power consumption lately?

2017-04-20 Thread Johannes Lundberg
Seem like a temporary solution on Linux is to disable the interrupt. Can this be done on FreeBSD somehow? On Thu, Apr 20, 2017 at 10:09 AM, Johannes Lundberg wrote: > Thanks Ngie, that was a good one! (I really need to learn dtrace...) > > Got this among other: > > AcpiNsLookup

Re: increased power consumption lately?

2017-04-20 Thread Johannes Lundberg
On Thu, Apr 20, 2017 at 10:35 AM, Johannes Lundberg wrote: > Seem like a temporary solution on Linux is to disable the interrupt. Can > this be done on FreeBSD somehow? > > On Thu, Apr 20, 2017 at 10:09 AM, Johannes Lundberg > wrote: > >> Thanks Ngie, that was a good

Re: increased power consumption lately?

2017-04-26 Thread Johannes Lundberg
gt; > On 20 April 2017 at 02:05, Johannes Lundberg wrote: > > I found another solution. Modifying the DSDT file by removing > > > > Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE > > { > > If (LAnd (\_SB.PCI0.IGPU.GSSE, LNot (G

2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
Hi As the subject says... Anyone familiar with this? # cat /dev/random > /dev/dsp* only generate noise in the headphones.. /dev/sndstat Installed devices: pcm0: (play) pcm1: (play/rec) pcm2: (play) default pcm3: (play) No devices installed from userspace. dmesg: hdac0: mem 0xa0a1-0xa0

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
multimedia subclass = HDA On Fri, Apr 28, 2017 at 1:35 PM, Hans Petter Selasky wrote: > On 04/28/17 13:30, Johannes Lundberg wrote: > >> Hi >> >> As the subject says... >> >> Anyone familiar with this? >> >> # cat /dev/random > /dev/dsp*

  1   2   >