all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59361: linux-libre 6 breaks OpenGL on nouveau driver
@ 2022-11-18 15:47 Maxim Cournoyer
  2022-11-20 13:42 ` Maxim Cournoyer
  2024-05-01 16:31 ` bug#59361: linux-libre 6 breaks OpenGL on nouveau driver for nvidia 8800 GTS 640 Mo card Maxim Cournoyer
  0 siblings, 2 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2022-11-18 15:47 UTC (permalink / raw)
  To: 59361

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59361: linux-libre 6 breaks OpenGL on nouveau driver
  2022-11-18 15:47 bug#59361: linux-libre 6 breaks OpenGL on nouveau driver Maxim Cournoyer
@ 2022-11-20 13:42 ` Maxim Cournoyer
  2022-11-27 17:04   ` Maxim Cournoyer
  2024-05-01 16:31 ` bug#59361: linux-libre 6 breaks OpenGL on nouveau driver for nvidia 8800 GTS 640 Mo card Maxim Cournoyer
  1 sibling, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2022-11-20 13:42 UTC (permalink / raw)
  To: 59361

Hello,

Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59361: linux-libre 6 breaks OpenGL on nouveau driver
  2022-11-20 13:42 ` Maxim Cournoyer
@ 2022-11-27 17:04   ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2022-11-27 17:04 UTC (permalink / raw)
  To: 59361

Hi,

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

> Hello,
>
> Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59361: linux-libre 6 breaks OpenGL on nouveau driver for nvidia 8800 GTS 640 Mo card
  2022-11-18 15:47 bug#59361: linux-libre 6 breaks OpenGL on nouveau driver Maxim Cournoyer
  2022-11-20 13:42 ` Maxim Cournoyer
@ 2024-05-01 16:31 ` Maxim Cournoyer
  1 sibling, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2024-05-01 16:31 UTC (permalink / raw)
  To: 59361-done

Hi,

Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-01 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18 15:47 bug#59361: linux-libre 6 breaks OpenGL on nouveau driver Maxim Cournoyer
2022-11-20 13:42 ` Maxim Cournoyer
2022-11-27 17:04   ` Maxim Cournoyer
2024-05-01 16:31 ` bug#59361: linux-libre 6 breaks OpenGL on nouveau driver for nvidia 8800 GTS 640 Mo card Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.