LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Graphic Issue probably correlate with xorg (https://www.linuxquestions.org/questions/slackware-installation-40/graphic-issue-probably-correlate-with-xorg-4175673039/)

Derrant 04-11-2020 04:09 PM

Graphic Issue probably correlate with xorg
 
Hi, I have installed slackware, the installation went well, however, when I try to generate an automatic xorg.conf configuration, I get

Code:

(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/x11/xorg.conf.d"
Number of created screens does not match number of detected devices.
Configuration failed.
(EE) Server terminated with error (2). Closing log file.

with the generated file xorg.conf.new

When I try to start x with startx or xinit, I see the chosen desktop, but with huge letters on menu so much that only a little part is showed. There is no blackscreen, the cursor is correctly displayed... Thanks in advance

teckk 04-11-2020 06:00 PM

Your not starting X as root are you? Don't. Run X as user. You did make a limited user?
See:
man useradd
also the slack docs.

You also have not told a thing about your video hardware.
What is the output of
Code:

lspci -k
What does xrandr report?
See:
man xrandr

Does Slackware need a xorg.conf to work?

Derrant 04-12-2020 05:07 AM

Thanks for answer, so, I just created an normal user, and starting X server with it generate same result than root user.
lspci -k generates this

Code:

rev f1)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #10 (rev f1)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1f.0  ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H HD Audio
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus : Intel Corporation Sunrise Point-H SMBus (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H SMBus
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabyte Ethernet Controller (rev 0c)
        Subsystem: Gigabyte Technology Co., Ltd Motherboard
        Kernel driver in use: r8169
        Kernel modules: r8169

I have an intel Celeron g3930 with embedded gpu HD Graphics 610

teckk 04-12-2020 03:14 PM

Did you leave something off? That does not show what kernel module you have loaded for that graphics hardware.

Kernel modesetting may work best with that intel hardware, if it is a recent kernel. lsmod will show you what's loaded.

What does xrandr show you? See: man xrandr
Also
Code:

xdpyinfo | grep -B 2 resolution
See what kernel module you have loaded, if it is the right one,
resolution and dpi that you have. Go from there.

Maybe a Slacker can tell you more.

Have you read the docs?
https://docs.slackware.com/
https://docs.slackware.com/slackware:beginners_guide

BrunoLafleur 04-27-2020 04:05 PM

Hello,

Which version of Slackware ? With recent one there is no need of xorg.conf
I have only keyboard defined in :
> ls /etc/X11/xorg.conf.d
90-keyboard-layout-evdev.conf

> cat 90-keyboard-layout-evdev.conf
Section "InputClass"
Identifier "keyboard-all"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "fr"
#Option "XkbVariant" ""
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

# READ THIS FOR CUSTOM KEYBOARD INFORMATION
#
# If you want to add a custom model/layout/variant to X, you will need to COPY
# this file to /etc/X11/xorg.conf.d/ and edit that copy. After editing it to
# suit, you will need to restart X.
#
# Here's an example of the lines from above:
#
# Section "InputClass"
# Identifier "keyboard-all"
# MatchIsKeyboard "on"
# MatchDevicePath "/dev/input/event*"
# Driver "evdev"
# Option "XkbLayout" "us"
# Option "XkbVariant" "intl"
# Option "XkbOptions" "compose:rwin,terminate:ctrl_alt_bksp"
# EndSection
#
# Many desktop environments, including KDE and Xfce, have their own methods to
# configure keyboard layouts and such if you'd like to use them.
#
# If you prefer to use the "old" way of configuring keyboards (without input
# device hotplugging), then you'll need to add the following lines to the
# ServerFlags section of /etc/X11/xorg.conf:
# Option "AllowEmptyInput" "false"
# Option "AutoAddDevices" "false"
# Option "AutoEnableDevices" "false"
# Alternatively, you can break this up into separate "stubs" in the xorg.conf.d/
# directory, but that's your call. Assuming you elect to keep a monolithic
# /etc/X11/xorg.conf file, you can now edit the Keyboard section as usual.

Which is a modified copy which french layout of the master in /usr/share/X11/xorg.conf.d


All times are GMT -5. The time now is 12:16 AM.