Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg doesnt find screens.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cl0q
n00b
n00b


Joined: 04 Aug 2022
Posts: 12

PostPosted: Fri Aug 05, 2022 8:22 pm    Post subject: Xorg doesnt find screens. Reply with quote

Hi, i am back again with yet another issue, that being that running startx returns "no screens found".
I am running on a GT1030 with nouveau drivers and stated that in my make.conf and xorg.conf. I tried to fix my error with the other topics about this issue on this forum, but with no success.

make.conf:
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j8"
USE="X symlink perl"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"

INPUT_DEVICES="libinput synaptics keyboard mouse evdev vmmouse void"
VIDEO_CARDS="nouveau"

CONFIG_PROTECT="/etc/portage"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="https://ftp.fau.de/gentoo http://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/"
GRUB_PLATFORMS="efi-64"



xorg.conf
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc"
   FontPath     "/usr/share/fonts/TTF"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1"
   FontPath     "/usr/share/fonts/100dpi"
   FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "VideoKey"              # <i>
        #Option     "WrappedFB"             # [<bool>]
        #Option     "GLXVBlank"             # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "PageFlip"              # [<bool>]
        #Option     "SwapLimit"             # <i>
        #Option     "AsyncUTSDFS"           # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "DRI"                   # <i>
   Identifier  "Card0"
   Driver      "nouveau"
   BusID       "PCI:38:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection



Thanks in advance!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50939
Location: 56N 3W

PostPosted: Fri Aug 05, 2022 9:40 pm    Post subject: Reply with quote

cl0q,

As you want to use the nouveau driver, no xorg.conf should be required.
The auto detection should just work. Rename it, so that Xorg does not find it.

Test it now.

Then pastebin your dmesg and Xorg.0.log file.

wgetpaste puts files and command output onto a pastebin site. You tell us the links.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cl0q
n00b
n00b


Joined: 04 Aug 2022
Posts: 12

PostPosted: Fri Aug 05, 2022 9:53 pm    Post subject: Reply with quote

NeddySeagoon,

so what i now did was rename the xorg.conf to xorg.conf.old in /etc/X11/ and run startx again, to no avail.

this is Xorg.0.log in /var/log/: http://dpaste.com/6AVKAVN94

this is dmesg: http://dpaste.com/8ZMW9GHY8
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50939
Location: 56N 3W

PostPosted: Fri Aug 05, 2022 10:29 pm    Post subject: Reply with quote

cl0q,

It found
Code:
[   462.322] (++) Using config file: "/root/xorg.conf.new"
which will be the original file you copied to xorg.conf.
Remove that and try again.

Code:
[    0.333049] nouveau 0000:26:00.0: NVIDIA GP108 (138000a1)
[    0.449574] nouveau 0000:26:00.0: bios: version 86.08.17.00.5e
[    0.449629] Loading firmware: nvidia/gp108/nvdec/scrubber.bin
[    0.449645] Loading firmware: nvidia/gp108/acr/bl.bin
[    0.449650] nouveau 0000:26:00.0: acr: firmware unavailable
[    0.449653] nouveau 0000:26:00.0: pmu: firmware unavailable
[    0.449685] nouveau 0000:26:00.0: gr: firmware unavailable
[    0.449691] nouveau 0000:26:00.0: sec2 ctor failed: -38
[    0.449695] nouveau: probe of 0000:26:00.0 failed with error -38

Your kernel is missing firmware.

Your console should be using nouveaudrmfb fot the console but its not because of the missing firmware.
The easy fix for that is to build nouveau as a loadable module in your kernel.

Fix your kernel, hide or remove /root/xorg.conf.new and try again.

When you reboot into your new kernel, look at the date/time in
Code:
uname -a

That's the build date/time of the running kernel. Does it look like your most recent kernel build?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cl0q
n00b
n00b


Joined: 04 Aug 2022
Posts: 12

PostPosted: Mon Aug 08, 2022 4:33 pm    Post subject: Reply with quote

NeddySeagoon,

sorry for getting back this late, your solution worked and I have been busy trying to set it up further :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum