Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
For those who use 'amdgpu' && xorg will not start.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
assemblerhead
n00b
n00b


Joined: 23 Jan 2016
Posts: 36
Location: TX,US

PostPosted: Mon Oct 21, 2024 6:19 pm    Post subject: For those who use 'amdgpu' && xorg will not start. Reply with quote

The amdgpu wiki states that the vesa / fbdev xorg video drivers are an alternative that would allow you to start a desktop and do web searches.

The problems / fixes :

#1 : xf86-video-fbdev only works on uefi systems. The kernel needs to have the 'legacy /dev/fbdev' built in. No vesafb, only efifb. You have to download && build && install the xf86-input-mouse && xf86-input-keyboard drivers. xf86-video-fbdev is hard-coded to work only with them. It will NOT use libinput. Use the 1.9.0 version of the keyboard driver. ( 1.9.5 will NOT compile. )

#2 : xf86-video-vesa only works on BIOS based systems. The kernel needs to have the 'legacy /dev/fbdev' built in. No efifb, only vesafb. You have to download && build && install the xf86-input-mouse && xf86-input-keyboard drivers. xf86-video-vesa is hard-coded to work only with them. It will NOT use libinput. Use the 1.9.0 version of the keyboard driver. ( 1.9.5 will NOT compile. )

Your desktop needs to be able to work with NO Acceleration, NO Dri, and NO OpenGL.

If this doesn't work, go old-school and use "www-client/links" USE="-X -avif -brotli -jpeg -tiff -webp freetype". You get a browser without xorg.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1927

PostPosted: Mon Oct 21, 2024 6:35 pm    Post subject: Reply with quote

assemblerhead wrote:
You have to download && build && install the xf86-input-mouse && xf86-input-keyboard drivers. xf86-video-fbdev is hard-coded to work only with them. It will NOT use libinput. Use the 1.9.0 version of the keyboard driver. ( 1.9.5 will NOT compile. )

There is no evidence or truth to this. The drivers are completely separate and do not interact.
Back to top
View user's profile Send private message
assemblerhead
n00b
n00b


Joined: 23 Jan 2016
Posts: 36
Location: TX,US

PostPosted: Tue Oct 22, 2024 2:31 pm    Post subject: Reply with quote

I looked at the "Xorg.0.log" to find out why the keyboard and mouse wouldn't work, and why Xorg was aborting.

Tried using an "InputClass" & "InputDevice" snippet in /etc/X11/xorg.conf.d/ with libinput.
No matter how I tried to get Xorg to use libinput, it refused. ( Only with the vesa & fbdev drivers.)
It consistently searched for the 'kbd' & 'mouse' driver.
When it didn't find them, Xorg aborted.
And, yes, INPUT_DEVICES="libinput" was set in make.conf

I finally got Xorg to load / run, and a desktop after I compiled / installed the xf86-input-mouse & xf86-input-keyboard drivers.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1927

PostPosted: Tue Oct 22, 2024 2:44 pm    Post subject: Reply with quote

assemblerhead wrote:
I looked at the "Xorg.0.log" to find out why the keyboard and mouse wouldn't work, and why Xorg was aborting.

Tried using an "InputClass" & "InputDevice" snippet in /etc/X11/xorg.conf.d/ with libinput.
No matter how I tried to get Xorg to use libinput, it refused. ( Only with the vesa & fbdev drivers.)
It consistently searched for the 'kbd' & 'mouse' driver.
When it didn't find them, Xorg aborted.
And, yes, INPUT_DEVICES="libinput" was set in make.conf

I finally got Xorg to load / run, and a desktop after I compiled / installed the xf86-input-mouse & xf86-input-keyboard drivers.

This is likely a different problem where udev and or kernel issues exist. Need to show evidence as there is no "hard coding" in the drivers as you claim.

In addition, UEFI systems should not use fbdev driver and instead rely on modesetting (part of xorg-server).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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