Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2020 22:24:52 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Per Hedeland <per@hedeland.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Keyboard and mouse not working after X update
Message-ID:  <20200601222452.52e4c3c1.freebsd@edvax.de>
In-Reply-To: <b40d7d26-d35e-ffd6-c101-d1c6389249ba@hedeland.org>
References:  <20200531214105.2caed717.freebsd@edvax.de> <CAM8r67BWRndRDsTCQEOqTQ8Z_6R39H=ZwXHzrpZ1Njam0G3tRQ@mail.gmail.com> <20200531231731.85ee6d3d.freebsd@edvax.de> <b40d7d26-d35e-ffd6-c101-d1c6389249ba@hedeland.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Jun 2020 21:40:24 +0200, Per Hedeland wrote:
> On 2020-05-31 23:17, Polytropon wrote:
> >
> > I can get only 60 fps in "glxgears" (5600 on my old home PC from 2007).
> 
> At least for me (and many others according to google), it initially says:
> 
>   Running synchronized to the vertical refresh.  The framerate should be
>   approximately the same as the monitor refresh rate.
> 
> I.e. 60 fps (I get the same) is probably correct. Unfortunately the
> only way to find out how to make it *not* be "synchronized to the
> vertical refresh" seems to be google (or the source, probably). Try
> 
> $ env vblank_mode=0 glxgears
> 
> (I get 7100+ fps with that.)

With or without that environmental setting, I now get about 260 FPS
(the setting doesn't seem to change anything), which already is an
improvement using the "amdgpu" kernel module. Still I'm not sure
if my X still runs on VESA - seems like it; the log file contains:

[   237.685] (II) LoadModule: "ati"
[   237.688] (WW) Warning, couldn't open module ati
[   237.688] (EE) Failed to load module "ati" (module does not exist, 0)
[   237.688] (II) LoadModule: "modesetting"
[   237.688] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[...]
[   237.691] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[...]
[   237.692] (II) LoadModule: "vesa"
[...]
[   237.693] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   237.698] (II) UnloadModule: "modesetting"

And then lots of VESA information.

I thought that "amdgpu" is now the correct driver name? I have the
kernel module installed and loaded, I have the X drivers package
installed (xf86-video-amdgpu), so shouldn't there be at least _some_
little evidence that this driver has been loaded, in the log file?

As I said, when I install xf86-video-ati, after "startx" I only
get a black screen. The names "amdgpu" / "radeon" / "ati" more
or less seem to mean the same, but are totally different in what
they are to be used for.

This is very confusing... :-/



Sidenote: On my el-cheapo Aldi home PC with nVidia graphics
I get approx. 5200 FPS in "glxgears".


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200601222452.52e4c3c1.freebsd>