Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2019 00:27:38 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-x11@freebsd.org
Subject:   remote X client not using local drm-kmod
Message-ID:  <CAGBxaXkLA4U89KxuuLfPfZj-MkS1duGKVVuN=6cZMUKhzAOQfw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I just removed the nvidia card from machine (and deleted x11/nvidia-driver)
and have successfully installed drm-kmod and have everything working on it
(even GLX stuff) *IF* the X client is started locally but if I try to run a
remote client on my desktop it is slow as hell (as far I can it is not
using drm-kmod).

For example with my nvidia-driver set up I could do this and it would work
at 95% the speed of doing it "locally":

user% xhost +
user% sudo su - otherUser
otherUser% setenv DISPLAY :0.0
otherUser% firefox

But if I do the same thing with drm-kmod (see kldstat below for details) it
runs at perhaps 1-5% of the speed of running it as "user" when run as
"otherUser".

Id Refs Address            Size     Name
 1   53 0xffffffff80200000 20a5c10  kernel
 2    1 0xffffffff822a7000 381130   zfs.ko
 3    2 0xffffffff82629000 a380     opensolaris.ko
 4    1 0xffffffff82634000 b530     autofs.ko
 5    1 0xffffffff82821000 15d839   radeonkms.ko
 6    2 0xffffffff8297f000 66734    drm.ko
 7    5 0xffffffff829e6000 edc8     linuxkpi.ko
 8    4 0xffffffff829f5000 114b8    linuxkpi_gplv2.ko
 9    2 0xffffffff82a07000 6b8      debugfs.ko
10    1 0xffffffff82a08000 e3b0     ttm.ko
11    1 0xffffffff82a17000 12f8     radeon_SUMO_pfp_bin.ko
12    1 0xffffffff82a19000 16f8     radeon_SUMO_me_bin.ko
13    1 0xffffffff82a1b000 d78      radeon_SUMO_rlc_bin.ko
14    1 0xffffffff82a1c000 32290    radeon_SUMO_uvd_bin.ko
15    1 0xffffffff82a4f000 2328     ums.ko
16    1 0xffffffff82a52000 1780     uhid.ko
17    1 0xffffffff82a54000 1820     fdescfs.ko

FreeBSD lilith 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #1 r349114: Sun
Jun 16 12:44:01 EDT 2019     root@lilith:/usr/obj/usr/src/sys/GENERIC  amd64

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXkLA4U89KxuuLfPfZj-MkS1duGKVVuN=6cZMUKhzAOQfw>