Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Xorg, or maybe kernel, not loading the GPU driver
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Sun Aug 04, 2024 4:44 pm    Post subject: Reply with quote

fgsfds wrote:
Should've asked before emerging gentoo-kernel-bin - I still have to delete /boot and /usr/src completely?Also, I have already mounted my esp to /efi.

You have said that you have deleted /usr completely ... so, NOW you should have in /usr/src only the softlink /usr/src/linux and the directory of your new gentoo-kernel-bin ... so this should be fine.

If you give us the content of /boot and /efi (ls -lR) we could tell you what you can delete there.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 5:15 pm    Post subject: Reply with quote

/boot:
Code:
amd-uc.img                 initramfs-6.6.35-gentoo-dist.img  vmlinuz-6.6.35-gentoo-dist
config-6.6.35-gentoo-dist  System.map-6.6.35-gentoo-dist

/efi:
Code:
/efi:
EFI

/efi/EFI:
gentoo

/efi/EFI/gentoo:
grubx64.efi
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Sun Aug 04, 2024 6:15 pm    Post subject: Reply with quote

Dont delete anything ... it is all the new stuff. I see no old stuff. :D
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 6:41 pm    Post subject: Reply with quote

I ran lspci -nnk and saw "Kernel driver in use: amdgpu" for my gpu, but is it pulling the information from livecd install or my install that is on my ssd? (I'm still in livecd and chroot'ed)
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Sun Aug 04, 2024 6:50 pm    Post subject: Reply with quote

fgsfds wrote:
I ran lspci -nnk and saw "Kernel driver in use: amdgpu" for my gpu,[...] or my install that is on my ssd?

How did you boot ? From your SSD ? Then, yes, your installed Gentoo dist-kernel has of course the amdgpu driver (lspci asks always the current running kernel which you have booted).
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 6:53 pm    Post subject: Reply with quote

Quote:
How did you boot ? From your SSD ?

No, still in livecd.
Edited my previous post right when you replied xd
Quote:
(lspci asks always the current running kernel which you have booted)

I see.
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 8:37 pm    Post subject: Reply with quote

Here's efibootmgr output:
Code:
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0004,0002,0003,0005
Boot0000* gentoo        HD(1,GPT,c12a7328-f81f-11d2-ba4b-00a0c93ec93b,0x800,0x200000)/File(\EFI\gentoo\grubx64.efi)
Boot0002* WD Blue SN570 250GB SSD       BBS(HD,,0x0)0000424f
Boot0003* SSD 1TB       BBS(HD,,0x0)0000424f
Boot0004* UEFI: Generic Flash Disk 8.07, Partition 2    PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,GPT,a19ecf71-37d9-4913-9b8a-6327820dad4b,0x23c,0x1680)0000424f
Boot0005* Generic Flash Disk 8.07       BBS(HD,,0x0)0000424f

And emerge -uUDvp @world:
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 5.76 s (backtrack: 0/20).


Total: 0 packages, Size of downloads: 0 KiB

You asked for those in one of your previous posts.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Sun Aug 04, 2024 8:58 pm    Post subject: Reply with quote

I don't quite understand ... do you still have a current problem? I thought you had now installed the gentoo-kernel-bin (and surely did a grub-mkconfig afterwards) and already booted into your system with this new kernel (from other thread). Is that not the case ? What is the current status ?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 9:06 pm    Post subject: Reply with quote

No, didn't boot yet. Will do that now.
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 9:09 pm    Post subject: Reply with quote

Damn, forgot to setup a user account.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Sun Aug 04, 2024 9:28 pm    Post subject: Reply with quote

fgsfds wrote:
Damn, forgot to setup a user account.

That is really no problem ... login as root and add a user now (you can add users at any time).
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 9:54 pm    Post subject: Reply with quote

Quote:
login as root and add a user now

Oh, I see.
Already added one from a livecd though. And also had to install sudo. And then removed myself from wheel group when I ran etc-update(already fixed). Installing x11 right now.
Back to top
View user's profile Send private message
fgsfds
n00b
n00b


Joined: 01 Aug 2024
Posts: 27

PostPosted: Sun Aug 04, 2024 11:14 pm    Post subject: Reply with quote

Yay, finally! It all works now! Thank you so much for the help, pietinger!! and also sorry for wasting your time ... for most of the time..
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Mon Aug 05, 2024 11:17 am    Post subject: Reply with quote

fgsfds wrote:
Yay, finally! It all works now! Thank you so much for the help, pietinger!! [...]

Great to hear that - You are very Welcome ! :D

Have fun with Gentoo ! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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