You are not logged in.
It seems like my xorg is working and it seems like it launches cinnamon and or plasma an every other window manager that i try, i say that because the logs seem fine to me and when i alt into another tty and run glances i can see the programs running but not using any cpu or memory. when i launch startx from a tty the whole tty freezes up after displaying the initial xorg launch variables andd if i try to alt into tty 7 i just see a blinking white cursor in the top left of the screen with a blank black background. i generated my xorg config with nvidia-xorg or whatever and havent touched it since. ill update this post with a few log files as soon as i figure out how to use fomatting.
here is my xorg log: https://pastebin.com/WXRP93Gz
i just restored my xorg config from the backup and it had no effect
the only other log i could find was a lightdm log https://pastebin.com/LD7Dukbs
im not even trying to use a display manager anymore im just using startx with exec cinnamon-session or export DESKTOP_SESSION=plasma and exec plasma-x11
but when i was trying to use a display manager it didnt display anything.
Last edited by imthatsteve (2021-12-12 20:02:29)
Offline
You gain nothing by running nvidia-xconfig to just have ran it. Remove the config file it generated check whether the situation improves. To post logs and code tags you can use the BBCode Help link under every post
Last edited by V1del (2021-12-12 02:53:52)
Offline
The subject is a bit misleading
Then edit it and chose a better one.
seems like ...
Please post facts, not interpretation. Post specific commands and actual logs (rather than saying they "seem fine" to you).
if i try to alt into tty 7 i just see a blinking white cursor in the top left of the screen with a blank black background.
That's as expected. What would you expect to see? Have you configured a tty to run on vt7?
i generated my xorg config with nvidia-xorg or whatever and havent touched it since.
Do you mean nvidia-xconfig? Again, share actual information, not vague summaries.
It sounds like your issue is that X fails to start with nvidia, right? The title should reflect this issue. Is wayland relevant at all? Are you using wayland?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
yes i am using wayland, the only way i can get a desktop environment running is with wayland so i can only use gnome and kde-plasma. every time i try to get xorg working i cannot find any errors or issues but it does not work, im using nvidia drivers with my gtx 1050 ti, i have tried disabling kms to get xorg to work but that does not help and just stops wayland from working
Offline
Please post an xorg.log from a run of X with KMS enabled and no X configs in use.
Last edited by loqs (2021-12-12 03:35:28)
Offline
[ 72.018] (II) Server terminated successfully (0). Closing log file.Also the complete system journal, since that server ran for ~55 seconds and terminated cleanly
So the problem is with your session, likely because
[ 16.749] (II) NVIDIA(0): "NULL"
[ 16.749] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 16.749] (WW) NVIDIA(0): Unable to get display device for DPI computation.This is an optimus system and the only output is wired to the IGP but you're trying to run it on the GPU.
im using nvidia drivers with my gtx 1050 ti
tells me you wanted to have read https://wiki.archlinux.org/title/NVIDIA_Optimus and properly configure the system to run on the nvidia chip?
Online
Please post an xorg.log from a run of X with KMS enabled and no X configs in use.
I deleted my xorg.conf at /etc/X11/ but i left the xorg.conf.d directories alone should i remove those as well?
I also renamed my .xinit file in my home folder and here is the xorg log
https://pastebin.com/HmraXX77
this time after running startx xorg actually exited and gave my tty back instead of freezing up.
Offline
Also the complete system journal, since that server ran for ~55 seconds and terminated cleanly
So the problem is with your session, likely becauseThis is an optimus system and the only output is wired to the IGP but you're trying to run it on the GPU.
tells me you wanted to have read https://wiki.archlinux.org/title/NVIDIA_Optimus and properly configure the system to run on the nvidia chip?
yes i have read that page so many times and i always end up very confused, i was hoping i could just get my system to always run from the gpu only without switching between gpu and integrated since i dont really use my laptop battery anymore but ill have to go back and try to configure it properly. it makes sense that the display is routed through the integrated graphics i didnt even think about that.
im not sure how to use journalctl to get the journal, i want to just pipe it into a file but the journal is like 5000+ lines long and i think a lot of that is likely unrelated to xorg and its probably mostly my plasma-waylan sessions id like to select only the journal for the most recent boot where i try to run xorg but all of the journal names are cryptic and dont seem to be timestamped or dated and when i pick the one that looks the most recent it looks like multiple sessions/reboots all in one long file so id really appreciate it if you could tell me exactly how to fetch the journal so im not giving you a massive wall of text to scroll through but maybe thats just normal for a systemd journal? i didnt even know systemd kept a journal so thats super helpful, im going to go see if i can figure out how to configure optimus i was under the mistaken impression that optimus config was optional for improved battery performance on laptops i didnt realize it was necessary to be able to use the gpu. hopefully i will be able to configure my system correctly this time and mark this thread as solved, thank you for your help so far.
Offline
You probably want systemd/Journal and the 1st link in Seth's signature.
"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb
Offline
wow that was stupidly easy i feel so stupid.
all i had to do was follow the directions under Use NVIDIA graphics only part of the optimus page
in my
/etc/X11/xorg.config.d/i had
20-nvidia.confwith all the same stuff as my
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.confthe guide said to combine the package provided config with my
/etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.confbut i didnt have that config so i just copied it over and id assume the 10 just means it will use that conf before using the other one so i didnt actually have to change anything and then i just had to add the following two lines to my .xinitrc and i rebooted and then startx worked perfectly and bought up my plasma session in x11 instead of wayland.
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoive been trying to figure out what was wrong with xorg for like 2 weeks now and i just needed two lines at the beginning of my xinitrc im kicking myself so hard right now.
thank you so much for the help im marking the thread as solved.
btw i really love arch, ive been using ubuntu based distros for like 10 years and i actually thought it would take some getting used to to make the switch but its been nothing but a dream other than this xorg issue of mine. i thought id keep typing apt-get instead of pacman or have to compile src and mess around with makefiles and complicated stuff but with the aur its actually much much easier to get software outside of the main distro repos to compile and install its all automated and im amazed every time i have to use yay to install something. plus arch ppl are kinda crazy so anything a normie like me could want to do has probably already been done just so some crazy arch person could write a guide to teach normies like me how to do it lol, im very happy to have an arch system and i never thought there would be such an easy fix to my xorg issue im very happy.
Last edited by imthatsteve (2021-12-12 20:20:25)
Offline
You probably want systemd/Journal and the 1st link in Seth's signature.
Thank you, i dont post on forums often and i went looking for some guidelines like that when i was first posting but all i found was like behavior type stuff in the sticky post and reminders to mark posts as solved. this was my first visit to the arch forums so i had no idea pastebin was banned and i didnt really want to create a mess with thousands of lines in my post even if code tags make it pretty and scroll. honestly im so used to reading forum posts and ignoring links in signatures that i didnt even notice those links so thank you for pointing them out, someone should put those links in the sticky post detailing the guidelines for the newbie corner/forums.
Offline
Thank you, i dont post on forums often and i went looking for some guidelines like that...
I am constantly amazed at the breadth and depth of the information in the wiki. If you are new, you might also want to read Help - Reading
Cheers,
"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb
Offline
I am constantly amazed at the breadth and depth of the information in the wiki. If you are new, you might also want to read Help - Reading
Cheers,
Thank you thats very helpful and i fully agree, that first paragraph about the DRY style made me realize why the Arch wiki is like a breath of fresh air compared to much of the Ubuntu documentation and other beginner oriented linux blog posts, when reading those sources you have to get good at knowing what to ignore which requires knowing enough about your problem to know what isnt the issue. but with the Arch wiki they give you only the information necessary to do exactly what they are telling you about and then they mention other cases where that information may not apply and link to other articles. reading the arch wiki for the first time was slightly overwhelming but also incredibly engrossing because im someone who really loves learning just about anything. So every article I read id have a thousand links to other articles that i also had to open and naturally id end up with a billion tabs and a seemingly endless reading list of articles seemingly dependent on other articles but at the same time it was building up a whole repository of knowledge and explaining it in a way that was understandable and made sense unlike the "just copy this thing and do this and then download this" style of so much other Linux documentation. It seems like to get into arch properly you really need to sit down and study like its a class which clearly is not for everyone but for those who love linux for the freedom and possibilities it offers, Arch is literally the best and only option. Im reminded of two common sayings; 'knowledge is power' and 'with great power comes great responsibility' and Im incredibly impressed by the way the arch wiki manages to teach me so much about the operating system and so efficiently.
The Arch wiki, forums and community is Arch just as much as the Arch repo, the user repo, and the iso, its all this wonderful package of knowledge, software, and people who care and believe in the opensource philosophy that your computer is yours and you can do whatever you like with it but that means you should also understand it in order to maintain and care for it. I feel like there something incredibly beautiful about that and i understand why everyone feels the need to mention they run arch it reminds me of a great religion(i know religion has a bad name these days) where you feel the need to tell people about it to help share the joy that you have found. I guess you can replace religion with philosophy or outlook on life but i think religion is an apt comparison because of the sense of community as well as the literal community thats always working on projects and discussing pressing issues and helping each other out. It definitely feels like something worth sharing with anyone who might be interested or willing to learn and one day i hope i find a way to contribute to the community other than just donating money to projects and maintainers. unfortunately my coding skills are a bit nonexistent right now but ill change that eventually, ill have to try and be more active on the forums and try to help other newbies out in the meantime.
Ive definitely learned more running Arch for a few weeks than running Ubuntu for years.
Offline