# Fedora black screen on startup but manually startx works

**URL:** <https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084>\
**Category:** Linux\
**Created:** [May 16, 2021, 10:10am UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084 "2021-05-16T10:10:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![francesco.sestini06](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@francesco.sestini06](https://forums.developer.nvidia.com/u/francesco.sestini06)\
**Post date:** [May 16, 2021, 10:10am UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084/1 "2021-05-16T10:10:41Z")

</div>

i have a lenovo laptot with a nvidia gtx 1650ti and an integrated amd gpu fedora34 and kde, i use sddm, i installed the nvidia driver and after i set nvidia as primary gpu (option Primarygpu yes) i’m able to use nvidia as gpu but on startup i receive a black screen, if i switch tty and type startx all work fine. i’ve blacklisted nouveau.  
[nvidia-bug-report.log.gz](https://forums.developer.nvidia.com/uploads/short-url/puiwqecj6Ca562mlVDCjOYG33fA.gz) (1.1 MB)

---

<div class="post-metadata">

**Author:** ![luis.leon.andonayre](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@luis.leon.andonayre](https://forums.developer.nvidia.com/u/luis.leon.andonayre)\
**Post date:** [May 16, 2021, 9:13pm UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084/2 "2021-05-16T21:13:40Z")

</div>

Have you disabled wayland?

---

<div class="post-metadata">

**Author:** ![francesco.sestini06](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@francesco.sestini06](https://forums.developer.nvidia.com/u/francesco.sestini06)\
**Post date:** [May 16, 2021, 9:25pm UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084/3 "2021-05-16T21:25:22Z")

</div>

yes i put WaylandEnable=false in sddm.conf file under the [wayland] section.  
I’m struggling on it, on startup no errors are shown during boot but at the end of the boot my screen is totally turned off and it activates only if i switch terminal.

---

<div class="post-metadata">

**Author:** ![luis.leon.andonayre](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@luis.leon.andonayre](https://forums.developer.nvidia.com/u/luis.leon.andonayre)\
**Post date:** [May 16, 2021, 9:32pm UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084/4 "2021-05-16T21:32:20Z")

</div>

Try this: sudo nano /etc/gdm/custom.conf  
then, uncomment WaylandEnable=false. That worked for me, I hope it would be useful!

---

<div class="post-metadata">

**Author:** ![francesco.sestini06](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@francesco.sestini06](https://forums.developer.nvidia.com/u/francesco.sestini06)\
**Post date:** [May 16, 2021, 9:37pm UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084/5 "2021-05-16T21:37:45Z")

</div>

i’m using sddm, in /etc/sddm/ i have sddm dir, sddm.conf.d and sddm.conf file. i also tried with kdm but nothing, i think is a screen problem because if i close my laptop and reopen it i can find sddm to login working. in nvidia x settings i see my screen is PRIME

---

<div class="post-metadata">

**Author:** ![user17287](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user17287](https://forums.developer.nvidia.com/u/user17287)\
**Post date:** [October 27, 2021, 4:36am UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084/6 "2021-10-27T04:36:45Z")

</div>

Same issue here ideapad dual gpu fedora 34 using sddm and kde plasma  
After boot blank screen appears and i have to login with command line then startx works!  
Any help would be appreciated

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [October 27, 2021, 8:48am UTC](https://forums.developer.nvidia.com/t/fedora-black-screen-on-startup-but-manually-startx-works/178084/7 "2021-10-27T08:48:49Z")

</div>

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
