From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 67051] No nouveau HDMI sound on NVIDIA GT430 Date: Sat, 20 Jul 2013 22:28:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2100436211==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2100436211== Content-Type: multipart/alternative; boundary="1374359333.77e32B41.2280"; charset="us-ascii" --1374359333.77e32B41.2280 Date: Sat, 20 Jul 2013 22:28:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=67051 --- Comment #36 from Ilia Mirkin --- (In reply to comment #35) > Hi Ilia, > > > 8e9e3d2deacc460fbb8a4691140318f6e85e6891 + > > hdmi-1.patch + hdminva3.patch + hdminva3-3.patch > > Not good news: Good 'eld#3.0', No HDMI sound OK. That means there's something else still that I'm missing :( > > I'd like you to take a little time to review my procedure, correct it if > necessary, and thus keep us in sync. > > cd /root/linux # Linus directory > make mrproper > git checkout 8e9e3d2deacc460fbb8a4691140318f6e85e6891 > # At this point, files to be patched are each copied ('cp -p') to > -orig. > cd /root/Temp # Patch directory > cp -p ../linux/drivers/gpu/drm/nouveau/core/engine/disp/hdanva3.c-orig > hdanva3.c > cp -p ../linux/drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c-orig > hdminva3.c > cp -p ../linux/drivers/gpu/drm/nouveau/core/engine/disp/hdminv84.c-orig > hdminv84.c > # > patch -Np8 -i hdmi-1.patch ; echo $? > patch -Np8 -i hdminva3.patch ; echo $? > patch -Np8 -i hdminva3-3.patch ; echo $? > cp -p {hdanva3,hdminva3,hdminv84}.c > /root/linux/drivers/gpu/drm/nouveau/core/engine/disp/ That does seem like it would work, but definitely not the way that I'd do it. I'd do more like cd linux git checkout 8e9e3d2deacc460fbb8a4691140318f6e85e6891 git checkout drivers/gpu/drm/nouveau (this should remove any local changes you have in that dir on tracked files) patch -p1 < hdmi-1.patch patch -p1 < hdminva3.patch patch -p1 < hdminva3-3.patch > # Build, reboot, test: > cat /proc/asound/card1/eld#3.0 # Good, Bad? > aplay -D plughw:1,9 test.wav # HDMI sound? > > -- Alex -- You are receiving this mail because: You are the assignee for the bug. --1374359333.77e32B41.2280 Date: Sat, 20 Jul 2013 22:28:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 36 on bug 67051 from
(In reply to comment #35)
> Hi Ilia,
> 
> > 8e9e3d2deacc460fbb8a4691140318f6e85e6891 + 
> > hdmi-1.patch + hdminva3.patch + hdminva3-3.patch
> 
> Not good news:  Good 'eld#3.0',  No HDMI sound

OK. That means there's something else still that I'm missing :(

> 
> I'd like you to take a little time to review my procedure, correct it if
> necessary, and thus keep us in sync.
> 
> cd /root/linux                                  # Linus directory
> make mrproper
> git checkout 8e9e3d2deacc460fbb8a4691140318f6e85e6891
> # At this point, files to be patched are each copied ('cp -p') to
> <name>-orig.
> cd /root/Temp                                   # Patch directory
> cp -p ../linux/drivers/gpu/drm/nouveau/core/engine/disp/hdanva3.c-orig
> hdanva3.c
> cp -p ../linux/drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c-orig
> hdminva3.c
> cp -p ../linux/drivers/gpu/drm/nouveau/core/engine/disp/hdminv84.c-orig
> hdminv84.c
> #
> patch -Np8 -i hdmi-1.patch ; echo $?
> patch -Np8 -i hdminva3.patch ; echo $?
> patch -Np8 -i hdminva3-3.patch ; echo $?
> cp -p {hdanva3,hdminva3,hdminv84}.c                  
> /root/linux/drivers/gpu/drm/nouveau/core/engine/disp/

That does seem like it would work, but definitely not the way that I'd do it.
I'd do more like

cd linux
git checkout 8e9e3d2deacc460fbb8a4691140318f6e85e6891
git checkout drivers/gpu/drm/nouveau (this should remove any local changes you
have in that dir on tracked files)
patch -p1 < hdmi-1.patch
patch -p1 < hdminva3.patch
patch -p1 < hdminva3-3.patch

> # Build, reboot, test:
> cat /proc/asound/card1/eld#3.0                  # Good, Bad?
> aplay -D plughw:1,9 test.wav                    # HDMI sound?
> 
> -- Alex


You are receiving this mail because:
  • You are the assignee for the bug.
--1374359333.77e32B41.2280-- --===============2100436211== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============2100436211==--