Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
command-line interface won't wake up
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 206

PostPosted: Fri Sep 08, 2017 2:02 am    Post subject: Reply with quote

That may actually narrow down the problem. I'm connected via DVI (on both ends), so it's unlikely that either the DVI or the DP support is at fault. Maybe something with the Radeon driver ...
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7132
Location: almost Mile High in the USA

PostPosted: Fri Sep 08, 2017 3:52 am    Post subject: Reply with quote

Unfortunately my experience here is lacking. I have a RadeonHD 5770 which is an older generation and using the HDMI and DVI ports, though I haven't seen this issue.

A curiosity is whether this issue shows up in X11 or not, if not you could stay in X11 and then maybe you won't care if it crashes in raw console mode :D

I think perhaps trying a different console mode is worth trying.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 206

PostPosted: Fri Sep 29, 2017 3:17 pm    Post subject: Reply with quote

Hi Folks,

Sorry for taking so long to post again; I was out of town for a bit.

eccerr0r, as you suggested I installed X to see if the problem persisted in X vs. the raw console mode. When I tried to launch X, the system hung, showing only a cursor on an otherwise blank screen.

One thing I should have done after this experiment is to look at the Xorg log file. It's possible that it may contain an error message that could shed some light on this problem.

I recalled not having this problem while booting off the live USB (as opposed to the minimal USB). I went back to the live USB and used genkernel to duplicate the kernel parameters from the live USB setup. When I booted off the new kernel, this problem entirely went away. I also noticed another difference: halfway through the boot sequence, the screen resolution switched from fairly course (i.e. large text) to much finer (probably the native monitor resolution). Presumably this is when the radeon driver kicked in.

So, the system is running, but I think it would be worthwhile to continue to try determine which kernel option made the difference (especially since this is a public form where other folks might look for answers). Running
Code:
 lsmod | grep radeon
on the running system I get:

ttm 94208 1 radeon
drm_kms_helper 151552 1 radeon
drm 335872 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 16384 2 igb,radeon
i2c_core 65536 6 i2c_algo_bit,igb,radeon,i2c_i801,drm_kms_helper,drm

My first guess would be that it's one of these. However, looking at the kernel options in menuconfig, it's not 100% obvious. For example, the descriptions for ttm and drm seem pretty generic. Looking at the old kernel that I setup manually, ttm is disabled. One experiment I might try is to enable this, and see if it helps.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7132
Location: almost Mile High in the USA

PostPosted: Fri Sep 29, 2017 5:29 pm    Post subject: Reply with quote

So it seems like just base console doesn't work properly but when in graphics mode (KMS console) it does? So it looks like switching into graphics mode is a workaround, and perhaps it didn't start X properly due to drivers.

I have all of these set in my kernel, and yes it does switch to the higher resolution graphics mode during boot.

CONFIG_DRM=y
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_TTM=m
CONFIG_DRM_RADEON=m
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_MUX=m
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=y
CONFIG_I2C_ALGOBIT=y
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 206

PostPosted: Thu Oct 26, 2017 2:04 am    Post subject: Reply with quote

eccerr0r, duplicating your configuration is partly effective; I can now start X, but, if don't, the console won't wake up after it goes to sleep.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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