View previous topic :: View next topic |
Author |
Message |
assemblerhead n00b
Joined: 23 Jan 2016 Posts: 36 Location: TX,US
|
Posted: Mon Oct 21, 2024 6:19 pm Post subject: For those who use 'amdgpu' && xorg will not start. |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1935
|
Posted: Mon Oct 21, 2024 6:35 pm Post subject: |
|
|
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 |
|
|
assemblerhead n00b
Joined: 23 Jan 2016 Posts: 36 Location: TX,US
|
Posted: Tue Oct 22, 2024 2:31 pm Post subject: |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1935
|
Posted: Tue Oct 22, 2024 2:44 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|