On Mon, 3 Jan 2022 17:07:43 +0100 "ezerot...@gmail.com" <ezerot...@gmail.com>
said:

> Hi,
> 
> I've a brand new amd laptop with an nvidia mobile GPU. It arrived with
> TuxedoOS (ubuntu 20.04 + budgie wm) preinstalled. That setup works
> fine out of the box, but I want to replace budgie with enlightenment,
> because that's what I always use on linux.
> 
> I've compiled E 0.25 from git (using
> https://github.com/batden/esteem), and it seemed to work fine.
> Unfortunately, when I tested suspend+resume, I had a problem. The
> desktop resumes, but only with minimal brightness, and then it seems
> to freeze (no keyboard/mouse). I can ssh into the laptop, and killing
> enlightenment sends me back to the lightdm login prompt.
> 
> dmesg has this:
> 
> [11814.110778] PM: suspend exit
> [11814.630838] NVRM: GPU at PCI:0000:01:00:
> GPU-589fde69-1161-f26b-1773-e5bcda70d601
> [11814.630845] NVRM: Xid (PCI:0000:01:00): 13, pid=5525, Graphics
> Exception: Shader Program Header 11 Error
> [11814.630855] NVRM: Xid (PCI:0000:01:00): 13, pid=5525, Graphics
> Exception: Shader Program Header 18 Error
> [11814.630865] NVRM: Xid (PCI:0000:01:00): 13, pid=5525, Graphics
> Exception: ESR 0x405840=0xa2040800
> [11814.630877] NVRM: Xid (PCI:0000:01:00): 13, pid=5525, Graphics
> Exception: ESR 0x405848=0x80000000
> 
> The problem happens with both the sw and the opengl compositors.
> 
> When I suspend from the lightdm prompt or from the budgie desktop,
> resuming works fine. So it seems something is happening/not happening
> with the nvidia card when the suspend is started from E.
> 
> Anyone has any idea, how to debug this?

i suspect it may have to do with vblank interrupts. the nvidia driver doesn't
produce them anymore? a quick way to test this:

touch ~/.ecore-no-vsync

restart e then do your suspend/resume

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to