opened
noctuid
username_0
**Describe the bug**
I'm not using a display manager; I have `prime-offload` in my .xinitrc and am running `prime-switch` as root after stopping X. When switching to nvidia and running `startx`, I get a bunch of red dots as the background. If I start a program, it is visible for a fraction of a second, and then everything goes black. I've tried PCI, bbswitch, and no configuration (both PCI and bbswitch work with nvidia-xrun).

If I start X with a monitor plugged in, the screen doesn't go black at least. I assume this is the same problem mentioned in the FAQ.

**System info**
Please include :
- Distro: Arch
- WM/DM: bspwm, no display manager
- The version of optimus-manager you are using : optimus-manager-git

**Logs**
Output of `xrand --listproviders` (after switching to intel) if it matters:
```
Providers: number : 1
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting
```

There were no errors or anything interesting in any of the optimus-manager log files, but I can provide them if you think they would help.

Here is `Xorg.0.log`:
[xorg.log](https://github.com/Askannz/optimus-manager/files/3894469/xorg.log)
Screen goes black after starting X with nvidia
issue
created
noctuid
username_0
Updated today to try again, and this issue no longer happens.
comment
closed
noctuid
username_0
issue