Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KMS drm modesetting isn't supported [solved, mount boot]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 454
Location: Ljubljana, Slovenia

PostPosted: Sun Jul 19, 2015 2:27 pm    Post subject: KMS drm modesetting isn't supported [solved, mount boot] Reply with quote

hello guys,
Code:
keeshta ~ # uname -a
Linux keeshta 4.0.5-gentoo #1 SMP Sun Jul 19 12:45:54 CEST 2015 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux
keeshta ~ # lspci | grep -i VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]

so from xorg guide:
Linux kernel >= 3.9 does not have the Enable modesetting on radeon by default anymore as it is already implied by default.

in my kernel:
Code:
Device Drivers --->
  Input device support --->
    <*>  Event interface
   
  Graphics support --->
    Frame buffer Devices  --->  (i deselected everything here except: -*-Support for frame buffer devices)
      -*- Support for frame buffer devices  ---> (I can not unselect this!!!)
        --- Support for frame buffer devices
        [ ]   Enable firmware EDID
      ...
      ...
      ...
      everything here disabled
      ...
      ...
      ...
    Console display driver support --->
      <*>  Framebuffer Console Support
     
  Generic Driver Options --->
    [*]   Include in-kernel firmware blobs in kernel binary
    (radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CEDAR_smc.bin radeon/CYPRESS_uvd.bin) External firmware blobs to build into the kernel binary
    (/lib/firmware) Firmware blobs root directory

I also followed gentoo/radeon, it has just two more suggestion:
Code:
Processor type and features  --->   
  -*- MTRR (Memory Type Range Register) support
     
Device Drivers  --->
  Generic Driver Options  --->
    -*- Userspace firmware loading support

my make.conf:
Code:
INPUT_DEVICES="evdev"
VIDEO_CARDS="radeon"

my profile is Desktop, and user is in video group.
As user i do startx but I get that KMS drm modesetting isn't supported.

This is fresh install on same box where it used to work...
I have .config kernel file from old installation and all /etc files from before, if it helps to compare...

aha, i am noob, i just copy and past wery well, and i am good at following directions (such as gentoo handbook)

any help is most welcomed.

Thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass


Last edited by while true on Sun Jul 19, 2015 5:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42569
Location: 56N 3W

PostPosted: Sun Jul 19, 2015 3:36 pm    Post subject: Reply with quote

while true,

Your kernel .config fragments look good.

I hate working with fragments though. Make friends with wgetpaste and put the whole thing on a pastebin site.
Then post fhe link that wgetpaste gives you.

Do the same for /var/log/Xorg.0.log
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 454
Location: Ljubljana, Slovenia

PostPosted: Sun Jul 19, 2015 3:51 pm    Post subject: Reply with quote

hey hey neddySeagoon,
man, you rock!

keeshta ~ # wgetpaste /usr/src/linux/.config
Your paste can be seen here: https://bpaste.net/show/4d19c48bb9ec
keeshta ~ # wgetpaste /var/log/Xorg.0.log
Your paste can be seen here: https://bpaste.net/show/c698e680a5c3

and my 'old' .config that worked on the same box before new install:
http://paste.pound-python.org/show/l0kz6bTvwfiszgqLn0P9/

i have to cook now and take dogs for a walk, but i'll be back latter on

Thank you so much
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42569
Location: 56N 3W

PostPosted: Sun Jul 19, 2015 4:23 pm    Post subject: Reply with quote

while true,

Code:
# CONFIG_AGP_AMD64 is not set
is on in your working kernel.
If you have an AMD CPU or motherboard chipset you need this.

Code:
CONFIG_DRM_RADEON_UMS=y
is User Space Modeswitching and is depreciated.
You should not need it, so start with it off.

Your other settings look OK. I did not check the firmware files listed in
Code:
CONFIG_EXTRA_FIRMWARE="radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CEDAR_smc.bin radeon/CYPRESS_uvd.bin"


On booting you should see one tux logo per logical CPU core. That shows that your framebuffer console, provided free with CONFIG_DRM_RADEON=y is working.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 454
Location: Ljubljana, Slovenia

PostPosted: Sun Jul 19, 2015 4:48 pm    Post subject: Reply with quote

oi oi Neddy,

i changed those two options:
keeshta ~ # wgetpaste /usr/src/linux/.config
Your paste can be seen here: https://bpaste.net/show/eb1446739442
keeshta ~ # wgetpaste /var/log/Xorg.0.log
Your paste can be seen here: https://bpaste.net/show/1bb6c0f2f6bb

On booting no tux logos, not one.

firmware files i copied from gentoo/radeon page, it states that ALL those should be put in kernel.

and still no X.
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42569
Location: 56N 3W

PostPosted: Sun Jul 19, 2015 4:54 pm    Post subject: Reply with quote

while true,

You did rebuild the kernel, reinstall it then reboot?
(Rule 1 is assume nothing)

What does
Code:
uname -a
show?

Can you pastebin dmesg please. wgetpaste can do that too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 454
Location: Ljubljana, Slovenia

PostPosted: Sun Jul 19, 2015 5:37 pm    Post subject: Reply with quote

per handbook, after i configure i save kernel, make && make modules_install, than make install.
I check boot and i see there is new kernel.
I reboot.
startx (as user).
than I reemerge xorg-drivers and xorg-server, env-update, source /etc/profile, reboot.
startx

have i missed a step here?

Code:
keeshta ~ # uname -a
Linux keeshta 4.0.5-gentoo #1 SMP Sun Jul 19 12:45:54 CEST 2015 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux
keeshta ~ # dmesg | wgetpaste

Your paste can be seen here: https://bpaste.net/show/8f987f6216d9

EDIT:
is this a grub thing?
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Sun Jul 19, 2015 5:46 pm    Post subject: Reply with quote

After make install you run emerge @module-rebuild, then reboot. That's it.
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 454
Location: Ljubljana, Slovenia

PostPosted: Sun Jul 19, 2015 5:56 pm    Post subject: Reply with quote

oi oi

hey buffon, i am so sorry neddy,

well, it apears i have to mount /dev/sda2 /boot before i do make install

there are tux logos and x appears to be working nicely...

Neddy, agaim I cannot decide if i should first applogise or thank you for your time, but all together, big thank you for your patience and time!!!
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42569
Location: 56N 3W

PostPosted: Sun Jul 19, 2015 6:07 pm    Post subject: Reply with quote

while true,

I asked because many users fix their problem by rebuilding the kernel, them mess up the install.
I learned that the hard way by helping someone in #gentoo fix their sound.

uname -a helps discover that. The
Code:
Sun Jul 19 12:45:54 CEST
is the build time of the running kernel. The #1 says that its the first build of that kernel.
Both help spot kernel install problems.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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
Page 1 of 1

 
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