You are not logged in.

#1 2016-09-24 10:13:32

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Problems with graphic driver

Good morning!

I have problems with my graphic driver, i have installed free drivers intel and nvidia, but when i log in (and in Slim), i see how monitor has a little "vibration", "flicker", when i see videos too.

I have install nvidia and nvidia-utils but i dont know how to configure the files correctly, i maked the file /etc/X11/xorg.conf.d/20-nvidia.conf with the minimun configuration and when i restart, boot just until the console login, not startx.

I need help with this.

Thanks.

Offline

#2 2016-09-24 11:18:57

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Problems with graphic driver

zaphiel, welcome to Arch Linux forums.

We'll need lots of info from you to be able to help , please post lspci -k , full dmesg , the content of 20-nvidia.conf , xorg log.
(dmesg & xorg log will be big, use a pastebin client for them)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-09-24 11:34:24

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Problems with graphic driver

Mod note: not an installation issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2016-09-24 11:39:18

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

Hello.

Here let the info.

 lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1108
	Kernel driver in use: i915
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1108
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
03:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller (rev 13)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: alx
	Kernel modules: alx
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1107
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci
05:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
	Subsystem: Intel Corporation Dual Band Wireless-AC 3160
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

dmesg is here

20-nvidia.conf ... (the V at the name, is just for rename it was when i cant login startx

cat /etc/X11/xorg.conf.d/20-nvidia.confV 
Section "Device"
	Identifier "Nvidia Card"
	Driver "nvidia"
	VendorName "NVIDIA Corporation"
	Option "NoLogo" "true"
	Option "RenderAccel" "1"
	
#	Option "RegistryDwords" "EnableBrightnessControl=1"

	# Forzar Powermizer a un cierto nivel en todo momento:
	# level 0x1=highest
	# level 0x2=med
	# level 0x3=lowest

	# Ajustes de AC (corriente alterna):
#	Option "RegistryDwords" "PowerMizerLevelAC=0x3"
	# Ajustes de batería:
#	Option	"RegistryDwords" "PowerMizerLevel=0x3"



	#Option "UseEDID" "false"
	#Option "ConnectedMonitor" "DFP"
	# ...
	

EndSection


#Section "Monitor"
#	 Option "DPMS" "1"
#EndSection

Xorg log here

And xorg log now, (without the /etc/X11/xorg.conf.d/20-nvidia.conf, here

Thanks.

Offline

#5 2016-09-24 11:46:25

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 750

Re: Problems with graphic driver

Seems that you have a laptop with Optimus setup. Do check the Wiki on how to properly configure Intel IGP+Nvidia DGP combo.
https://wiki.archlinux.org/index.php/NVIDIA_Optimus

Offline

#6 2016-09-24 12:06:58

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

Xabre wrote:

Seems that you have a laptop with Optimus setup. Do check the Wiki on how to properly configure Intel IGP+Nvidia DGP combo.
https://wiki.archlinux.org/index.php/NVIDIA_Optimus

Optimus is is all laptop with intel + nvidia graphic card?

Bumblebee and Optimus are the same?

Thanks.

Offline

#7 2016-09-24 12:10:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Problems with graphic driver

Reading the first couple sentences of the linked wiki page would answer that question.  Please make an effort and don't expect to be spoon fed.  I empathize with the frustration of setting up hybrid graphics systems, I've never done it, but it seems a little confusing from the outside - so members here can definitely help, but when they give you some information, at very least skim through it before asking questions that they have just provided the answer for.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2016-09-24 12:14:11

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

You are right, im sorry, im frustrating with this, when i used Debian i had troubles with graphics but i "solved" it without using hybrid system, i have seen that bumblebee offers extra funcionality for optimus.

Im going to read the wiki...

Offline

#9 2016-09-25 10:28:42

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

Hello.

I have installed Bumblebee, cause i cant disable any graphic card on Bios, so i just can use bumblebee, is correct?

Install bumblebee and when i test glxgears works correctly, but appers two errors:

$ glxgears

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 647 requests (446 known processed) with 0 events remaining.
$ optirun glxgears -info

[VGL] ERROR: in readback--
[VGL]    254: Window has been deleted by window manager

I supuse is when i close the window in both cases...

Here full log


And i add to ~/.xinitrc

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

with 'Driver      "modesetting"' on  /etc/X11/xorg.conf.d/20-nvidia.conf

But the problem continue... i dont know what is missing

My problems are View My Video and View My Video

Thanks.

Last edited by zaphiel (2016-09-25 10:42:49)

Offline

#10 2016-09-25 10:50:19

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 750

Re: Problems with graphic driver

You can do it two ways, via PRIME or via Bumblebee. Don't mix the two.

Offline

#11 2016-09-25 10:50:24

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: Problems with graphic driver

zaphiel wrote:

I have installed Bumblebee, cause i cant disable any graphic card on Bios, so i just can use bumblebee, is correct?

So you are following Bumblebee

zaphiel wrote:

And i add to ~/.xinitrc

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

with 'Driver      "modesetting"' on  /etc/X11/xorg.conf.d/20-nvidia.conf

Those configurations are for NVIDIA_Optimus

Offline

#12 2016-09-25 11:29:17

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

Xabre wrote:

You can do it two ways, via PRIME or via Bumblebee. Don't mix the two.

Yes sorry, but PRIME has less features than Bumblebee, so i discard it.

loqs wrote:
zaphiel wrote:

I have installed Bumblebee, cause i cant disable any graphic card on Bios, so i just can use bumblebee, is correct?

So you are following Bumblebee

zaphiel wrote:

And i add to ~/.xinitrc

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

with 'Driver      "modesetting"' on  /etc/X11/xorg.conf.d/20-nvidia.conf

Those configurations are for NVIDIA_Optimus


True... but i dont know what i need to solve this. Bumblebee configuration is for energy, speed and monitors...

When i write on terminal 'nvidia-settings', i get a message says i dont use driver for nvidia card, but i installed it...

Offline

#13 2016-09-25 11:59:50

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: Problems with graphic driver

Why do you think mixing parts of different methods to control hybrid graphics would work?

Offline

#14 2016-09-25 12:13:34

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

I dont know that it would work, but im tried optimus, bumblebee, open-source driver, propietary driver... sorry if i mix concepts when i write here, I took an impressive mind cocoa.

Offline

#15 2016-09-25 12:53:39

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Problems with graphic driver

Prime doesn't need it's own speed , power management , monitor settings . Xrandr allows the cards/drivers to use their native options for that.

Bumblebee bypassess the nvidia driver and needs to take care of those things itself.
-------------------------

Hybrid graphics can be very tricky to setup,especially when using nvidia proprietary driver.

a few tips:

nvidia-settings & nvidia-xconfig  are intended for systems where only nvidia cards are present.
They are useless on intel/nvidia or amd/nvidia systems.

Nvidia Optimus/Prime and Bumblebee do similar things in different ways and can not be mixed.
If you prefer bumblebee remove everything needed for nvidia optimus .

Currently your basic setup is wrong, fix that first.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#16 2016-09-25 13:12:30

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

I'm with it, but i tried before mix and issue continue, in fact, issue begin when i install openbox at first startx, without any driver nouveau/nvidia... so i dont think that install bumblebee or nvidia driver or nouveau driver fix the problem, maybe with xorg.

Offline

#17 2016-09-27 19:53:55

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

I test screen with the installer,  and the flick appears too, with the cfdisk tool i can see it,  so,  maybe is an driver issue?,  or in the installer happens because isn't any driver??

I dont know how to fix it...

Offline

#18 2016-09-28 11:45:06

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Problems with graphic driver

I test screen with the installer,  and the flick appears too, with the cfdisk tool i can see it

That is very useful info.
Afaik install iso and X environment only share a small part of linux graphics stack : the kernel modules.
Also i'm 99% sure it only uses the primary videocard.

Now we know the issue originates on kernel level, we can troubleshoot further.

What are brand and model of your MotherBoard and which model is your intel processor ?

Do you have intel microcode updates configured ?

Is your UEFU/Biosfirmware at  latest version ?

post full dmesg log please.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#19 2016-09-29 08:15:49

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

Hello.

Brand and model of MB and processor are:

    sudo lshw -C processor
  *-cpu                     
       description: CPU
       product: Intel(R) Core(TM) i5-4210H CPU @ 2.90GHz
       vendor: Intel Corp.
       physical id: 3e
       bus info: cpu@0
       version: Intel(R) Core(TM) i5-4210H CPU @ 2.90GHz
       slot: SOCKET 0
       size: 3128MHz
       capacity: 3800MHz
       width: 64 bits
       clock: 100MHz
       capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt cpufreq
       configuration: cores=2 enabledcores=2 threads=4

inxi -M
Machine:   System: Micro-Star (portable) product: GE60 2PC v: REV:1.0
           Mobo: Micro-Star model: MS-16GF v: REV:0.B BIOS: American Megatrends v: E16GFIMS.62D date: 04/13/2015

The intel microcode isnt configured still... i forget it...soon be installing.

My Bios is last updated.

Here is my dmesg log.

Mmm, i have installed linux-lts and... i think the issue is or fix, or at least I not appreciate it now, in another case, i will be install microcode.

Now, i uninstall all drivers, i have just xf86-video-intel and mesa at the moment.

Thanks!.

EDIT: when i do scrolling on web, the issue is there...

Last edited by zaphiel (2016-09-29 13:36:13)

Offline

#20 2016-10-09 22:51:50

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Problems with graphic driver

Nothing in dmesg stands out.

Make sure you configure microcode updates, maybe it helps.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#21 2016-10-12 15:55:05

zaphiel
Member
Registered: 2016-09-23
Posts: 13

Re: Problems with graphic driver

@Lone_Wolf

Hello.

I had updated microcode yet, i created /etc/X11/xorg.conf.d/20-intel.conf file, cause im installed only intel graphic card driver with the next configuration:

Section "Device"
	Identifier  "Intel Graphics"
	Driver      "intel"
	Option      "TearFree"    "true"
EndSection

And i think... works lightly better...

Thanks a lot.

Last edited by zaphiel (2016-10-15 15:58:02)

Offline

Board footer

Powered by FluxBB