Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Probably pretty stupid video card question

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
superdeez
n00b
n00b
Posts: 69
Joined: Sun May 10, 2015 2:02 am

Probably pretty stupid video card question

  • Quote

Post by superdeez » Sat May 28, 2022 6:02 pm

I'm installing Gentoo onto a Dell laptop. Running lspci -nnk gets me this:

Code: Select all

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?
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Sat May 28, 2022 6:22 pm

Looks like a notebook with Nvidia Optimus technology. See: https://en.wikipedia.org/wiki/Nvidia_Optimus
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat May 28, 2022 6:24 pm

It seems a laptop with optimus
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat May 28, 2022 6:34 pm

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.
Top
superdeez
n00b
n00b
Posts: 69
Joined: Sun May 10, 2015 2:02 am

  • Quote

Post by superdeez » Sat May 28, 2022 7:24 pm

Thanks for the information.
Top
superdeez
n00b
n00b
Posts: 69
Joined: Sun May 10, 2015 2:02 am

  • Quote

Post by superdeez » Sat May 28, 2022 10:57 pm

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.
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Sun May 29, 2022 11:44 am

Those messages are highly unusual:

Code: Select all

[   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
  1. The output of

    Code: Select all

    emerge --info
  2. Your kernel config using wgetpaste.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun May 29, 2022 11:56 am

superdeez,

You have assorted firmware missing

Code: Select all

[    0.022227] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x25 (or later)

Code: Select all

[    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: Select all

[   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.
Top
superdeez
n00b
n00b
Posts: 69
Joined: Sun May 10, 2015 2:02 am

  • Quote

Post by superdeez » Sun May 29, 2022 3:41 pm

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
Top
superdeez
n00b
n00b
Posts: 69
Joined: Sun May 10, 2015 2:02 am

  • Quote

Post by superdeez » Sun May 29, 2022 3:48 pm

Almost forgot: emerge --info is here: http://dpaste.com/HN2EEA9PG
Top
superdeez
n00b
n00b
Posts: 69
Joined: Sun May 10, 2015 2:02 am

  • Quote

Post by superdeez » Sun May 29, 2022 3:52 pm

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...
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun May 29, 2022 4:07 pm

superdeez,

Code: Select all

[    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: Select all

VIDEO_CARDS="intel"
should be

Code: Select all

VIDEO_CARDS="nvidia"
for the binary blob, or

Code: Select all

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.
Top
superdeez
n00b
n00b
Posts: 69
Joined: Sun May 10, 2015 2:02 am

  • Quote

Post by superdeez » Sun May 29, 2022 6:40 pm

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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun May 29, 2022 11:02 pm

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.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic