From nobody Wed May 29 11:20:54 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vq6QM6b2Jz5MKyX for ; Wed, 29 May 2024 11:21:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vq6QM28ltz45RX for ; Wed, 29 May 2024 11:21:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edvax.de; s=s1-ionos; t=1716981672; x=1717586472; i=freebsd@edvax.de; bh=ooh2oYdZW9mJ3ugTV3MlN2S+6l5QS834bOqbVWMUUJI=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:Message-Id:In-Reply-To: References:Reply-To:Mime-Version:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=KAdAz3Xzqfys1SvqqZYQPQ6716JpZDwbetcIxL2DYGwWG0mBzLr9BxEneXFJ8+YH gu50aDnflcIdd9XuHKYR5s9IbAgTqhKqnz0JkrXk9xwk+P9Cum/N4peLBbzrEpIat 0PLIxfapq39l1M/5+Fmw5M+7lutUu5/O5CnyZCbpAXgaBBSisY1Xn9QbQPW//DRdS t4ATaRGNOEOk4k35c/rcJFgStofUwRFb71f92gd2f4fmIO+Pu4kw1A3mJ/8ShazbE l/1BXpnykMKhgsPn61tcLulwEdfBDwB9Q0LcjUQNl1fISA1Jr57UqblfyCM/7Rz8K +ufr25eyMWhXGX+wBw== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from terra.edvax.de ([178.5.231.190]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N9MlI-1sXQmS2WMm-0120g8; Wed, 29 May 2024 13:21:12 +0200 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 44TBKxmd067002; Wed, 29 May 2024 13:21:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 29 May 2024 13:20:54 +0200 From: Polytropon To: "Jin Guojun[VFF]" Cc: freebsd-questions Subject: Re: mplayer screws up colormap as cursor moved into the video window Message-Id: <20240529132054.0a2b2bfa.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Hz41EIa9D6K+pQOEJvm4+QPtRT6V+hDPJJAYiygAhLy6oRZHClq mF36FzqFeO2lLwZkoxRB+FLxVkeXLmYTZ1oUtWWvS/QSiANM/cwglk70T2koJ0/FPh6d+0b zcdzP3+DYlgvY+Zp+ZDnYTYJov4SylBRY8znLCcItzRFKF3sPvIfjXZiFqw7gCHJfhH1ohL 6AqTL/S02iOARBJlxj/gQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:LfJoCr5VItk=;L6yGdGNPxuSYwVS9lxKGDcbDxna 0YbpmqF5zaVu/avJRhhTnJQ6lciKGH7hDWczro80tx9fytoyHz0dpzmOHOwDAJziL/w2T3oIi NvZK3n9Ytyl51C2p/GFyCqGqoV9eX+1J6YaSGmewJyrr6Pmw/cG1hkPqBEPySyVpuPaxCD60K OA+PowyDy+gfLPaaN2V6Z7hc3rvsJjObF8NNasCx262McVhh4R9xKxhkv8/7395lBu8JHt+ru SemDhiD25PXiu+iA2P3Mps4FPrl4iAYVquYxqy+16uVwcGDItk2cGiscsU4l/DP8IQCgrRa+s 6FGDYzm9IaTxdC9z1s7+xDnApIVMa/FiXAtTT+GznhHo4frbPAGSVesjQOUgTs1FNX6R9T5o0 jO4eBfZsp9HySgAebrmEqH+ew5hwCaA4CKi8gWvGOQNPfPAJCVNs87/COxMTbrT0U2MsostZL 52EgCgupSXRqDnre9S4qTj1ZyUb1hCq54QErkPGmDILgZP1MOMmOYiLNa8B/pF0oHAv57tx6R gRpRKXl6rk2zkfEnle/tqYIIJKVTy7FZaZsK8rtOgcJvKDtXqXbRiQPCkROBSiS0bJP54l3DD gOvTQ/L1Z8Sf/V4ytYCWd3saDWFO9qcZIxQYNvBD45bGW6tyFB+tZheKikebmJvSbT7IzO7cb TTbrlTmFadi4z+h/mLRAJPXIW8d7Lz7lwx6zchSLbfnV0t+1FXSoOQ7M/TAVDjiAfbcud3NNA sdF4GePdCyYmomJdCfnIHaw8szOjipASZuFRoFLnR2ywJHZCvmPEyo= X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4Vq6QM28ltz45RX 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, ...