Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
enabled "nomodeset" and then emerged xorg-server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
LegionOfHell
Apprentice
Apprentice


Joined: 16 Mar 2019
Posts: 165
Location: Toronto, Canada

PostPosted: Fri May 17, 2019 3:51 am    Post subject: enabled "nomodeset" and then emerged xorg-server Reply with quote

I enabled nomodeset(because I was getting flashes during boot) in grub and then installed xorg-server

Then startx returned errors and pm-suspend refused to work properly (wouldn't wake up from suspend)..

Then I realized the mistake I had made...so I removed nomodeset from grub...

Now pm-suspend works fine but when I startx, I see a black screen with the cursor at top left..

Should I emerge xorg-server again like this :

emerge --ask x11-base/xorg-server


...what is the fix for this ?

Many Thanks
Back to top
View user's profile Send private message
argen
n00b
n00b


Joined: 26 Apr 2019
Posts: 25

PostPosted: Fri May 17, 2019 3:58 am    Post subject: Reply with quote

Post your emerge --info and GPU.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18335

PostPosted: Fri May 17, 2019 3:59 am    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
_________________
Don't even pause and ask them why. Turn around and say goodbye.
Back to top
View user's profile Send private message
LegionOfHell
Apprentice
Apprentice


Joined: 16 Mar 2019
Posts: 165
Location: Toronto, Canada

PostPosted: Fri May 17, 2019 5:53 am    Post subject: Reply with quote

Here is the output of emerge --info :

http://dpaste.com/0W8PHM8


here is the output of sudo lspci -vv :

http://dpaste.com/0SG071X
Back to top
View user's profile Send private message
LegionOfHell
Apprentice
Apprentice


Joined: 16 Mar 2019
Posts: 165
Location: Toronto, Canada

PostPosted: Fri May 17, 2019 5:09 pm    Post subject: Reply with quote

These might be helpful too :

Xorg.0.log : http://dpaste.com/17EE3KZ (after "startx -- -logverbose 5")

these are the errors :

(EE) modeset(0): failed to set mode: Invalid argument
(EE) Failed to load module "intel" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) modeset(0): failed to set mode: Invalid argument

At the black screen, if I press alt+shift+q , I return back to command line...alt+shift+q is the key sequence for exiting dwm...

dmesg : http://dpaste.com/1S0DXGC

something tells me I should re-emerge xorg...

EDIT:

When I write config files under /etc/X11/xorg.conf.d/ this is how Xorg.0.log looks like :

http://dpaste.com/26K5V8E
Back to top
View user's profile Send private message
LegionOfHell
Apprentice
Apprentice


Joined: 16 Mar 2019
Posts: 165
Location: Toronto, Canada

PostPosted: Fri May 17, 2019 9:21 pm    Post subject: Reply with quote

This might be a kernel bug, people are talking about it everywhere..
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 901
Location: The Village, Portmeirion

PostPosted: Fri May 17, 2019 11:18 pm    Post subject: Reply with quote

I'm not sure how you can trigger this behavior just by toggling a nomodeset kernel parameter on and off.. Something else happened in between...
Back to top
View user's profile Send private message
LegionOfHell
Apprentice
Apprentice


Joined: 16 Mar 2019
Posts: 165
Location: Toronto, Canada

PostPosted: Fri May 17, 2019 11:31 pm    Post subject: Reply with quote

I basically did the following :

(1) enabled nomodeset
(2) recompiled the kernel
(3) installed xorg-server
(4) installed pm-utils
(5) pm-suspend wouldn't wake up from suspend.
(6) startx returned an error.
(7) removed nomodeset from grub
[8] suspend worked fine but now startx starts a black screen with a cursor at top left corner...


alt+shift+q works when trying to quit the black screen...it is the key sequence for quitting dwm...my guess is that it has something to do with the Intel driver.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4396
Location: Dallas area

PostPosted: Fri May 17, 2019 11:38 pm    Post subject: Reply with quote

Did you turn off modesetting in the kernel? I don't mean passing the parm to grub, I mean setting modesetting off in the config.

What does your xorg.conf look like?
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
LegionOfHell
Apprentice
Apprentice


Joined: 16 Mar 2019
Posts: 165
Location: Toronto, Canada

PostPosted: Sat May 18, 2019 12:07 am    Post subject: Reply with quote

I never touched any modesetting options when configuring the kernel...I never created/modified any xorg.conf or any *.conf file in .../xorg.conf.d/
Back to top
View user's profile Send private message
LegionOfHell
Apprentice
Apprentice


Joined: 16 Mar 2019
Posts: 165
Location: Toronto, Canada

PostPosted: Sat May 18, 2019 2:23 pm    Post subject: Reply with quote

I installed the ddx driver and now startx works...the modsetting driver doesnt work with xorg..

EDIT: I have a question...

If i set VIDEO_CARDS="intel i915" in /etc/portage/make.conf,
Which intel driver is pulled from x11-base/xorg-driver ?


If i set VIDEO_CARDS="intel i965" in /etc/portage/make.conf,
Which intel driver is pulled from x11-base/xorg-driver ?

Which one of the above settings pulls the xf86-video-intel ?
Does xorg-drivers package even contain the xf86-video-intel driver?
The guide says choosing i965 omits xf86-video-intel..Am i getting this right ?

I am asking because i set the intel and i965 variables in make.conf..but startx returned errors and I had to manually install the xf86-video-intel driver to make xorg+dwm work...
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