View previous topic :: View next topic |
Author |
Message |
superdeez n00b
Joined: 10 May 2015 Posts: 59
|
Posted: Sat May 28, 2022 6:02 pm Post subject: Probably pretty stupid video card question |
|
|
I'm installing Gentoo onto a Dell laptop. Running lspci -nnk gets me this:
Code: | 04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 830M] [10de:1340] (rev a2)
Subsystem: Dell GM108M [GeForce 830M] [1028:0632]
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
DeviceName: Onboard IGD
Subsystem: Dell HD Graphics 5500 [1028:0632]
Kernel driver in use: i915
Kernel modules: i915 |
Since I had initially seen Intel onboard graphics available, I used that, but should I really be using the Nouveau module?
Is this a case of Intel graphics are available but there is also an Nvidia chipset? |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Sat May 28, 2022 6:34 pm Post subject: |
|
|
superdeez,
There are no stupid questions, except the one you never ask.
Be on your guard for stupid answers though. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
superdeez n00b
Joined: 10 May 2015 Posts: 59
|
Posted: Sat May 28, 2022 7:24 pm Post subject: |
|
|
Thanks for the information. |
|
Back to top |
|
|
superdeez n00b
Joined: 10 May 2015 Posts: 59
|
Posted: Sat May 28, 2022 10:57 pm Post subject: |
|
|
One further question:
I have X now and whenever I run X it works briefly before the local console locks up and I have to reboot via ssh.
dmesg can be found here: http://dpaste.com/DRNDN7N4R
I'm guessing GPU hang is it trying to switch between the HD graphics and nvidia or them not playing nice with each other? This is my first time working with this particular setup. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sun May 29, 2022 11:44 am Post subject: |
|
|
Those messages are highly unusual:
Code: | [ 76.577739] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210730/nsarguments-61)
[ 77.320980] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[ 78.002904] i915 0000:00:02.0: [drm] Resetting rcs0 for CS error
[ 78.008953] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:00201f37, in X [5523]
[ 92.778629] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:85dffffb, in X [5523]
[ 92.779636] i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0
[ 150.359605] i915 0000:00:02.0: [drm] Resetting rcs0 for CS error
[ 150.365583] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:072612ff, in X [5523]
[ 150.373287] i915 0000:00:02.0: [drm] Resetting rcs0 for CS error
[ 150.379259] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:072612ff, in X [5523]
[ 150.386701] i915 0000:00:02.0: [drm] Resetting rcs0 for CS error
|
Please post
- The output of
Your kernel config using wgetpaste.
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Sun May 29, 2022 11:56 am Post subject: |
|
|
superdeez,
You have assorted firmware missing
Code: | [ 0.022227] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x25 (or later) |
Code: | [ 0.458984] Loading firmware: regulatory.db
[ 0.459098] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 0.459228] cfg80211: failed to load regulatory.db |
none of which are related to your immediate Video problem.
Code: | [ 76.577739] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210730/nsarguments-61)
[ 77.320980] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[ 78.002904] i915 0000:00:02.0: [drm] Resetting rcs0 for CS error
[ 78.008953] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:00201f37, in X [5523] | That looks like a verybadthing.
Can you post the Xorg.0.log file please, if there is one. What I'm looking for is the video driver in use for the Intel GPU.
It should be modesetting as you want to use Optimus. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
superdeez n00b
Joined: 10 May 2015 Posts: 59
|
Posted: Sun May 29, 2022 3:41 pm Post subject: |
|
|
The xorg log rwith the nvidia module still installed is here: http://dpaste.com/8VJF7LXRM
The intel module I am using is i915. I was using the nvidia propriatery driver, but I removed that thinking that could have been causing the problem, but it has changed nothing.
What happens is X and xfce works for a time, but as I try to open menus or make it draw windows, it begins tearing and eventually just completely locks the console. "killall X" usually works, but sometimes it locks that vt.
It might be worth mentioning this laptop apparently used to be my father's. This is apparently the machine that made him go to Apple because he had some problem with it that he attributed to a windoze update and the windoze tech support guy eventually couldn't solve the problem. Hardware problem possibly?
I just tried it again with all nstances of the nvidia module removed and that xorg log is here: http://dpaste.com/2WYQ5TLVX |
|
Back to top |
|
|
superdeez n00b
Joined: 10 May 2015 Posts: 59
|
|
Back to top |
|
|
superdeez n00b
Joined: 10 May 2015 Posts: 59
|
Posted: Sun May 29, 2022 3:52 pm Post subject: |
|
|
And the kernel config is here http://dpaste.com/CA6FZVRQG
Sorry to be so spastic. I've been banging my head against the wall with this machine much of yesterday afternoon and much of this morning. Probably need to go do something else for awhile... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Sun May 29, 2022 4:07 pm Post subject: |
|
|
superdeez,
Code: | [ 33.374] (==) Matched intel as autoconfigured driver 0
[ 33.374] (==) Matched nvidia as autoconfigured driver 1
[ 33.374] (==) Matched nouveau as autoconfigured driver 2
[ 33.374] (==) Matched nv as autoconfigured driver 3
[ 33.374] (==) Matched modesetting as autoconfigured driver 4
[ 33.374] (==) Matched fbdev as autoconfigured driver 5
[ 33.374] (==) Matched vesa as autoconfigured driver 6 |
Tells that you have not configured your install for Optimus
You only haze one and a half graphics systems. You can use Intel only or both together.
The half that's missing is the nVidia GPU connection to the outside world.
See the Optimus page on the Wiki.
Code: | VIDEO_CARDS="intel" | should be Code: | VIDEO_CARDS="nvidia" | for the binary blob, or Code: | VIDEO_CARDS="nouveau" | for the open source driver.
Xorg provides modesetting anyway. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
superdeez n00b
Joined: 10 May 2015 Posts: 59
|
Posted: Sun May 29, 2022 6:40 pm Post subject: |
|
|
NeddySeagoon,
Thank you once again you have solved my problem. I had been trying with the Nvidia binary blob and it just wasn't working at all.
Enable i915 and nouveau in the kernel, VIDEO_CARDS="nouveau" and update @world for the new USE and it's all working. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Sun May 29, 2022 11:02 pm Post subject: |
|
|
superdeez,
It may only be Intel that,s working. Optimus requires some Xorg configuration so that it can use both GPUs together. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|