Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] nvidia-470.74_1: BadAlloc & black box
@ 2021-10-11 15:39 Dko1905
  2022-05-17 14:14 ` Dko1905
  2022-05-17 14:14 ` [ISSUE] [CLOSED] " Dko1905
  0 siblings, 2 replies; 3+ messages in thread
From: Dko1905 @ 2021-10-11 15:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]

New issue by Dko1905 on void-packages repository

https://github.com/void-linux/void-packages/issues/33482

Description:
### System

* xuname:  
  `Void 5.10.71_1 x86_64 GenuineIntel uptodate hold rrmFFFFFFFFFF`
* package:  
  `nvidia-470.74_1`

I am using bspwm on a laptop, and I run `glxgears` using PRIME Render Offload.
I do **not** have `xf86-video-intel` installed, but instead use modesetting.
I have one xorg config file `/etc/X11/xorg.conf.d/20-intel-graphics.conf`:
```conf
Section "Device"
	Identifier "modesetting"
	Driver "modesetting"
	Option "TearFree" "True"
EndSection
```

### Expected behavior
I expect `glxgears` to successfully start up and work all the time.

### Actual behavior
Three different things happen, either `glxgears` starts up successfully and runs successfully, `glxgears` starts up successfully but does not render anything or `glxgears` fails to allocate proper resources.
Here is a video demonstrating the three outputs:
[video of glxgears](https://files.catbox.moe/3fnc2b.mp4)
It is random what happens, but black windows are more common than it working or it failing.

### Steps to reproduce the behavior
1. Install (at this time) latest `nvidia` drivers together with `xorg-minial`, `xorg-apps`, `xorg-fonts` and `xorg-util-macros`.
2. Run `glxgears` using `prime-run` in xorg session.

Other application are also affected, when I start Steam using `prime-run`, I get a see through window, when I start it on the Intel video card, it works as expected.

This is a new issue, since I haven't had it before I upgraded and switched to modesetting. I've tried to downgrade nvidia and go back to `xf86-video-intel`, but it didn't fix the issue.

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

* Re: nvidia-470.74_1: BadAlloc & black box
  2021-10-11 15:39 [ISSUE] nvidia-470.74_1: BadAlloc & black box Dko1905
@ 2022-05-17 14:14 ` Dko1905
  2022-05-17 14:14 ` [ISSUE] [CLOSED] " Dko1905
  1 sibling, 0 replies; 3+ messages in thread
From: Dko1905 @ 2022-05-17 14:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by Dko1905 on void-packages repository

https://github.com/void-linux/void-packages/issues/33482#issuecomment-1128925533

Comment:
This issue was solved sometime in between today (17-05-2022) and the creation time (11-10-2021).

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

* Re: [ISSUE] [CLOSED] nvidia-470.74_1: BadAlloc & black box
  2021-10-11 15:39 [ISSUE] nvidia-470.74_1: BadAlloc & black box Dko1905
  2022-05-17 14:14 ` Dko1905
@ 2022-05-17 14:14 ` Dko1905
  1 sibling, 0 replies; 3+ messages in thread
From: Dko1905 @ 2022-05-17 14:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2381 bytes --]

Closed issue by Dko1905 on void-packages repository

https://github.com/void-linux/void-packages/issues/33482

Description:
### System

* xuname:  
  `Void 5.10.71_1 x86_64 GenuineIntel uptodate hold rrmFFFFFFFFFF`
* package:  
  `nvidia-470.74_1`

I am using bspwm on a laptop, and I run `glxgears` using PRIME Render Offload.
I do **not** have `xf86-video-intel` installed, but instead use modesetting.
I have one xorg config file `/etc/X11/xorg.conf.d/20-intel-graphics.conf`:
```conf
Section "Device"
	Identifier "modesetting"
	Driver "modesetting"
	Option "TearFree" "True"
EndSection
```

### Expected behavior
I expect `glxgears` to successfully start up and work all the time.

### Actual behavior
Three different things happen, either `glxgears` starts up successfully and runs successfully, `glxgears` starts up successfully but does not render anything or `glxgears` fails to allocate proper resources.
Here is a video demonstrating the three outputs:
[video of glxgears](https://files.catbox.moe/3fnc2b.mp4)
It is random what happens, but black windows are more common than it working or it failing.
Error message when `glxgears` fails:
```
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  0
  Current serial number in output stream:  33
```

### Steps to reproduce the behavior
1. Install (at this time) latest `nvidia` drivers together with `xorg-minial`, `xorg-apps`, `xorg-fonts` and `xorg-util-macros`.
2. Run `glxgears` using `prime-run` in xorg session.

Other application are also affected, when I start Steam using `prime-run`, I get a see through window, when I start it on the Intel video card, it works as expected.
Error message when `steam` fails:
```
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Resource id in failed request:  0x3200017
  Serial number of failed request:  0
  Current serial number in output stream:  281
```

This is a new issue, since I haven't had it before I upgraded and switched to modesetting. I've tried to downgrade nvidia and go back to `xf86-video-intel`, but it didn't fix the issue.

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

end of thread, other threads:[~2022-05-17 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 15:39 [ISSUE] nvidia-470.74_1: BadAlloc & black box Dko1905
2022-05-17 14:14 ` Dko1905
2022-05-17 14:14 ` [ISSUE] [CLOSED] " Dko1905

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).