Re: [Nouveau] [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace

2021-02-23 Thread Ilia Mirkin
On Tue, Feb 23, 2021 at 11:23 AM Alex Riesen wrote: > > Alex Riesen, Tue, Feb 23, 2021 16:51:26 +0100: > > Ilia Mirkin, Tue, Feb 23, 2021 16:46:52 +0100: > > > I'd recommend using xf86-video-nouveau in any case, but some distros > > > > I would like try this out.

Re: [Nouveau] [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace

2021-02-23 Thread Ilia Mirkin
On Tue, Feb 23, 2021 at 10:36 AM Alex Riesen wrote: > > Ilia Mirkin, Tue, Feb 23, 2021 15:56:21 +0100: > > On Tue, Feb 23, 2021 at 9:26 AM Alex Riesen > > wrote: > > > Lyude Paul, Tue, Jan 19, 2021 02:54:13 +0100: > > > > diff --git a/drivers/gpu/drm/nou

Re: [Nouveau] [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace

2021-02-23 Thread Ilia Mirkin
On Tue, Feb 23, 2021 at 9:26 AM Alex Riesen wrote: > > Lyude Paul, Tue, Jan 19, 2021 02:54:13 +0100: > > diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c > > b/drivers/gpu/drm/nouveau/dispnv50/disp.c > > index c6367035970e..5f4f09a601d4 100644 > > ---

Re: [Nouveau] [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2021-04-12 Thread Ilia Mirkin
On Mon, Apr 12, 2021 at 4:01 PM Aaron Plattner wrote: > > On 4/12/21 12:36 PM, Roy Spliet wrote: > > Hello Aaron, > > > > Thanks for your insights. A follow-up query and some observations > > in-line. > > > > Op 12-04-2021 om 20:06 schreef Aaron Plattner: > >> On 4/10/21 1:48 PM, Roy Spliet

Re: [Nouveau] [PATCH v3] nouveau/dispnv50: add cursor pitch check

2021-02-05 Thread Ilia Mirkin
ned-off-by: Simon Ser > Reviewed-by: Lyude Paul > Cc: Ben Skeggs > Cc: Ilia Mirkin > --- > drivers/gpu/drm/nouveau/dispnv50/curs507a.c | 31 +++-- > 1 file changed, 28 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/dispnv50/cu

Re: [Nouveau] [PATCH v2] nouveau/dispnv50: add cursor pitch check

2021-02-05 Thread Ilia Mirkin
cted. > > v2: > - Use drm_format_info instead of hardcoding bytes-per-pixel (Ilia) > - Remove unnecessary size check (Ilia) > > Signed-off-by: Simon Ser > Cc: Lyude Paul > Cc: Ben Skeggs > Cc: Ilia Mirkin > --- > drivers/gpu/drm/nouveau/dispnv50/curs507a.c | 21

Re: [Nouveau] [RFC v3 05/10] drm/i915/dpcd_bl: Cleanup intel_dp_aux_vesa_enable_backlight() a bit

2021-02-05 Thread Ilia Mirkin
On Fri, Feb 5, 2021 at 6:45 PM Lyude Paul wrote: > > Get rid of the extraneous switch case in here, and just open code > edp_backlight_mode as we only ever use it once. > > Signed-off-by: Lyude Paul > --- > .../gpu/drm/i915/display/intel_dp_aux_backlight.c | 15 ++- > 1 file

Re: [Nouveau] Advice about debugging nouveau driver suspend issue (init_on_alloc=1 and init_on_free=1)

2021-10-13 Thread Ilia Mirkin
The most straightforward thing, if you can reproduce at will, would be to do a bisect to figure out which change this happened with. Once we know which change caused the problem, it will hopefully provide with more ability to sort out where we're going wrong. You can also play with things like

Re: [Nouveau] Advice about debugging nouveau driver suspend issue (init_on_alloc=1 and init_on_free=1)

2021-10-14 Thread Ilia Mirkin
On Thu, Oct 14, 2021 at 12:51 PM Computer Enthusiastic wrote: > > Hello, > > Thanks for the answer. > > On Wed, Oct 13, 2021 at 01:43:56PM -0400, Ilia Mirkin wrote: > > The most straightforward thing, if you can reproduce at will, would be > > to do a bis

Re: [Nouveau] Understanding BAR1 Offset to imem/VRAM PA Mapping

2021-09-30 Thread Ilia Mirkin
Hi Joshua, It looks like you got most of the way there. The BARs (BAR1 and BAR3) are initialized by the code in nvkm/subdev/bar/gf100.c. As you can see, this sets up a vmm per BAR, whose (physical address >> 12) is written to 0x1704 / 0x1714. A vmm is basically a list of PDE's (and the PTE lists

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
You can check the perf level your GPU is at, and potentially adjust it. cat /sys/kernel/debug/dri/0/pstate This should give a list of levels like "xx: stuff", with the "AC" level being the current settings. Echo'ing any one of the xx's into that file will attempt to switch to a different

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
On Fri, Oct 1, 2021 at 3:17 PM Jerry Geis wrote: > On Fri, Oct 1, 2021 at 3:06 PM Ilia Mirkin wrote: >> >> On Fri, Oct 1, 2021 at 3:00 PM Jerry Geis wrote: >> > lsmod | grep nouveau >> > >> > What dont I have ? >> >> nouveau :) >>

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
On Fri, Oct 1, 2021 at 3:58 PM Jerry Geis wrote: > > > > On Fri, Oct 1, 2021 at 3:40 PM Ilia Mirkin wrote: >> >> On Fri, Oct 1, 2021 at 3:36 PM Jerry Geis wrote: >> > >> > >> > >> > On Fri, Oct 1, 2021 at 3:27 PM Jerry Geis wrote:

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
On Fri, Oct 1, 2021 at 3:36 PM Jerry Geis wrote: > > > > On Fri, Oct 1, 2021 at 3:27 PM Jerry Geis wrote: >> >> >> >> On Fri, Oct 1, 2021 at 3:20 PM Ilia Mirkin wrote: >>> >>> On Fri, Oct 1, 2021 at 3:17 PM Jerry Geis wrote: &

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
On Fri, Oct 1, 2021 at 3:00 PM Jerry Geis wrote: > lsmod | grep nouveau > > What dont I have ? nouveau :) Other than that, you got everything... Check dmesg for errors. Cheers, -ilia

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
On Fri, Oct 1, 2021 at 4:29 PM Jerry Geis wrote: > yes very weird on the sound. Using analog speakers at the moment > I got no test sound - and no video sound after getting nouveau to run > correctly > I was playing analog audio before ? > Does nouveau only do HDMI audio ? nouveau only

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
On Fri, Oct 1, 2021 at 4:56 PM Jerry Geis wrote: > > > > On Fri, Oct 1, 2021 at 4:48 PM Jerry Geis wrote: >> >> >> >> On Fri, Oct 1, 2021 at 4:41 PM Ilia Mirkin wrote: >>> >>> On Fri, Oct 1, 2021 at 4:29 PM Jerry Geis wrote: &g

Re: [Nouveau] Nouveau on Ubuntu 20.04 LTS

2021-10-01 Thread Ilia Mirkin
On Fri, Oct 1, 2021 at 2:29 PM Jerry Geis wrote: > Thanks perhaps this is part of the problem: > ls -l /sys/kernel/debug/dri/ > total 0 This indicates that nouveau is not loaded. (Or loaded and failed part-way through the load.) Cheers, -ilia

Re: [Nouveau] Ubuntu 20.04 and vlc

2021-11-05 Thread Ilia Mirkin
Hey Jerry, I'd look in the kernel log to see what's up. Perhaps the GPU hangs? Cheers, -ilia On Fri, Nov 5, 2021 at 10:42 AM Jerry Geis wrote: > > Hi All, > > I am using Ubuntu 20.04 with VLC... normally the box boots up runs an plays > videos just fien with about 20% usage for VLC

Re: [Nouveau] External monitor support for GTX 1650 (NV167/TU117)

2022-03-04 Thread Ilia Mirkin
Hi Andre, You're going to be best off filing a bug at gitlab.freedesktop.org/drm/nouveau with some details of your setup: 1. lspci -nn -d 10de: 2. Your vbios (/sys/kernel/debug/dri/1/vbios.rom) 3. Your monitor's EDID, esp as reported when plugged into nouveau (/sys/class/drm/card1-HDMI-1/edid or

Re: [Nouveau] Nvidia GK106GLM (Quadro K2100M) with Nouveau

2022-03-14 Thread Ilia Mirkin
On Mon, Mar 14, 2022 at 5:30 PM Martin Knoblauch wrote: > > On Mon, Mar 14, 2022 at 7:45 PM Ilia Mirkin wrote: > > > > Hi Martin, > > > > Depends what your expectations are. Nouveau is missing a number of > > features of the blob, the most important of whic

Re: [Nouveau] Nvidia GK106GLM (Quadro K2100M) with Nouveau

2022-03-14 Thread Ilia Mirkin
Hi Martin, Depends what your expectations are. Nouveau is missing a number of features of the blob, the most important of which is probably stability. Whether you run into instability or not depends a lot on the software that you use, so you'll just have to find out for yourself if it works well

Re: [Nouveau] Nvidia GK106GLM (Quadro K2100M) with Nouveau

2022-03-15 Thread Ilia Mirkin
On Tue, Mar 15, 2022 at 6:10 AM Martin Knoblauch wrote: > > On Tue, Mar 15, 2022 at 10:55 AM Martin Knoblauch wrote: > > > > On Mon, Mar 14, 2022 at 10:42 PM Ilia Mirkin wrote: > > > > > > On Mon, Mar 14, 2022 at 5:30 PM Martin Knoblauch > > > wro

Re: [Nouveau] [PATCH] drm/nouveau/bios: Use HWSQ entry 1 for PowerBook6, 1

2022-02-14 Thread Ilia Mirkin
I'm not saying this is wrong, but could you file a bug at gitlab.freedesktop.org/drm/nouveau/-/issues and include the VBIOS (/sys/kernel/debug/dri/0/vbios.rom)? That would make it easier to review the full situation. On Mon, Feb 14, 2022 at 11:03 AM Icenowy Zheng wrote: > > On PowerBook6,1

Re: [Nouveau] Off-by-one or bad BIOS image? Apple eMac 800 GeForce 2MX

2022-01-20 Thread Ilia Mirkin
This stuff is always so confusing. Let's think this through if bios size is 4, and we're trying to read a 4-byte thing starting at address 0, that _ought_ to work, I think. So in my strawman case, bios->size == 4, and size == 4. So we should only error if size > bios->size, not if they're ==.

Re: [Nouveau] Off-by-one or bad BIOS image? Apple eMac 800 GeForce 2MX

2022-01-20 Thread Ilia Mirkin
t 12:07 AM Nick Lopez wrote: > > If it’s correct I’d like to see it make its way upstream. I have no idea what > the submission procedure is. > > > > From: Ilia Mirkin > Sent: Thursday, January 20, 2022 11:24 AM > To: Nick Lopez > Cc: nouveau@lists.freedesktop.org &g

Re: [Nouveau] Hardware decoding in video playback with Nvidia GT 218 (NVA8)

2022-05-29 Thread Ilia Mirkin
Hi Joe, On Sun, May 29, 2022 at 6:58 PM Joe wrote: > > Hi all, I'm trying to make running hardware acceleration decoding on > my old GeForce 210 (AKA GT-218, or NVA8 / NV-50 Tesla family). > -- > 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 >

Re: [Nouveau] TV Out question

2022-11-04 Thread Ilia Mirkin
On Fri, Nov 4, 2022 at 12:56 PM Lukas Satin wrote: > > Hello, sorry fo the typos. Wanted to catch you before the weekend, to get > some hints for upcoming work. > > I'm back at PC. > > Does your driver support switching to 240p in NTSC and 288p in PAL on the go > via xrandr, for example? > > If

Re: [Nouveau] TV Out question

2022-11-04 Thread Ilia Mirkin
https://nouveau.freedesktop.org/KernelModuleParameters.html Perhaps nouveau.tv_norm=NTSC-M will help get you the 60hz modes? I haven't played with these options much at all, it has always sorta Just Worked for me. This should have the validation of new modes, make sure you don't run afoul of

Re: [Nouveau] [PATCH v2] drm/nouveau: bring back blit subchannel for pre nv50 GPUs

2023-05-26 Thread Ilia Mirkin
On Fri, May 26, 2023 at 5:11 AM Karol Herbst wrote: > > 1ba6113a90a0 removed a lot of the kernel GPU channel, but method 0x128 > was important as otherwise the GPU spams us with `CACHE_ERROR` messages. > > We use the blit subchannel inside our vblank handling, so we should keep > at least this

Re: [PATCH 1/6] drm/nouveau: convert to using is_hdmi and has_audio from display info

2024-01-13 Thread Ilia Mirkin
On Fri, Jan 12, 2024 at 11:50 AM Jani Nikula wrote: > > Prefer the parsed results for is_hdmi and has_audio in display info over > calling drm_detect_hdmi_monitor() and drm_detect_monitor_audio(), > respectively. > > Conveniently, this also removes the need to use edid_blob_ptr. > > Cc: Karol

Re: [Nouveau] Kernel problem with multiseat on one card

2024-01-16 Thread Ilia Mirkin
On Sat, Dec 2, 2023 at 8:18 AM Bagas Sanjaya wrote: > > On Thu, Nov 30, 2023 at 11:48:24AM +0100, Gert Vanhaerents wrote: > > Hi Kernel list, > > I'm the IT person of a school, earlier we used multiseatcomputers for the > > school, i have maded with a XGL implementation and it works fine but not

Re: [Nouveau] PR: nv50 IB-mode DMA crash fixes

2023-12-04 Thread Ilia Mirkin
On Sun, Dec 3, 2023 at 11:37 AM Monty Montgomery wrote: > 1) The nv50 DMA code clearly believed push buffers could not (or > should not) exceed NV50_DMA_PUSH_MAX_LENGTH, when my analysis logging > shows that they regularly exceed this maximum by an order of magnitude > or more. Was the

Re: [Nouveau] PR: nv50 IB-mode DMA crash fixes

2023-12-04 Thread Ilia Mirkin
On Mon, Dec 4, 2023 at 11:04 AM Ilia Mirkin wrote: > > On Sun, Dec 3, 2023 at 11:37 AM Monty Montgomery wrote: > > 1) The nv50 DMA code clearly believed push buffers could not (or > > should not) exceed NV50_DMA_PUSH_MAX_LENGTH, when my analysis logging > > shows th

Re: Nouveau on a RISC-V SBC with Tesla K80? Supposed to not work or yes?

2024-04-19 Thread Ilia Mirkin
I don't think anyone was ever able to get their hands on a K80 to confirm. It's a different ID than the GK110 (0xf0) / GK110B (0xf1). I believe it's referred to as a GK210, but not sure if that's just a marketing thing or if it's actually different. You can try copying the 0xf1 entry in devinit

<    9   10   11   12   13   14