View previous topic :: View next topic |
Author |
Message |
LegionOfHell Apprentice

Joined: 16 Mar 2019 Posts: 253 Location: Toronto, Canada
|
Posted: Fri May 17, 2019 3:51 am Post subject: enabled "nomodeset" and then emerged xorg-server |
|
|
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 |
|
 |
argen n00b

Joined: 26 Apr 2019 Posts: 35
|
Posted: Fri May 17, 2019 3:58 am Post subject: |
|
|
Post your emerge --info and GPU. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 18706
|
Posted: Fri May 17, 2019 3:59 am Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments. _________________ Magna Carta (1215) | Spectral evidence no longer permissible (c. 1792) | Cancel culture, deplatforming (c. 2016) |
|
Back to top |
|
 |
LegionOfHell Apprentice

Joined: 16 Mar 2019 Posts: 253 Location: Toronto, Canada
|
|
Back to top |
|
 |
LegionOfHell Apprentice

Joined: 16 Mar 2019 Posts: 253 Location: Toronto, Canada
|
Posted: Fri May 17, 2019 5:09 pm Post subject: |
|
|
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 |
|
 |
LegionOfHell Apprentice

Joined: 16 Mar 2019 Posts: 253 Location: Toronto, Canada
|
Posted: Fri May 17, 2019 9:21 pm Post subject: |
|
|
This might be a kernel bug, people are talking about it everywhere.. |
|
Back to top |
|
 |
skellr l33t


Joined: 18 Jun 2005 Posts: 905 Location: The Village, Portmeirion
|
Posted: Fri May 17, 2019 11:18 pm Post subject: |
|
|
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 |
|
 |
LegionOfHell Apprentice

Joined: 16 Mar 2019 Posts: 253 Location: Toronto, Canada
|
Posted: Fri May 17, 2019 11:31 pm Post subject: |
|
|
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 |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 5047 Location: Dallas area
|
Posted: Fri May 17, 2019 11:38 pm Post subject: |
|
|
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? _________________ PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie) amd64-no-multilib, eudev, openrc, openbox
The New OTW |
|
Back to top |
|
 |
LegionOfHell Apprentice

Joined: 16 Mar 2019 Posts: 253 Location: Toronto, Canada
|
Posted: Sat May 18, 2019 12:07 am Post subject: |
|
|
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 |
|
 |
LegionOfHell Apprentice

Joined: 16 Mar 2019 Posts: 253 Location: Toronto, Canada
|
Posted: Sat May 18, 2019 2:23 pm Post subject: |
|
|
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 |
|
 |
|