Date: Wed, 29 May 2024 13:20:54 +0200 From: Polytropon <freebsd@edvax.de> To: "Jin Guojun[VFF]" <jguojun@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: mplayer screws up colormap as cursor moved into the video window Message-ID: <20240529132054.0a2b2bfa.freebsd@edvax.de> In-Reply-To: <d43abe52-44bf-4c35-9a7c-40cb6dabc364@gmail.com> References: <d43abe52-44bf-4c35-9a7c-40cb6dabc364@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 May 2024 22:21:09 -0700, Jin Guojun[VFF] wrote: > When upgraded to 13.3-R, I have experienced a problem that Mplayer can > cause system colormap distorted when the cursor moved into the video win= dow. > > [...] > > On this 13.3 machine, one thing have been changed -- the video device. > X.org is no longer supporting older video cards, such as Radeon 370, > NV210, etc., so I used AMD APU video (Radeon HD 8570D). xf86-video-ati > driver does not support it, therefore no /etc/X11/xorg.conf is created, > and X is started with default configuration (VESA?), not sure if mplayer > does not like it. The mplayer program uses the specified output, and it is preferring direct rendering if your graphics card and driver supports it, which in case of a Radeo HD should absolutely be no problem. However, it seems that your X currently uses VESA, and that's why you're seeing this problem. Sadly, graphics configuration has become quite complicated on FreeBSD, and you need to check several things: 1. Is the correct KMS kernel module loaded? 2. Is the correct X driver loaded? 3. What output is mplayer configured to use? You can check "kldstat" and "dmesg" output for question 1, /var/log/Xorg.0.log for question 2, and the mplayer configuration directory, whererever it might be today, for question 3. You can also manually check: $ mplayer -vo x11 test.avi for VESA (should always work), and $ mplayer -vo gl test.avi for direct rendering (works if question 1 and 2 have been answered with "yes"). I have a reference system (HP mini-laptop) with AMD graphics that I can check a working configuration for. =2D- 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?20240529132054.0a2b2bfa.freebsd>