All;
I've purchased a Lenovo Thinkpad P52S back in July with the following
specs:
- 8th Generation Intel® Core™ i7-8650U Processor with vPro® (1.90GHz, up
to 4.20GHz with Turbo Boost, 8MB Cache)
- 15.6" 4K UHD (3840 x 2160) IPS anti-glare
- 32 GB DDR4 (16 + 16) 2400MHz
- NVIDIA Quadro P500 2GB GDDR5
Ever since then I've had issues with lockups, cpu 'stuck' at 100%,
shutdown hangs, etc
I upgraded to Fedora29 and most of the lockup and cpu stuck issues went
away but the shutdown hang issue remained.
Often I would see /var/log/messages entries like this:
kernel: nouveau 0000:02:00.0: DRM: Pointer to TMDS table invalid
kernel: watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [Xorg:2145]
kernel: NMI watchdog: Watchdog detected hard LOCKUP on cpu 2
abrt-server[1960]: Oops looks like a problem in kernel module, new
component xorg-x11-drv-nouveau
I've recently deployed a change to my system that seems to have fully
resolved the issue, note that I use the laptop for business, writing
code, running PostgreSQL, etc, so I need none of the benefits of the
NVIDIA 3D features, in fact I prefer to NOT use these in order to save
on battery life.
I found a fix that forces the use of the Intel video driver (I have a
dual intel/NVIDIA card) and nothing else (or so it seems).
I posted this in hopes that it will help others who may have the same issue
I added a new entry into my /etc/X11/xorg.conf file. I already had one
since I wanted to force a screen resolution at boot / login time,
otherwise you'll need to create one.
See my xorg.conf file below,
Note the only section needed for the "fix" is the Device Section which
Sets the Driver = "intel" for Identifier "Card0"
For me this has fixed all of my issues, and I have increased battery
life as well. The entry itself was generated by logging into single
user mode as root and running:
X -configure
Then I simply pulled the Device section out that specified the intel
driver and added only that entry into my xorg.conf file
# xorg.conf
Section "Monitor"
Identifier "eDP1"
Modeline "1344x756_60.00" 82.00 1344 1408 1544 1744 756 759 764
785 -hsync +vsync
Option "PreferredMode" "1344x756_60.00"
EndSection
Section "Monitor"
Identifier "DP1"
Modeline "1344x756_60.00" 82.00 1344 1408 1544 1744 756 759 764
785 -hsync +vsync
Option "PreferredMode" "1344x756_60.00"
EndSection
#Section "Screen"
#Identifier "Default Screen"
#SubSection "Display"
#Modes "1368x768_60.00"
## Modes "960x720"
#EndSubSection
#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 "Accel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "CustomEDID" # <str>
#Option "DRI" # <str>
#Option "Present" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "HWRotation" # [<bool>]
#Option "VSync" # [<bool>]
#Option "PageFlip" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "VirtualHeads" # <i>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection