GNU bug report logs - #59361
linux-libre 6 breaks OpenGL on nouveau driver for nvidia 8800 GTS 640 Mo card

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Fri, 18 Nov 2022 15:48:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59361 in the body.
You can then email your comments to 59361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#59361; Package guix. (Fri, 18 Nov 2022 15:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 18 Nov 2022 15:48:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: linux-libre 6 breaks OpenGL on nouveau driver
Date: Fri, 18 Nov 2022 10:47:49 -0500
Hi,

When booting my Guix System with linux-libre 6.0.8, nouveau silently
fails to render OpenGL.  It includes symptoms such as:

1. Getting stuck on the GDM screen, which makes use of OpenGL
2. Not being able to use Qt5 or Qt6 applications, which renders via
OpenGL.
3. the 'glxgears' program from mesa-utils displays frozen gears (not
turning)

My graphic card is an old nvidia 8800 GTS with 640 MiB of video RAM.

Workaround: Adding the '(kernel linux-libre-5.15)' to my OS definition
fixes it.

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#59361; Package guix. (Sun, 20 Nov 2022 13:44:01 GMT) Full text and rfc822 format available.

Message #8 received at 59361 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 59361 <at> debbugs.gnu.org
Subject: Re: bug#59361: linux-libre 6 breaks OpenGL on nouveau driver
Date: Sun, 20 Nov 2022 08:42:53 -0500
Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hi,
>
> When booting my Guix System with linux-libre 6.0.8, nouveau silently
> fails to render OpenGL.  It includes symptoms such as:
>
> 1. Getting stuck on the GDM screen, which makes use of OpenGL
> 2. Not being able to use Qt5 or Qt6 applications, which renders via
> OpenGL.
> 3. the 'glxgears' program from mesa-utils displays frozen gears (not
> turning)
>
> My graphic card is an old nvidia 8800 GTS with 640 MiB of video RAM.
>
> Workaround: Adding the '(kernel linux-libre-5.15)' to my OS definition
> fixes it.

Now reported upstream at
https://gitlab.freedesktop.org/drm/nouveau/-/issues/192.

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#59361; Package guix. (Sun, 27 Nov 2022 17:05:01 GMT) Full text and rfc822 format available.

Message #11 received at 59361 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 59361 <at> debbugs.gnu.org
Subject: Re: bug#59361: linux-libre 6 breaks OpenGL on nouveau driver
Date: Sun, 27 Nov 2022 12:04:07 -0500
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello,
>
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
>
>> Hi,
>>
>> When booting my Guix System with linux-libre 6.0.8, nouveau silently
>> fails to render OpenGL.  It includes symptoms such as:
>>
>> 1. Getting stuck on the GDM screen, which makes use of OpenGL
>> 2. Not being able to use Qt5 or Qt6 applications, which renders via
>> OpenGL.
>> 3. the 'glxgears' program from mesa-utils displays frozen gears (not
>> turning)
>>
>> My graphic card is an old nvidia 8800 GTS with 640 MiB of video RAM.
>>
>> Workaround: Adding the '(kernel linux-libre-5.15)' to my OS definition
>> fixes it.
>
> Now reported upstream at
> https://gitlab.freedesktop.org/drm/nouveau/-/issues/192.

The commit that regressed was found via git bisect, by using the
following in my system configuration:

--8<---------------cut here---------------start------------->8---
modified   guix/hurd.scm
@@ -1,6 +1,7 @@
 (use-modules (gnu)
+             (guix git)
              (guix modules)
              (guix store)
              (srfi srfi-1)
@@ -98,6 +99,21 @@

+(define make-linux-libre* (@@ (gnu packages linux) make-linux-libre*))
+
+(define (linux-source commit)
+  (git-checkout
+   (url "file:///home/maxim/src/linux")
+   (commit commit)))
+
+(define %linux-commit "889fcbe949bdd8470931a90b91f273ca18c510c1")
+
+(define-public %linux-kernel
+  (make-linux-libre* "5.19" "0" (linux-source %linux-commit) '("x86_64-linux")
+                     #:configuration-file (@@ (gnu packages linux) kernel-config)
+                     #:extra-version "stock"
+                     #:build-doc? #f))
+
 (define %mapped-devices
   (list (mapped-device
--8<---------------cut here---------------end--------------->8---

And changing the value of %linux-commit for each git bisect.  The
original git-checkout clone took forever (multiple hours), but after the
initial clone done, each kernel build took about 20 minutes on a fast
machine.

The offending Linux commit is 889fcbe949bdd8470931a90b91f273ca18c510c1 [0]

[0]  https://gitlab.freedesktop.org/drm/nouveau/-/commit/889fcbe949bdd8470931a90b91f273ca18c510c1

-- 
Thanks,
Maxim




Changed bug title to 'linux-libre 6 breaks OpenGL on nouveau driver for nvidia 8800 GTS 640 Mo card' from 'linux-libre 6 breaks OpenGL on nouveau driver' Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 13 Jan 2023 21:09:01 GMT) Full text and rfc822 format available.

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 01 May 2024 16:32:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Wed, 01 May 2024 16:32:01 GMT) Full text and rfc822 format available.

Message #18 received at 59361-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 59361-done <at> debbugs.gnu.org
Subject: Re: bug#59361: linux-libre 6 breaks OpenGL on nouveau driver for
 nvidia 8800 GTS 640 Mo card
Date: Wed, 01 May 2024 12:31:00 -0400
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hi,
>
> When booting my Guix System with linux-libre 6.0.8, nouveau silently
> fails to render OpenGL.  It includes symptoms such as:
>
> 1. Getting stuck on the GDM screen, which makes use of OpenGL
> 2. Not being able to use Qt5 or Qt6 applications, which renders via
> OpenGL.
> 3. the 'glxgears' program from mesa-utils displays frozen gears (not
> turning)
>
> My graphic card is an old nvidia 8800 GTS with 640 MiB of video RAM.
>
> Workaround: Adding the '(kernel linux-libre-5.15)' to my OS definition
> fixes it.

I tried using linux-libre 6.8.8 today (Guix commit
df3d30819e650a490ef39dd6692740bb13263c75), which has Mesa 24.0.4, and
can no longer reproduce the problem described above.

I'm thus happily closing this!

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#59361; Package guix. (Sun, 05 May 2024 16:45:04 GMT) Full text and rfc822 format available.

Message #21 received at 59361-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Alexandra Platen <guix <at> platen-software.de>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 59361-done <at> debbugs.gnu.org
Subject: Re: bug#59361: linux-libre 6 breaks OpenGL on nouveau driver for
 nvidia 8800 GTS 640 Mo card
Date: Sun, 05 May 2024 15:42:29 +0200
That is interesting. Does anybody know which old GPUs will
work with linux-libre. On my Talos II, I noticed that even
old nvidia GPUs do not work, the POWER9 will shutdown the
link to GPU. I guess only AMD and Intel CPUs will work,
and maybe also the RK3399 which I was unable to test.

Alex

 
On Wed, 2024-05-01 at 12:31 -0400, Maxim Cournoyer wrote:
> Hi,
> 
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
> 
> > Hi,
> > 
> > When booting my Guix System with linux-libre 6.0.8, nouveau
> > silently
> > fails to render OpenGL.  It includes symptoms such as:
> > 
> > 1. Getting stuck on the GDM screen, which makes use of OpenGL
> > 2. Not being able to use Qt5 or Qt6 applications, which renders via
> > OpenGL.
> > 3. the 'glxgears' program from mesa-utils displays frozen gears
> > (not
> > turning)
> > 
> > My graphic card is an old nvidia 8800 GTS with 640 MiB of video
> > RAM.
> > 
> > Workaround: Adding the '(kernel linux-libre-5.15)' to my OS
> > definition
> > fixes it.
> 
> I tried using linux-libre 6.8.8 today (Guix commit
> df3d30819e650a490ef39dd6692740bb13263c75), which has Mesa 24.0.4, and
> can no longer reproduce the problem described above.
> 
> I'm thus happily closing this!
> 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Jun 2024 11:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 339 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.