Laptop HP - Karta Intel i karta AMD HD7500M

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
bmannt
Posty: 3
Rejestracja: 06 grudnia 2017, 15:04

Laptop HP - Karta Intel i karta AMD HD7500M

Post autor: bmannt »

Witam wszystkich

Szukam ,szukam i nie mogę znalezc stad moje pytanie. Mam laptopa który ma zbita matryce. Laptopa uruchomilem najpierw na pozyczonej matrycy i zainstalowalem sobie nowego Debiana.Odpialem ja i podpialem sobie monitor HP w2408h. Matryce musialem zwrocic.

Niestety nie moge uzyskac nominalnej rozdzielczosci tego monitora jaka jest 1920x1080. Lapek ma dwie karty - Intela 4000 i ATI 7500M. Czego bym nie robil - odpalaja mi Xy w 1024x768 i moge jedynie sobie zmniejszyc do 800x600. Chcialbym moc wykorzystac choc jedna karte w pelni i uzyskac pelna rozdzielczosc monitora.

Logi Xow

https://pastebin.com/b9kBkJHH


XORG.CONF

Kod: Zaznacz cały

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "CustomEDID"         	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "HWRotation"         	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "ColorTiling2D"      	# [<bool>]
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "AccelMethod"        	# <str>
        #Option     "ShadowPrimary"      	# [<bool>]
        #Option     "EXAVSync"           	# [<bool>]
        #Option     "EXAPixmaps"         	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
        #Option     "DRI3"               	# [<bool>]
        #Option     "DRI"                	# <i>
        #Option     "TearFree"           	# [<bool>]
	Identifier  "Card1"
	Driver      "ati"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	Modes	"1920x1080"
	EndSubSection
EndSection


LSPCI

Kod: Zaznacz cały

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff)
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader (rev 01)
07:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
08:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Laptop HP - Karta Intel i karta AMD HD7500M

Post autor: dedito »

Dla testu tego xorg.conf tymczasowo przenieś gdzieś indziej.
Awatar użytkownika
kolofaza
Beginner
Posty: 140
Rejestracja: 31 sierpnia 2013, 20:59
Lokalizacja: Polska

Re: Laptop HP - Karta Intel i karta AMD HD7500M

Post autor: kolofaza »

Zainstalowałeś sterowniki wg:
https://wiki.debian.org/AtiHowTo
Tam jest sekcja Hybrid Graphics.
Domyślnie otwarty sterownik ATI nie potrzebuje pliku xorg.conf.
bmannt
Posty: 3
Rejestracja: 06 grudnia 2017, 15:04

Re: Laptop HP - Karta Intel i karta AMD HD7500M

Post autor: bmannt »

dedito pisze: 06 grudnia 2017, 22:19 Dla testu tego xorg.conf tymczasowo przenieś gdzieś indziej.
Przenioslem - dokladnie ten sam efekt. Startuje wszystko w 1024x768. Zaraz sprawdze porady dotyczace hybrydowej grafiki z posta kolegi ponizej.
bmannt
Posty: 3
Rejestracja: 06 grudnia 2017, 15:04

Re: Laptop HP - Karta Intel i karta AMD HD7500M

Post autor: bmannt »

Z tego co wynika z tej strony co kolega podał:

https://wiki.debian.org/AtiHowTo

xorg.conf nie jest potrzebny bo Xy powinny same wykryc i skonfigurowac sprzet.

Kod: Zaznacz cały

apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati
Zrobione - wszystkie 3 pakiety sa. Restart i nic.

Jade dalej

Kod: Zaznacz cały

xrandr --listproviders
Otrzymuje:

Kod: Zaznacz cały

Providers: number : 2
Provider 0: id: 0x7c cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x55 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 0 name:TURKS @ pci:0000:01:00.0
A potem wg instrukcji:

Kod: Zaznacz cały

xrandr --setprovideroffloadsink radeon Intel
Wyskakuje mi ze nie ma takich nazw jak radeon wiec zmieniam nazwy na 1 i 0 czyli numery providerow. Polecenie nie zwraca zadnych bledow a wiec przechodze dalej

Kod: Zaznacz cały

 DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
i otrzymuje:

Kod: Zaznacz cały

OpenGL renderer string: Gallium 0.4 on AMD TURKS (DRM 2.49.0 / 4.9.0-4-amd64, LLVM 3.9.1)
Restart i znowy 1024x768 :) xorg.conf przeniesiony tymczasowo w inne miejsce z /etc/X11. Ki diabeł???
Awatar użytkownika
kolofaza
Beginner
Posty: 140
Rejestracja: 31 sierpnia 2013, 20:59
Lokalizacja: Polska

Re: Laptop HP - Karta Intel i karta AMD HD7500M

Post autor: kolofaza »

A sprawdź jeszcze czy nie masz xorg.conf w którymś z podkatalogów i lub z inną nazwą np. z ".d" na końcu po jakiejś wcześniejszej instalacji. System weryfikuje istnienie konfiguracji w takich lokalizacjach

Kod: Zaznacz cały


/etc/X11/<cmdline>
/usr/etc/X11/<cmdline>
/etc/X11/$XORGCONFIG
/usr/etc/X11/$XORGCONFIG
/etc/X11/xorg.conf
/etc/xorg.conf
/usr/etc/X11/xorg.conf.<hostname>
/usr/etc/X11/xorg.conf
/usr/lib/X11/xorg.conf.<hostname>
/usr/lib/X11/xorg.conf

i jeżeli właśnie tam przeniosłeś xorg.conf to go dalej system czyta :-).
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Laptop HP - Karta Intel i karta AMD HD7500M

Post autor: dedito »

Takie informacje powinny być w logach.
ODPOWIEDZ